ap-dev 1.0.31 → 1.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dev/ApiPanel/modules/ApiLog.vue +40 -35
- package/dev/OperatePanel/index.vue +21 -10
- package/package.json +1 -1
|
@@ -1,45 +1,50 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
2
|
+
<div>
|
|
3
|
+
<api-tittle1><i class="el-icon-guide"/> 2021-09-16 <span class="log-version">1.0.5</span></api-tittle1>
|
|
4
|
+
<h4>新特性</h4>
|
|
5
|
+
1、开发平台:新增在线开发模块<br>
|
|
6
|
+
<div class="ap-split-line"/>
|
|
7
|
+
|
|
8
|
+
<api-tittle1><i class="el-icon-guide"/> 2021-04-27 <span class="log-version">1.0.4</span></api-tittle1>
|
|
9
|
+
<h4>新特性</h4>
|
|
10
|
+
1、后台Mapper:支持使用xml定义sql<br>
|
|
11
|
+
<div class="ap-split-line"/>
|
|
12
|
+
|
|
13
|
+
<api-tittle1><i class="el-icon-guide"/> 2021-04-23 <span class="log-version">1.0.3</span></api-tittle1>
|
|
14
|
+
<h4>新特性</h4>
|
|
15
|
+
1、表格组件【searchTree】:添加searchTreeDefaultCheckedKeys属性。<br>
|
|
16
|
+
<div class="ap-split-line"/>
|
|
17
|
+
|
|
18
|
+
<api-tittle1><i class="el-icon-guide"/> 2021-04-22 <span class="log-version">1.0.2</span></api-tittle1>
|
|
19
|
+
<h4>优化</h4>
|
|
20
|
+
1、后台update设值为null封装<br>
|
|
21
|
+
<div class="ap-split-line"/>
|
|
22
|
+
|
|
23
|
+
<api-tittle1><i class="el-icon-guide"/> 2021-04-15 <span class="log-version">1.0.1</span></api-tittle1>
|
|
24
|
+
<h4>新特性</h4>
|
|
25
|
+
1、表格组件【searchPicker】:添加searchPickerLoadTime、searchPickerBeforeClick属性。<br>
|
|
26
|
+
2、表格组件【searchTree】:添加searchTreeLoadTime、searchTreeParams、searchTreeBeforeClick属性。<br>
|
|
27
|
+
3、表格组件【searchTable】:添加searchTableLoadTime、searchTableBeforeClick属性。<br>
|
|
28
|
+
<h4>优化</h4>
|
|
29
|
+
1、表格组件【searchPicker】:删除searchPickerDefaultLoad属性。<br>
|
|
30
|
+
<!--<h4>BUG修复</h4>-->
|
|
31
|
+
|
|
32
|
+
</div>
|
|
28
33
|
</template>
|
|
29
34
|
|
|
30
35
|
<script>
|
|
31
|
-
import {
|
|
36
|
+
import {ApiCode, ApiContent, ApiTable, ApiTittle1, ApiTittle2} from './../components'
|
|
32
37
|
|
|
33
38
|
export default {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
39
|
+
name: 'ApiLog',
|
|
40
|
+
components: {
|
|
41
|
+
ApiTable, ApiCode, ApiTittle1, ApiContent, ApiTittle2
|
|
42
|
+
}
|
|
38
43
|
}
|
|
39
44
|
</script>
|
|
40
45
|
|
|
41
46
|
<style scoped>
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
</style>
|
|
47
|
+
.log-version {
|
|
48
|
+
margin-left: 30px;
|
|
49
|
+
}
|
|
50
|
+
</style>
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="flex flex-pack-justify flex-1 ap-dev-operate-panel">
|
|
3
3
|
<div class="flex">
|
|
4
|
-
<div class="ap-dev-tool-item dev-header-logo" @click="currentDesignPanel('api-panel')">
|
|
4
|
+
<div class="ap-dev-tool-item dev-header-logo" @click="currentDesignPanel('api-panel', $event)">
|
|
5
5
|
AP | 开发平台
|
|
6
6
|
</div>
|
|
7
|
-
<div class="ap-dev-tool-item flex flex-center" @click="currentDesignPanel('db-design-panel')">
|
|
7
|
+
<div class="ap-dev-tool-item flex flex-center" @click="currentDesignPanel('db-design-panel', $event)">
|
|
8
8
|
<div class="ap-dev-tool-item-icon1">
|
|
9
9
|
<i class="el-icon-coin"/>
|
|
10
10
|
</div>
|
|
11
11
|
<div class="ap-dev-tool-item-text1">DB设计</div>
|
|
12
12
|
</div>
|
|
13
|
-
<div class="ap-dev-tool-item flex flex-center" @click="currentDesignPanel('custom-panel')">
|
|
13
|
+
<div class="ap-dev-tool-item flex flex-center" @click="currentDesignPanel('custom-panel', $event)">
|
|
14
14
|
<div class="ap-dev-tool-item-icon1">
|
|
15
15
|
<i class="el-icon-pic-part"/>
|
|
16
16
|
</div>
|
|
17
17
|
<div class="ap-dev-tool-item-text1">自定义</div>
|
|
18
18
|
</div>
|
|
19
|
-
<div class="ap-dev-tool-item flex flex-center" @click="currentDesignPanel('components-panel')">
|
|
19
|
+
<div class="ap-dev-tool-item flex flex-center" @click="currentDesignPanel('components-panel', $event)">
|
|
20
20
|
<div class="ap-dev-tool-item-icon1">
|
|
21
21
|
<i class="el-icon-menu"/>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="ap-dev-tool-item-text1">组件</div>
|
|
24
24
|
</div>
|
|
25
|
-
<div class="ap-dev-tool-item flex flex-center" @click="currentDesignPanel('template-panel')">
|
|
25
|
+
<div class="ap-dev-tool-item flex flex-center" @click="currentDesignPanel('template-panel', $event)">
|
|
26
26
|
<div class="ap-dev-tool-item-icon1">
|
|
27
27
|
<i class="el-icon-model"/>
|
|
28
28
|
</div>
|
|
29
29
|
<div class="ap-dev-tool-item-text1">模版</div>
|
|
30
30
|
</div>
|
|
31
|
-
<div class="ap-dev-tool-item flex flex-center" @click="currentDesignPanel('background-panel')">
|
|
31
|
+
<div class="ap-dev-tool-item flex flex-center" @click="currentDesignPanel('background-panel', $event)">
|
|
32
32
|
<div class="ap-dev-tool-item-icon1">
|
|
33
33
|
<i class="el-icon-receiving"/>
|
|
34
34
|
</div>
|
|
35
35
|
<div class="ap-dev-tool-item-text1">后台</div>
|
|
36
36
|
</div>
|
|
37
|
-
<div class="ap-dev-tool-item flex flex-center" @click="currentDesignPanel('online-code-panel')">
|
|
37
|
+
<div class="ap-dev-tool-item flex flex-center" @click="currentDesignPanel('online-code-panel', $event)">
|
|
38
38
|
<div class="ap-dev-tool-item-icon1">
|
|
39
39
|
<i class="el-icon-edit" />
|
|
40
40
|
</div>
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
</div>
|
|
62
62
|
</div>
|
|
63
63
|
<div class="flex">
|
|
64
|
-
<div class="ap-dev-tool-item flex flex-center" @click="currentDesignPanel('config-panel')">
|
|
64
|
+
<div class="ap-dev-tool-item flex flex-center" @click="currentDesignPanel('config-panel', $event)">
|
|
65
65
|
<div class="ap-dev-tool-item-icon">
|
|
66
66
|
<i class="el-icon-setting"/>
|
|
67
67
|
</div>
|
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
|
|
74
74
|
<script>
|
|
75
75
|
import ApDevBase from './../CustomPanel/items/base/ApDevBase'
|
|
76
|
+
import {addClass, removeClass} from 'ap-util/util/StyleUtil'
|
|
76
77
|
|
|
77
78
|
export default {
|
|
78
79
|
name: 'OperatePanel',
|
|
@@ -81,8 +82,14 @@ export default {
|
|
|
81
82
|
return {}
|
|
82
83
|
},
|
|
83
84
|
methods: {
|
|
84
|
-
currentDesignPanel(type) {
|
|
85
|
-
|
|
85
|
+
currentDesignPanel(type, event) {
|
|
86
|
+
console.log(event);
|
|
87
|
+
let items = document.getElementsByClassName("ap-dev-tool-item-active");
|
|
88
|
+
for (let i = 0; i < items.length; i++) {
|
|
89
|
+
removeClass(items[i],"ap-dev-tool-item-active")
|
|
90
|
+
}
|
|
91
|
+
addClass( event.currentTarget,"ap-dev-tool-item-active");
|
|
92
|
+
this.$store.commit('updateCurrentDesignPanel', type);
|
|
86
93
|
}
|
|
87
94
|
}
|
|
88
95
|
}
|
|
@@ -114,6 +121,10 @@ export default {
|
|
|
114
121
|
cursor: pointer
|
|
115
122
|
}
|
|
116
123
|
|
|
124
|
+
.ap-dev-tool-item-active {
|
|
125
|
+
background-color: #6699ea;
|
|
126
|
+
}
|
|
127
|
+
|
|
117
128
|
.ap-dev-tool-item-text {
|
|
118
129
|
font-size: 10px;
|
|
119
130
|
margin-left: 3px;
|