apply-clients 3.2.32 → 3.2.37

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 (37) hide show
  1. package/package.json +1 -1
  2. package/src/AndroidApp.vue +26 -26
  3. package/src/App.vue +20 -20
  4. package/src/apply.js +67 -67
  5. package/src/applyAndroid.js +24 -24
  6. package/src/components/Util.js +359 -359
  7. package/src/components/app_apply/AppOnetomany.vue +90 -90
  8. package/src/components/app_apply/AppServiceView.vue +664 -664
  9. package/src/components/app_apply/AppTakePic.vue +112 -112
  10. package/src/components/app_apply/Process/AppExplorationUser.vue +310 -310
  11. package/src/components/app_apply/Process/AppServiceControl.vue +409 -409
  12. package/src/components/app_apply/Process/Processes/AppInstallationDetails.vue +456 -456
  13. package/src/components/app_apply/Supervisory/AppProcessSupervisory.vue +300 -300
  14. package/src/components/app_apply/Supervisory/AppSupervisoryCart.vue +121 -121
  15. package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -251
  16. package/src/components/product/ApplyCharge/ApplyChargeReport.vue +107 -107
  17. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -30
  18. package/src/components/product/Function/InstallFunction.vue +147 -147
  19. package/src/components/product/Function/InstallInfoSelect.vue +281 -281
  20. package/src/components/product/Function/Service/FunctionServiceControl.vue +245 -245
  21. package/src/components/product/Function/StopApplyCrrdList.vue +176 -176
  22. package/src/components/product/Function/functions/StopInstall.vue +106 -106
  23. package/src/components/product/Process/ExplorationSelect.vue +346 -346
  24. package/src/components/product/Process/ExplorationUser.vue +134 -134
  25. package/src/components/product/Process/Processes/InstallationDetails.vue +243 -233
  26. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +201 -201
  27. package/src/components/product/Process/Processes/chargeManagement.vue +555 -555
  28. package/src/components/product/Process/Processes/printCharge.vue +133 -133
  29. package/src/components/product/Process/Processes/supplementalAgreement.vue +297 -297
  30. package/src/components/product/Process/ShowBackReason.vue +32 -32
  31. package/src/components/product/ServiceView.vue +759 -759
  32. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +199 -199
  33. package/src/components/product/Supervisory/SupervisoryControl.vue +119 -119
  34. package/src/components/product/Supervisory/SupervisoryList.vue +208 -208
  35. package/src/components/product/Supervisory/SupervisoryhCart.vue +103 -103
  36. package/src/components/product/VueUtils/ApplyUpload.vue +261 -261
  37. package/src/main.js +23 -23
@@ -1,199 +1,199 @@
1
- <template>
2
- <div class="auto clearfix">
3
- <show-back-reason :selectdata="data"></show-back-reason>
4
- </div>
5
- <service-view v-ref:service_show :data="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
- }
44
- },
45
- created () {
46
- this.initial()
47
- },
48
- methods: {
49
- // 初始化模块
50
- async initial() {
51
- this.showview = false
52
- this.json_datas = this.$workflow_vue
53
- let sum = 0
54
- let jsonData = {}
55
- this.json_datas.activitys.forEach(item => {
56
- if (this.selectdata.defname === item.title) {
57
- jsonData = item
58
- sum++
59
- }
60
- })
61
- if (sum === 0) {
62
- this.$showMessage(`没有在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置`)
63
- return
64
- }
65
- if (sum === 1) {
66
- this.data = jsonData
67
- this.data = Object.assign({}, this.data, this.selectdata)
68
-
69
- await this.initializtion()
70
- this.showview = true
71
- return
72
- }
73
- this.$showMessage(`在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置:${sum}个`)
74
- },
75
- // json配置数据处理
76
- async initializtion() {
77
- this.data.fields.forEach(item => {
78
-
79
- if (this.selectdata[item.field]) {
80
- item.value = this.selectdata[item.field]
81
- }
82
- if (this.selectdata[item.field] === 0) {
83
- item.value = this.selectdata[item.field]
84
- }
85
-
86
- // 如果配置类型为select,获取options
87
- if(item.type==='select'){
88
- item.options=[]
89
- }
90
- if (typeof item.value === 'string' && item.value.startsWith("{") && item.value.endsWith("}")) {
91
- item.value = JSON.parse(item.value)
92
- }
93
- })
94
-
95
- // 控制组件
96
- if (this.data.components) {
97
- this.data.components.forEach(item => {
98
- item.mark = 1
99
- })
100
- }
101
-
102
-
103
- // onetomany 数据获取
104
- if (this.data.onetomany) {
105
- for (let index = 0; index < this.data.onetomany.length; index++) {
106
- let http = new HttpResetClass()
107
- let data = {
108
- tablename: this.data.onetomany[index].tables[0],
109
- condition: `f_process_id='${this.selectdata.f_process_id}'`
110
- }
111
-
112
- let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
113
- resolveMsg: null,
114
- rejectMsg: 'onetomany查询失败'
115
- })
116
-
117
- // 初始化 onetomany
118
- this.data.onetomany[index].rows = res.data
119
-
120
- // 初始化onetomany中的fields
121
- for (let j = 0; j < this.data.onetomany[index].fields.length; j++) {
122
- // 如果配置类型为select,优先从参数列表获取options
123
- if (this.data.onetomany[index].fields[j].type === 'select') {
124
- let temp = Vue.$appdata.getParam(this.data.onetomany[index].fields[j].label)
125
- if (temp && temp.length > 0) {
126
- this.data.onetomany[index].fields[j].options = Vue.$appdata.getParam(this.data.onetomany[index].fields[j].label)
127
- }
128
- }
129
- }
130
- }
131
- }
132
- // 去除button
133
- this.data.buttons = null
134
-
135
-
136
- // 查询是否有当前节点快照信息,如果有使用快照数据,没有则展示最新数据
137
- if (this.nodeSnapshot && this.data.nodeSnapshot) {
138
- let http = new HttpResetClass()
139
- let data = {
140
- tablename: 't_node_snapshot',
141
- condition: `actid = '${this.selectdata.actid}' and f_process_id='${this.selectdata.f_process_id}'`
142
- }
143
- let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
144
- resolveMsg: null,
145
- rejectMsg: null
146
- })
147
- if (res.data.length > 0) {
148
- data = JSON.parse(res.data[0].f_node_data)
149
-
150
- this.data.fields = data.fields
151
- this.data.onetomany = data.onetomany
152
- this.data.title = data.title
153
- }
154
- }
155
-
156
-
157
- // 将所有field都不可修改,不可操作
158
- this.data.fields.forEach(item => {
159
- item.readonly = true
160
- item.disabled = true
161
- })
162
- // 去除所有onetomany的操作
163
- if (this.data.onetomany) {
164
- this.data.onetomany.forEach(item => {
165
- item.hiddenOperate = true
166
- })
167
- }
168
-
169
- // 完成时间和完成人,部门,分公司
170
- if (this.selectdata.state === '结束') {
171
- let http = new HttpResetClass()
172
- let res = await http.load('POST', 'rs/search', {
173
- source: 'this.getInfo()',
174
- userid: this.selectdata.userid
175
- }, {resolveMsg: null, rejectMsg: null})
176
- let user = res.data
177
- this.data.operate_date = new Date(this.selectdata.finishtime).Format('yyyy-MM-dd')
178
- this.data.operator = this.selectdata.person
179
- this.data.f_filiale = user.orgs
180
- this.data.f_parentname = user.deps
181
- }
182
- }
183
- },
184
- events:{
185
- },
186
- watch: {
187
- deep: true
188
- }
189
- }
190
- </script>
191
- <style scoped>
192
- /*清除model中的浮动*/
193
- .clearfix:after,.clearfix:before{
194
- display: table;
195
- }
196
- .clearfix:after{
197
- clear: both;
198
- }
199
- </style>
1
+ <template>
2
+ <div class="auto clearfix">
3
+ <show-back-reason :selectdata="data"></show-back-reason>
4
+ </div>
5
+ <service-view v-ref:service_show :data="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
+ }
44
+ },
45
+ created () {
46
+ this.initial()
47
+ },
48
+ methods: {
49
+ // 初始化模块
50
+ async initial() {
51
+ this.showview = false
52
+ this.json_datas = this.$workflow_vue
53
+ let sum = 0
54
+ let jsonData = {}
55
+ this.json_datas.activitys.forEach(item => {
56
+ if (this.selectdata.defname === item.title) {
57
+ jsonData = item
58
+ sum++
59
+ }
60
+ })
61
+ if (sum === 0) {
62
+ this.$showMessage(`没有在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置`)
63
+ return
64
+ }
65
+ if (sum === 1) {
66
+ this.data = jsonData
67
+ this.data = Object.assign({}, this.data, this.selectdata)
68
+
69
+ await this.initializtion()
70
+ this.showview = true
71
+ return
72
+ }
73
+ this.$showMessage(`在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置:${sum}个`)
74
+ },
75
+ // json配置数据处理
76
+ async initializtion() {
77
+ this.data.fields.forEach(item => {
78
+
79
+ if (this.selectdata[item.field]) {
80
+ item.value = this.selectdata[item.field]
81
+ }
82
+ if (this.selectdata[item.field] === 0) {
83
+ item.value = this.selectdata[item.field]
84
+ }
85
+
86
+ // 如果配置类型为select,获取options
87
+ if(item.type==='select'){
88
+ item.options=[]
89
+ }
90
+ if (typeof item.value === 'string' && item.value.startsWith("{") && item.value.endsWith("}")) {
91
+ item.value = JSON.parse(item.value)
92
+ }
93
+ })
94
+
95
+ // 控制组件
96
+ if (this.data.components) {
97
+ this.data.components.forEach(item => {
98
+ item.mark = 1
99
+ })
100
+ }
101
+
102
+
103
+ // onetomany 数据获取
104
+ if (this.data.onetomany) {
105
+ for (let index = 0; index < this.data.onetomany.length; index++) {
106
+ let http = new HttpResetClass()
107
+ let data = {
108
+ tablename: this.data.onetomany[index].tables[0],
109
+ condition: `f_process_id='${this.selectdata.f_process_id}'`
110
+ }
111
+
112
+ let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
113
+ resolveMsg: null,
114
+ rejectMsg: 'onetomany查询失败'
115
+ })
116
+
117
+ // 初始化 onetomany
118
+ this.data.onetomany[index].rows = res.data
119
+
120
+ // 初始化onetomany中的fields
121
+ for (let j = 0; j < this.data.onetomany[index].fields.length; j++) {
122
+ // 如果配置类型为select,优先从参数列表获取options
123
+ if (this.data.onetomany[index].fields[j].type === 'select') {
124
+ let temp = Vue.$appdata.getParam(this.data.onetomany[index].fields[j].label)
125
+ if (temp && temp.length > 0) {
126
+ this.data.onetomany[index].fields[j].options = Vue.$appdata.getParam(this.data.onetomany[index].fields[j].label)
127
+ }
128
+ }
129
+ }
130
+ }
131
+ }
132
+ // 去除button
133
+ this.data.buttons = null
134
+
135
+
136
+ // 查询是否有当前节点快照信息,如果有使用快照数据,没有则展示最新数据
137
+ if (this.nodeSnapshot && this.data.nodeSnapshot) {
138
+ let http = new HttpResetClass()
139
+ let data = {
140
+ tablename: 't_node_snapshot',
141
+ condition: `actid = '${this.selectdata.actid}' and f_process_id='${this.selectdata.f_process_id}'`
142
+ }
143
+ let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
144
+ resolveMsg: null,
145
+ rejectMsg: null
146
+ })
147
+ if (res.data.length > 0) {
148
+ data = JSON.parse(res.data[0].f_node_data)
149
+
150
+ this.data.fields = data.fields
151
+ this.data.onetomany = data.onetomany
152
+ this.data.title = data.title
153
+ }
154
+ }
155
+
156
+
157
+ // 将所有field都不可修改,不可操作
158
+ this.data.fields.forEach(item => {
159
+ item.readonly = true
160
+ item.disabled = true
161
+ })
162
+ // 去除所有onetomany的操作
163
+ if (this.data.onetomany) {
164
+ this.data.onetomany.forEach(item => {
165
+ item.hiddenOperate = true
166
+ })
167
+ }
168
+
169
+ // 完成时间和完成人,部门,分公司
170
+ if (this.selectdata.state === '结束') {
171
+ let http = new HttpResetClass()
172
+ let res = await http.load('POST', 'rs/search', {
173
+ source: 'this.getInfo()',
174
+ userid: this.selectdata.userid
175
+ }, {resolveMsg: null, rejectMsg: null})
176
+ let user = res.data
177
+ this.data.operate_date = new Date(this.selectdata.finishtime).Format('yyyy-MM-dd')
178
+ this.data.operator = this.selectdata.person
179
+ this.data.f_filiale = user.orgs
180
+ this.data.f_parentname = user.deps
181
+ }
182
+ }
183
+ },
184
+ events:{
185
+ },
186
+ watch: {
187
+ deep: true
188
+ }
189
+ }
190
+ </script>
191
+ <style scoped>
192
+ /*清除model中的浮动*/
193
+ .clearfix:after,.clearfix:before{
194
+ display: table;
195
+ }
196
+ .clearfix:after{
197
+ clear: both;
198
+ }
199
+ </style>
@@ -1,119 +1,119 @@
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">
9
- <supervisory-chart :selectdata="selectdata"></supervisory-chart>
10
- </div>
11
- <div class="col-sm-10">
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 http = new HttpResetClass()
53
- let xmldata = {
54
- data: this.$login.f,
55
- workname: this.xmlname
56
- }
57
- let res = await http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null})
58
-
59
- if (res.data.code && res.data.code === 200) {
60
- Vue.prototype.$workflow_vue = res.data.workflow_vue
61
- } else {
62
- this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
63
- return
64
- }
65
- }
66
- },
67
- events: {
68
- 'onMessage' (data) {
69
- console.log('接收消息')
70
- console.log(data)
71
- if (data.type === 'apply-task') {
72
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
73
- }
74
- },
75
- async 'apply' (val) {
76
- this.selectdata = val
77
- this.showtotal = false
78
-
79
- if (this.selectdata.f_apply_type === '开发商集体报建') {
80
- this.xmlname = '开发商集体报建流程'
81
- } else if (this.selectdata.f_apply_type === '散户报建') {
82
- this.xmlname = '散户报建流程'
83
- } else if (this.selectdata.f_apply_type === '工业户报建') {
84
- this.xmlname = '工商户报建流程'
85
- } else if (this.selectdata.f_apply_type === '商业户报建') {
86
- this.xmlname = '工商户报建流程'
87
- } else if (this.selectdata.f_apply_type === '散户集体报建') {
88
- this.xmlname = '散户集体报建流程'
89
- } else if (this.selectdata.f_apply_type === '煤改气报建') {
90
- this.xmlname = '散户集体报建流程'
91
- } else {
92
- this.$showMessage('暂无此类报装')
93
- return
94
- }
95
-
96
- // 获取配置文件
97
- await this.loadName()
98
-
99
- this.$refs.query.$refs.cp.pager = false
100
- this.showData = false
101
-
102
- this.showtotal = true
103
- },
104
- 'search' () {
105
- // 关闭详细
106
- this.showtotal = false
107
- // 显示列表数据
108
- this.showData = true
109
- // 显示分页
110
- this.$refs.query.$refs.cp.pager = true
111
- // 调用查询
112
- this.$refs.query.$refs.cp.$refs.cri.search()
113
- }
114
- },
115
-
116
- watch: {
117
- }
118
- }
119
- </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">
9
+ <supervisory-chart :selectdata="selectdata"></supervisory-chart>
10
+ </div>
11
+ <div class="col-sm-10">
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 http = new HttpResetClass()
53
+ let xmldata = {
54
+ data: this.$login.f,
55
+ workname: this.xmlname
56
+ }
57
+ let res = await http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null})
58
+
59
+ if (res.data.code && res.data.code === 200) {
60
+ Vue.prototype.$workflow_vue = res.data.workflow_vue
61
+ } else {
62
+ this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
63
+ return
64
+ }
65
+ }
66
+ },
67
+ events: {
68
+ 'onMessage' (data) {
69
+ console.log('接收消息')
70
+ console.log(data)
71
+ if (data.type === 'apply-task') {
72
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
73
+ }
74
+ },
75
+ async 'apply' (val) {
76
+ this.selectdata = val
77
+ this.showtotal = false
78
+
79
+ if (this.selectdata.f_apply_type === '开发商集体报建') {
80
+ this.xmlname = '开发商集体报建流程'
81
+ } else if (this.selectdata.f_apply_type === '散户报建') {
82
+ this.xmlname = '散户报建流程'
83
+ } else if (this.selectdata.f_apply_type === '工业户报建') {
84
+ this.xmlname = '工商户报建流程'
85
+ } else if (this.selectdata.f_apply_type === '商业户报建') {
86
+ this.xmlname = '工商户报建流程'
87
+ } else if (this.selectdata.f_apply_type === '散户集体报建') {
88
+ this.xmlname = '散户集体报建流程'
89
+ } else if (this.selectdata.f_apply_type === '煤改气报建') {
90
+ this.xmlname = '散户集体报建流程'
91
+ } else {
92
+ this.$showMessage('暂无此类报装')
93
+ return
94
+ }
95
+
96
+ // 获取配置文件
97
+ await this.loadName()
98
+
99
+ this.$refs.query.$refs.cp.pager = false
100
+ this.showData = false
101
+
102
+ this.showtotal = true
103
+ },
104
+ 'search' () {
105
+ // 关闭详细
106
+ this.showtotal = false
107
+ // 显示列表数据
108
+ this.showData = true
109
+ // 显示分页
110
+ this.$refs.query.$refs.cp.pager = true
111
+ // 调用查询
112
+ this.$refs.query.$refs.cp.$refs.cri.search()
113
+ }
114
+ },
115
+
116
+ watch: {
117
+ }
118
+ }
119
+ </script>