n20-common-lib 1.3.1 → 1.3.4
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/g6.js +5 -5
- package/package.json +1 -1
- package/src/components/ECharts/mixins/resize.js +1 -1
- package/src/components/FileImport/index.vue +1 -1
- package/src/components/NstcG6Components/Form/DatepickerCustom/index.vue +32 -32
- package/src/components/NstcG6Components/NstcBranchLazyLoad/NstcBranchLazyLoad.vue +37 -33
- package/src/components/NstcG6Components/NstcCharts/mixins/resize.js +1 -1
- package/src/components/NstcG6Components/NstcDropdownTree/NstcDropdownTree.vue +141 -137
- package/src/components/NstcG6Components/NstcExcelExport/NstcExcelExport.vue +47 -47
- package/src/components/NstcG6Components/NstcExcelImport/NstcExcelImport.vue +1 -1
- package/src/components/NstcG6Components/NstcExcelImportN/NstcExcelImportN.vue +186 -188
- package/src/components/NstcG6Components/NstcFileUpload/NstcFileUpload.vue +429 -451
- package/src/components/NstcG6Components/NstcForm/BusinessSpecific/InputMultiple.vue +66 -68
- package/src/components/NstcG6Components/NstcForm/CascaderCustom/index.vue +7 -7
- package/src/components/NstcG6Components/NstcForm/DatepickerCustom/index.vue +32 -32
- package/src/components/NstcG6Components/NstcForm/InputAndDialog/NstcInputAndDialog.vue +1 -1
- package/src/components/NstcG6Components/NstcForm/InputCustom/index.vue +1 -1
- package/src/components/NstcG6Components/NstcForm/SelectAccount/NstcSelectAccount.vue +1 -1
- package/src/components/NstcG6Components/NstcForm/SelectAndDialog/NstcSelectAndDialog.vue +1 -1
- package/src/components/NstcG6Components/NstcForm/SelectCustom/index.vue +1 -1
- package/src/components/NstcG6Components/NstcForm/SelectindialogCustom/index.vue +1 -1
- package/src/components/NstcG6Components/NstcForm/UploadCustom/index.vue +1 -1
- package/src/components/NstcG6Components/NstcSelectTree/NstcSelectTree.vue +172 -172
- package/src/components/NstcG6Components/NstcSelectTreeList/NstcSelectTreeList.vue +1 -1
- package/src/components/NstcG6Components/NstcSvgIcon/NstcSvgIcon.vue +7 -12
- package/src/components/NstcG6Components/NstcTable/NstcTable.vue +145 -145
- package/src/components/NstcG6Components/NstcTableSet/NstcTableSet.vue +4 -4
- package/src/components/NstcG6Components/NstcWorkBench/NstcWorkBench.vue +45 -36
- package/src/components/NstcG6Components/Search/NstcSearch.vue +6 -6
- package/src/components/NstcG6Components/approvelTwo/main.vue +1 -1
- package/src/components/NstcG6Components/approvelTwo/progress.vue +1 -1
- package/src/components/Search/index.vue +8 -8
- package/src/index.js +3 -3
- package/style/css/normalize.scss +726 -0
- package/style/pageDemo/demo-1.vue +131 -0
- package/style/pageDemo/demo-2.vue +35 -0
- package/style/pageDemo/demo-3.vue +22 -0
- package/style/pageDemo/seeCode.js +20 -0
- package/style/server-config.jsonc +723 -0
|
@@ -14,9 +14,8 @@
|
|
|
14
14
|
<el-table-column prop="date" label="状态">
|
|
15
15
|
<template> 待审核 </template>
|
|
16
16
|
</el-table-column>
|
|
17
|
-
<el-table-column prop="typeName" label="交易类型"
|
|
18
|
-
<el-table-column prop="applyMember" label="单位名称"
|
|
19
|
-
</el-table-column>
|
|
17
|
+
<el-table-column prop="typeName" label="交易类型" />
|
|
18
|
+
<el-table-column prop="applyMember" label="单位名称" />
|
|
20
19
|
<el-table-column prop="importantInfo" label="关键信息">
|
|
21
20
|
<template slot-scope="scope">
|
|
22
21
|
<el-popover trigger="hover" placement="top">
|
|
@@ -58,26 +57,25 @@
|
|
|
58
57
|
<!-- 1.已保存 2.已撤回 3.驳回至发起人 4.驳回至上一步 5.拒绝 6.进行中 7.已结束 8.已作废 -->
|
|
59
58
|
{{
|
|
60
59
|
scope.row.state == 1
|
|
61
|
-
?
|
|
60
|
+
? '已保存'
|
|
62
61
|
: scope.row.state == 2
|
|
63
|
-
?
|
|
62
|
+
? '已撤回'
|
|
64
63
|
: scope.row.state == 3
|
|
65
|
-
?
|
|
64
|
+
? '驳回至发起人'
|
|
66
65
|
: scope.row.state == 4
|
|
67
|
-
?
|
|
66
|
+
? '驳回至上一步'
|
|
68
67
|
: scope.row.state == 5
|
|
69
|
-
?
|
|
68
|
+
? '拒绝'
|
|
70
69
|
: scope.row.state == 6
|
|
71
|
-
?
|
|
70
|
+
? '进行中'
|
|
72
71
|
: scope.row.state == 7
|
|
73
|
-
?
|
|
74
|
-
:
|
|
72
|
+
? '已结束'
|
|
73
|
+
: '已作废'
|
|
75
74
|
}}
|
|
76
75
|
</template>
|
|
77
76
|
</el-table-column>
|
|
78
|
-
<el-table-column prop="typeName" label="交易类型"
|
|
79
|
-
<el-table-column prop="applyMember" label="单位名称"
|
|
80
|
-
</el-table-column>
|
|
77
|
+
<el-table-column prop="typeName" label="交易类型" />
|
|
78
|
+
<el-table-column prop="applyMember" label="单位名称" />
|
|
81
79
|
<el-table-column prop="importantInfo" label="关键信息">
|
|
82
80
|
<template slot-scope="scope">
|
|
83
81
|
<el-popover trigger="hover" placement="top">
|
|
@@ -107,39 +105,50 @@
|
|
|
107
105
|
</div>
|
|
108
106
|
</template>
|
|
109
107
|
<script>
|
|
110
|
-
|
|
111
|
-
import axios from '@/utils/axios'
|
|
108
|
+
import axios from '../../../utils/axios'
|
|
112
109
|
export default {
|
|
113
110
|
name: 'NstcWorkBench',
|
|
114
111
|
data() {
|
|
115
112
|
return {
|
|
116
|
-
taskSun:
|
|
113
|
+
taskSun: '',
|
|
117
114
|
taskList: {},
|
|
118
|
-
pendingSun:
|
|
119
|
-
pendingList: {}
|
|
120
|
-
}
|
|
115
|
+
pendingSun: '',
|
|
116
|
+
pendingList: {}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
mounted() {
|
|
120
|
+
this.intData()
|
|
121
121
|
},
|
|
122
122
|
methods: {
|
|
123
123
|
async intData() {
|
|
124
124
|
try {
|
|
125
125
|
//待审核
|
|
126
|
-
let taskSun = await axios.post(`/bems/activiti/admin/todo/addQty`)
|
|
127
|
-
this.taskSun = taskSun.data
|
|
128
|
-
let { data } = await axios.post(`/bems/activiti/admin/todo/todo`,{
|
|
129
|
-
|
|
130
|
-
|
|
126
|
+
let taskSun = await axios.post(`/bems/activiti/admin/todo/addQty`)
|
|
127
|
+
this.taskSun = taskSun.data
|
|
128
|
+
let { data } = await axios.post(`/bems/activiti/admin/todo/todo`, {
|
|
129
|
+
pageNo: 1,
|
|
130
|
+
pageSize: 3
|
|
131
|
+
})
|
|
132
|
+
this.taskList = data
|
|
133
|
+
} catch (error) {
|
|
134
|
+
console.log(error)
|
|
135
|
+
}
|
|
131
136
|
try {
|
|
132
|
-
let pendingSun = await axios.post(
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
this.
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
137
|
+
let pendingSun = await axios.post(
|
|
138
|
+
`/bems/prod_1.0/activiti/temporaryStorage/addQty`
|
|
139
|
+
)
|
|
140
|
+
this.pendingSun = pendingSun.data
|
|
141
|
+
let { data } = await axios.post(
|
|
142
|
+
`/bems/prod_1.0/activiti/temporaryStorage/todoTask`,
|
|
143
|
+
{ pageNo: 1, pageSize: 3 }
|
|
144
|
+
)
|
|
145
|
+
this.pendingList = data
|
|
146
|
+
} catch (error) {
|
|
147
|
+
console.log(error)
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
143
152
|
</script>
|
|
144
153
|
<style lang="scss" scoped>
|
|
145
154
|
.wraper {
|
|
@@ -83,15 +83,15 @@
|
|
|
83
83
|
</template>
|
|
84
84
|
|
|
85
85
|
<script>
|
|
86
|
-
import filterImg from '
|
|
87
|
-
import filterImgActive from '
|
|
88
|
-
import filterCloseImg from '
|
|
89
|
-
import searchImg from '
|
|
90
|
-
import searchImgActive from '
|
|
86
|
+
import filterImg from '../../../assets/svg/filter.svg'
|
|
87
|
+
import filterImgActive from '../../../assets/svg/filterActive.svg'
|
|
88
|
+
import filterCloseImg from '../../../assets/svg/filterClose@2x.png'
|
|
89
|
+
import searchImg from '../../../assets/svg/hourglass.svg'
|
|
90
|
+
import searchImgActive from '../../../assets/svg/searchActive.svg'
|
|
91
91
|
import NstcTableSet from '../NstcTableSet/NstcTableSet'
|
|
92
92
|
import NstcForm from '../NstcForm/Component'
|
|
93
93
|
import SvgIcon from '../NstcSvgIcon/NstcSvgIcon'
|
|
94
|
-
import axios from '
|
|
94
|
+
import axios from '../../../utils/axios'
|
|
95
95
|
|
|
96
96
|
export default {
|
|
97
97
|
name: 'NstcSearch',
|
|
@@ -78,23 +78,23 @@
|
|
|
78
78
|
</template>
|
|
79
79
|
|
|
80
80
|
<script>
|
|
81
|
-
import filterImg from '@/assets/svg/filter.svg'
|
|
82
|
-
import filterImgActive from '@/assets/svg/filterActive.svg'
|
|
83
|
-
import filterCloseImg from '@/assets/svg/filterClose@2x.png'
|
|
84
|
-
import searchImg from '@/assets/svg/hourglass.svg'
|
|
85
|
-
import searchImgActive from '@/assets/svg/searchActive.svg'
|
|
81
|
+
// import filterImg from '@/assets/svg/filter.svg'
|
|
82
|
+
// import filterImgActive from '@/assets/svg/filterActive.svg'
|
|
83
|
+
// import filterCloseImg from '@/assets/svg/filterClose@2x.png'
|
|
84
|
+
// import searchImg from '@/assets/svg/hourglass.svg'
|
|
85
|
+
// import searchImgActive from '@/assets/svg/searchActive.svg'
|
|
86
86
|
import NstcTableSet from '../NstcG6Components/NstcTableSet/NstcTableSet'
|
|
87
87
|
import NstcForm from '../NstcG6Components/NstcForm/Component'
|
|
88
88
|
import SvgIcon from '../NstcG6Components/NstcSvgIcon/NstcSvgIcon'
|
|
89
|
-
import axios from '
|
|
89
|
+
import axios from '../../utils/axios'
|
|
90
90
|
|
|
91
91
|
export default {
|
|
92
92
|
name: 'Search',
|
|
93
93
|
|
|
94
94
|
components: {
|
|
95
95
|
NstcTableSet,
|
|
96
|
-
NstcForm
|
|
97
|
-
SvgIcon
|
|
96
|
+
NstcForm
|
|
97
|
+
// SvgIcon
|
|
98
98
|
},
|
|
99
99
|
|
|
100
100
|
props: {
|
package/src/index.js
CHANGED
|
@@ -53,7 +53,7 @@ import PageHeader from './components/PageHeader/index'
|
|
|
53
53
|
import PlainText from './components/PlainText/index'
|
|
54
54
|
import PlainTextItem from './components/PlainText/PlainTextItem'
|
|
55
55
|
import ECharts from './components/ECharts/index'
|
|
56
|
-
import Search from './components/Search/index.vue'
|
|
56
|
+
// import Search from './components/Search/index.vue'
|
|
57
57
|
import Stamp from './components/Stamp/index.vue'
|
|
58
58
|
/* old */
|
|
59
59
|
import TableO from './components/Table/indexO.vue'
|
|
@@ -143,7 +143,7 @@ const components = [
|
|
|
143
143
|
PlainText,
|
|
144
144
|
PlainTextItem,
|
|
145
145
|
ECharts,
|
|
146
|
-
Search,
|
|
146
|
+
// Search,
|
|
147
147
|
approvalImg,
|
|
148
148
|
Stamp,
|
|
149
149
|
/* old */
|
|
@@ -253,7 +253,7 @@ export {
|
|
|
253
253
|
PlainText,
|
|
254
254
|
PlainTextItem,
|
|
255
255
|
ECharts,
|
|
256
|
-
Search,
|
|
256
|
+
// Search,
|
|
257
257
|
approvalImg,
|
|
258
258
|
Stamp
|
|
259
259
|
}
|