apply-clients 3.4.1 → 3.4.2-FuGu-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.
Files changed (83) hide show
  1. package/android.html +23 -23
  2. package/build/css-loaders.js +34 -0
  3. package/build/dev-android.js +101 -0
  4. package/build/dev-client.js +8 -0
  5. package/build/dev-server-app.js +76 -0
  6. package/build/dev-server.js +119 -0
  7. package/build/example-server.js +80 -0
  8. package/build/release.sh +28 -0
  9. package/build/utils.js +80 -0
  10. package/build/webpack.base.conf.js +85 -0
  11. package/build/webpack.baseandroid.conf.js +84 -0
  12. package/build/webpack.dev.conf.js +51 -0
  13. package/build/webpack.devandroid.conf.js +34 -0
  14. package/build/webpack.example.conf.js +49 -0
  15. package/build/webpack.prod.conf.js +60 -0
  16. package/build/webpack.prodandroid.conf.js +60 -0
  17. package/build/webpack.test.conf.js +31 -0
  18. package/dingding.html +23 -0
  19. package/index.html +33 -33
  20. package/package.json +2 -1
  21. package/src/AndroidApp.vue +35 -35
  22. package/src/DingDingApp.vue +51 -0
  23. package/src/android.js +21 -21
  24. package/src/apply.js +2 -8
  25. package/src/applyAndroid.js +2 -8
  26. package/src/applyDingDing.js +12 -0
  27. package/src/components/android/AppOnetomany.vue +301 -301
  28. package/src/components/android/AppServiceView.vue +566 -566
  29. package/src/components/android/AppSign.vue +142 -142
  30. package/src/components/android/AppTakePic.vue +143 -143
  31. package/src/components/android/Process/AppExplorationUser.vue +320 -320
  32. package/src/components/android/Process/AppServiceControl.vue +757 -757
  33. package/src/components/android/Process/Processes/AppInstallationDetails.vue +456 -456
  34. package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
  35. package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -121
  36. package/src/components/android/TaskGraph.vue +125 -125
  37. package/src/components/build/Install/ExplorationUser.vue +304 -0
  38. package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -0
  39. package/src/components/product/{Process/Processes/Print → ApplyCharge}/printCharge.vue +2 -2
  40. package/src/components/product/Function/InstallFunction.vue +131 -125
  41. package/src/components/product/Function/InstallInfoSelect.vue +300 -292
  42. package/src/components/product/Function/Service/FunctionServiceControl.vue +420 -222
  43. package/src/components/product/Onetomany.vue +377 -377
  44. package/src/components/product/Process/ExplorationSelect.vue +11 -20
  45. package/src/components/product/Process/ExplorationUser.vue +138 -138
  46. package/src/components/product/Process/Processes/InstallationDetails.vue +592 -592
  47. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -207
  48. package/src/components/product/Process/Processes/chargeManagement.vue +23 -28
  49. package/src/components/product/Process/Service/ServiceControl.vue +50 -63
  50. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  51. package/src/components/product/ServiceView.vue +631 -631
  52. package/src/components/product/Stop/StopApply.vue +105 -103
  53. package/src/components/product/Stop/StopApplyList.vue +269 -269
  54. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +186 -186
  55. package/src/components/product/Supervisory/SupervisoryControl.vue +100 -100
  56. package/src/components/product/Supervisory/SupervisoryList.vue +233 -233
  57. package/src/components/product/Supervisory/SupervisoryhCart.vue +14 -11
  58. package/src/components/product/VueUtils/ApplyUpload.vue +3 -3
  59. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  60. package/src/dingding.js +20 -0
  61. package/src/expandcssAndroid.less +1034 -1034
  62. package/src/main.js +23 -23
  63. package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
  64. package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
  65. package/src/components/product/Function/functions/StopInstall.vue +0 -106
  66. package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
  67. package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
  68. package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
  69. package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
  70. package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
  71. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +0 -548
  72. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +0 -754
  73. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +0 -60
  74. package/src/filiale/yuchuan/android.js +0 -7
  75. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +0 -528
  76. package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +0 -343
  77. package/src/filiale/yuchuan/pc/Process/ExplorationSelect.vue +0 -395
  78. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +0 -147
  79. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +0 -66
  80. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +0 -759
  81. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +0 -470
  82. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +0 -879
  83. package/src/filiale/yuchuan/pc.js +0 -11
@@ -1,186 +1,186 @@
1
- <template>
2
- <div class="auto clearfix">
3
- <show-back-reason :selectdata="show_data"></show-back-reason>
4
- </div>
5
- <service-view v-ref:service_show :data="show_data" v-if="showview"></service-view>
6
- </template>
7
- <script>
8
- import Vue from 'vue'
9
- import {HttpResetClass} from 'vue-client'
10
- // Date格式化
11
- Date.prototype.Format = function (fmt) {
12
- var o = {
13
- 'M+': this.getMonth() + 1, // 月份
14
- 'd+': this.getDate(), // 日
15
- 'H+': this.getHours(), // 小时
16
- 'm+': this.getMinutes(), // 分
17
- 's+': this.getSeconds(), // 秒
18
- 'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
19
- 'S': this.getMilliseconds() // 毫秒
20
- }
21
- if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
22
- for (var k in o) {
23
- if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
24
- }
25
- return fmt
26
- }
27
- export default {
28
- title: '报建监控控制层',
29
- props: {
30
- selectdata: {
31
- type: Object
32
- },
33
- nodeSnapshot: {
34
- type: Boolean,
35
- default: false
36
- }
37
- },
38
- data() {
39
- return {
40
- data: null, // 展示的数据
41
- json_datas: null, // json配置数据结构
42
- showview: false, // 控制显示层显示
43
- show_data: null
44
- }
45
- },
46
- created () {
47
- this.refurbish()
48
- },
49
- methods: {
50
- // 初始化模块
51
- async refurbish() {
52
- this.json_datas = this.$workflow_vue
53
- let sum = 0
54
- let jsonData = {}
55
- if (!this.json_datas || !this.json_datas.activitys || this.json_datas.activitys.length === 0) {
56
- this.$showMessage("网络故障,请刷新页面")
57
- return
58
- }
59
- this.json_datas.activitys.forEach(item => {
60
- if (this.selectdata.defname === item.title) {
61
- jsonData = item // 拿到当前节点的json配置信息
62
- sum++ // 节点名一样的个数
63
- }
64
- return this.selectdata.defname === item.title // 拿到当前节点的json配置信息
65
- })
66
- if (sum === 0) {
67
- this.$showMessage(`没有在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置`)
68
- return
69
- }
70
- if (sum > 1) {
71
- this.$showMessage(`在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置:${sum}个`)
72
- return
73
- }
74
-
75
- this.data = null
76
- this.data = jsonData
77
- this.data = Object.assign({}, this.data, this.selectdata)
78
-
79
- // fields 字段填充值
80
- this.data.fields.forEach(item => {
81
- if (this.selectdata[item.field]) {
82
- item.value = this.selectdata[item.field]
83
- }
84
- if (this.selectdata[item.field] === 0) {
85
- item.value = 0
86
- }
87
- item.readonly = true
88
- item.disabled = true
89
- })
90
-
91
- // 控制组件
92
- if (this.data.components) {
93
- this.data.components.forEach(item => {
94
- item.mark = 1
95
- })
96
- }
97
-
98
- // onetomany 数据获取
99
- if (this.data.onetomany) {
100
- for (const item of this.data.onetomany) {
101
- let res = null
102
- if (item.queryEvent) {
103
- res = this[item.queryEvent]()
104
- } else {
105
- let data = {
106
- tablename: item.tables[0],
107
- condition: `f_process_id='${this.selectdata.f_process_id}'`
108
- }
109
- res = await this.$resetpost(
110
- 'rs/sql/singleTable',
111
- {data: data},
112
- {resolveMsg: null, rejectMsg: 'onetomany查询失败'}
113
- )
114
- }
115
-
116
- item.rows = res.data
117
-
118
- // 隐藏所有操作
119
- item.hiddenOperate = true
120
- }
121
- }
122
-
123
- // 去除button
124
- this.data.buttons = null
125
-
126
- // 完成时间和完成人,部门,分公司
127
- if (this.selectdata.state === '结束') {
128
- let http = new HttpResetClass()
129
- let res = await http.load('POST', 'rs/search', {
130
- source: 'this.getInfo()',
131
- userid: this.selectdata.userid
132
- }, {resolveMsg: null, rejectMsg: null})
133
- let user = res.data
134
- this.data.operate_date = new Date(this.selectdata.finishtime).Format('yyyy-MM-dd')
135
- this.data.operator = this.selectdata.person
136
- this.data.orgs = user.orgs
137
- this.data.parentname = user.deps
138
- }
139
-
140
- // 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
141
- let temp = JSON.parse(JSON.stringify(this.data))
142
-
143
- this.show_data = temp
144
- this.$nextTick(() => {
145
- this.showview = true
146
- })
147
- },
148
- // json配置数据处理
149
- async initializtion() {
150
- // 查询是否有当前节点快照信息,如果有使用快照数据,没有则展示最新数据
151
- if (this.nodeSnapshot && this.data.nodeSnapshot) {
152
- let http = new HttpResetClass()
153
- let data = {
154
- tablename: 't_node_snapshot',
155
- condition: `actid = '${this.selectdata.actid}' and f_process_id='${this.selectdata.f_process_id}'`
156
- }
157
- let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
158
- resolveMsg: null,
159
- rejectMsg: null
160
- })
161
- if (res.data.length > 0) {
162
- data = JSON.parse(res.data[0].f_node_data)
163
-
164
- this.data.fields = data.fields
165
- this.data.onetomany = data.onetomany
166
- this.data.title = data.title
167
- }
168
- }
169
- }
170
- },
171
- events:{
172
- },
173
- watch: {
174
- deep: true
175
- }
176
- }
177
- </script>
178
- <style scoped>
179
- /*清除model中的浮动*/
180
- .clearfix:after,.clearfix:before{
181
- display: table;
182
- }
183
- .clearfix:after{
184
- clear: both;
185
- }
186
- </style>
1
+ <template>
2
+ <div class="auto clearfix">
3
+ <show-back-reason :selectdata="show_data"></show-back-reason>
4
+ </div>
5
+ <service-view v-ref:service_show :data="show_data" v-if="showview"></service-view>
6
+ </template>
7
+ <script>
8
+ import Vue from 'vue'
9
+ import {HttpResetClass} from 'vue-client'
10
+ // Date格式化
11
+ Date.prototype.Format = function (fmt) {
12
+ var o = {
13
+ 'M+': this.getMonth() + 1, // 月份
14
+ 'd+': this.getDate(), // 日
15
+ 'H+': this.getHours(), // 小时
16
+ 'm+': this.getMinutes(), // 分
17
+ 's+': this.getSeconds(), // 秒
18
+ 'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
19
+ 'S': this.getMilliseconds() // 毫秒
20
+ }
21
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
22
+ for (var k in o) {
23
+ if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
24
+ }
25
+ return fmt
26
+ }
27
+ export default {
28
+ title: '报建监控控制层',
29
+ props: {
30
+ selectdata: {
31
+ type: Object
32
+ },
33
+ nodeSnapshot: {
34
+ type: Boolean,
35
+ default: false
36
+ }
37
+ },
38
+ data() {
39
+ return {
40
+ data: null, // 展示的数据
41
+ json_datas: null, // json配置数据结构
42
+ showview: false, // 控制显示层显示
43
+ show_data: null
44
+ }
45
+ },
46
+ created () {
47
+ this.refurbish()
48
+ },
49
+ methods: {
50
+ // 初始化模块
51
+ async refurbish() {
52
+ this.json_datas = this.$workflow_vue
53
+ let sum = 0
54
+ let jsonData = {}
55
+ if (!this.json_datas || !this.json_datas.activitys || this.json_datas.activitys.length === 0) {
56
+ this.$showMessage("网络故障,请刷新页面")
57
+ return
58
+ }
59
+ this.json_datas.activitys.forEach(item => {
60
+ if (this.selectdata.defname === item.title) {
61
+ jsonData = item // 拿到当前节点的json配置信息
62
+ sum++ // 节点名一样的个数
63
+ }
64
+ return this.selectdata.defname === item.title // 拿到当前节点的json配置信息
65
+ })
66
+ if (sum === 0) {
67
+ this.$showMessage(`没有在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置`)
68
+ return
69
+ }
70
+ if (sum > 1) {
71
+ this.$showMessage(`在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置:${sum}个`)
72
+ return
73
+ }
74
+
75
+ this.data = null
76
+ this.data = jsonData
77
+ this.data = Object.assign({}, this.data, this.selectdata)
78
+
79
+ // fields 字段填充值
80
+ this.data.fields.forEach(item => {
81
+ if (this.selectdata[item.field]) {
82
+ item.value = this.selectdata[item.field]
83
+ }
84
+ if (this.selectdata[item.field] === 0) {
85
+ item.value = 0
86
+ }
87
+ item.readonly = true
88
+ item.disabled = true
89
+ })
90
+
91
+ // 控制组件
92
+ if (this.data.components) {
93
+ this.data.components.forEach(item => {
94
+ item.mark = 1
95
+ })
96
+ }
97
+
98
+ // onetomany 数据获取
99
+ if (this.data.onetomany) {
100
+ for (const item of this.data.onetomany) {
101
+ let res = null
102
+ if (item.queryEvent) {
103
+ res = this[item.queryEvent]()
104
+ } else {
105
+ let data = {
106
+ tablename: item.tables[0],
107
+ condition: `f_process_id='${this.selectdata.f_process_id}'`
108
+ }
109
+ res = await this.$resetpost(
110
+ 'rs/sql/singleTable',
111
+ {data: data},
112
+ {resolveMsg: null, rejectMsg: 'onetomany查询失败'}
113
+ )
114
+ }
115
+
116
+ item.rows = res.data
117
+
118
+ // 隐藏所有操作
119
+ item.hiddenOperate = true
120
+ }
121
+ }
122
+
123
+ // 去除button
124
+ this.data.buttons = null
125
+
126
+ // 完成时间和完成人,部门,分公司
127
+ if (this.selectdata.state === '结束') {
128
+ let http = new HttpResetClass()
129
+ let res = await http.load('POST', 'rs/search', {
130
+ source: 'this.getInfo()',
131
+ userid: this.selectdata.userid
132
+ }, {resolveMsg: null, rejectMsg: null})
133
+ let user = res.data
134
+ this.data.operate_date = new Date(this.selectdata.finishtime).Format('yyyy-MM-dd')
135
+ this.data.operator = this.selectdata.person
136
+ this.data.orgs = user.orgs
137
+ this.data.parentname = user.deps
138
+ }
139
+
140
+ // 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
141
+ let temp = JSON.parse(JSON.stringify(this.data))
142
+
143
+ this.show_data = temp
144
+ this.$nextTick(() => {
145
+ this.showview = true
146
+ })
147
+ },
148
+ // json配置数据处理
149
+ async initializtion() {
150
+ // 查询是否有当前节点快照信息,如果有使用快照数据,没有则展示最新数据
151
+ if (this.nodeSnapshot && this.data.nodeSnapshot) {
152
+ let http = new HttpResetClass()
153
+ let data = {
154
+ tablename: 't_node_snapshot',
155
+ condition: `actid = '${this.selectdata.actid}' and f_process_id='${this.selectdata.f_process_id}'`
156
+ }
157
+ let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
158
+ resolveMsg: null,
159
+ rejectMsg: null
160
+ })
161
+ if (res.data.length > 0) {
162
+ data = JSON.parse(res.data[0].f_node_data)
163
+
164
+ this.data.fields = data.fields
165
+ this.data.onetomany = data.onetomany
166
+ this.data.title = data.title
167
+ }
168
+ }
169
+ }
170
+ },
171
+ events:{
172
+ },
173
+ watch: {
174
+ deep: true
175
+ }
176
+ }
177
+ </script>
178
+ <style scoped>
179
+ /*清除model中的浮动*/
180
+ .clearfix:after,.clearfix:before{
181
+ display: table;
182
+ }
183
+ .clearfix:after{
184
+ clear: both;
185
+ }
186
+ </style>
@@ -1,100 +1,100 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <div :class="showData ? 'top' : 'auto'">
5
- <supervisory-list v-ref:query :show-data="showData"></supervisory-list>
6
- </div>
7
- <div v-if="showtotal" style="height: 89%">
8
- <div class="col-sm-2" style="margin-top: 20px">
9
- <supervisory-chart :selectdata="selectdata"></supervisory-chart>
10
- </div>
11
- <div class="col-sm-10" style="margin-top: 20px">
12
- <tabset v-ref:tabs :close="false">
13
- <tab :header='selectdata.defname'>
14
- <supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
15
- </tab>
16
- <tab header='附件'>
17
- <apply-upload :blodid="selectdata.f_process_id"
18
- :isupload = "false"
19
- :isdelete="false"
20
- :isusetype="true"
21
- :isremark = "true"
22
- :takeimg="false"
23
- :issearch="true"
24
- :defname="selectdata.defname">
25
- </apply-upload>
26
- </tab>
27
- </tabset>
28
- </div>
29
- </div>
30
- </div>
31
- </div>
32
-
33
- </template>
34
- <script>
35
- import Vue from 'vue'
36
- import {HttpResetClass} from 'vue-client'
37
- export default {
38
- title: '流程监控',
39
- data () {
40
- return {
41
- showtotal: false, // 控制详细信息显示
42
- showData: true,
43
- selectdata: {},
44
- xmlname: '' // 配置文件名称
45
- }
46
- },
47
- created () {
48
- },
49
- methods: {
50
- // 获取页面配置json文件
51
- async loadName () {
52
- let data = {
53
- workname: this.selectdata.processname
54
- }
55
-
56
- let res = await this.$resetpost(
57
- 'rs/logic/ApplyGetConfigs',
58
- {data: data},
59
- {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
60
- )
61
-
62
- Vue.prototype.$workflow_vue = res.data
63
- }
64
- },
65
- events: {
66
- 'onMessage' (data) {
67
- console.log('接收消息')
68
- console.log(data)
69
- if (data.type === 'apply-task') {
70
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
71
- }
72
- },
73
- async 'apply' (val) {
74
- this.selectdata = val
75
- this.showtotal = false
76
-
77
- // 获取配置文件
78
- await this.loadName()
79
-
80
- this.$refs.query.$refs.cp.pager = false
81
- this.showData = false
82
-
83
- this.showtotal = true
84
- },
85
- 'search' () {
86
- // 关闭详细
87
- this.showtotal = false
88
- // 显示列表数据
89
- this.showData = true
90
- // 显示分页
91
- this.$refs.query.$refs.cp.pager = true
92
- // 调用查询
93
- this.$refs.query.$refs.cp.$refs.cri.search()
94
- }
95
- },
96
-
97
- watch: {
98
- }
99
- }
100
- </script>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'">
5
+ <supervisory-list v-ref:query :show-data="showData"></supervisory-list>
6
+ </div>
7
+ <div v-if="showtotal" style="height: 89%">
8
+ <div class="col-sm-2" style="margin-top: 20px">
9
+ <supervisory-chart :selectdata="selectdata"></supervisory-chart>
10
+ </div>
11
+ <div class="col-sm-10" style="margin-top: 20px">
12
+ <tabset v-ref:tabs :close="false">
13
+ <tab :header='selectdata.defname'>
14
+ <supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
15
+ </tab>
16
+ <tab header='附件'>
17
+ <apply-upload :blodid="selectdata.f_process_id"
18
+ :isupload = "false"
19
+ :isdelete="false"
20
+ :isusetype="true"
21
+ :isremark = "true"
22
+ :takeimg="false"
23
+ :issearch="true"
24
+ :defname="selectdata.defname">
25
+ </apply-upload>
26
+ </tab>
27
+ </tabset>
28
+ </div>
29
+ </div>
30
+ </div>
31
+ </div>
32
+
33
+ </template>
34
+ <script>
35
+ import Vue from 'vue'
36
+ import {HttpResetClass} from 'vue-client'
37
+ export default {
38
+ title: '流程监控',
39
+ data () {
40
+ return {
41
+ showtotal: false, // 控制详细信息显示
42
+ showData: true,
43
+ selectdata: {},
44
+ xmlname: '' // 配置文件名称
45
+ }
46
+ },
47
+ created () {
48
+ },
49
+ methods: {
50
+ // 获取页面配置json文件
51
+ async loadName () {
52
+ let data = {
53
+ workname: this.selectdata.processname
54
+ }
55
+
56
+ let res = await this.$resetpost(
57
+ 'rs/logic/ApplyGetConfigs',
58
+ {data: data},
59
+ {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
60
+ )
61
+
62
+ Vue.prototype.$workflow_vue = res.data
63
+ }
64
+ },
65
+ events: {
66
+ 'onMessage' (data) {
67
+ console.log('接收消息')
68
+ console.log(data)
69
+ if (data.type === 'apply-task') {
70
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
71
+ }
72
+ },
73
+ async 'apply' (val) {
74
+ this.selectdata = val
75
+ this.showtotal = false
76
+
77
+ // 获取配置文件
78
+ await this.loadName()
79
+
80
+ this.$refs.query.$refs.cp.pager = false
81
+ this.showData = false
82
+
83
+ this.showtotal = true
84
+ },
85
+ 'search' () {
86
+ // 关闭详细
87
+ this.showtotal = false
88
+ // 显示列表数据
89
+ this.showData = true
90
+ // 显示分页
91
+ this.$refs.query.$refs.cp.pager = true
92
+ // 调用查询
93
+ this.$refs.query.$refs.cp.$refs.cri.search()
94
+ }
95
+ },
96
+
97
+ watch: {
98
+ }
99
+ }
100
+ </script>