apply-clients 3.3.203 → 3.3.207
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/package.json +1 -1
- package/src/App.vue +20 -20
- package/src/apply.js +90 -89
- package/src/components/android/AppTakePic.vue +143 -143
- package/src/components/android/Function/AppInstallFunction.vue +5 -2
- package/src/components/android/Process/AppExplorationUser.vue +5 -3
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +262 -261
- package/src/components/product/Function/InstallFunction.vue +122 -122
- package/src/components/product/Order/OrderApplyList.vue +8 -2
- package/src/components/product/Order/OrderMessage.vue +2 -2
- package/src/components/product/Process/ExplorationUser.vue +128 -128
- package/src/components/product/Process/Service/ServiceControl.vue +883 -883
- package/src/components/product/ServiceView.vue +741 -741
- package/src/components/product/Supervisory/Service/printChargeNode.vue +873 -0
- package/src/components/product/Supervisory/SupervisoryControl.vue +108 -100
|
@@ -1,122 +1,122 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex-row">
|
|
3
|
-
<div class="basic-main">
|
|
4
|
-
<div :class="showData ? 'top' : 'auto'">
|
|
5
|
-
<installinfoselect :show-data="showData" v-ref:query></installinfoselect>
|
|
6
|
-
</div>
|
|
7
|
-
<div v-if="showtotal" class="panel panel-info" style="height: 90%;">
|
|
8
|
-
<tabset v-ref:tabs :close="false">
|
|
9
|
-
<tab :header='selectdata.title'>
|
|
10
|
-
<function-service-control v-ref:service :selectdata="selectdata"></function-service-control>
|
|
11
|
-
</tab>
|
|
12
|
-
<tab header='附件'>
|
|
13
|
-
<apply-upload :blodid="show_data.f_process_id"
|
|
14
|
-
:isupload = "true"
|
|
15
|
-
:isdelete="true"
|
|
16
|
-
:isusetype="true"
|
|
17
|
-
:isremark = "true"
|
|
18
|
-
:takeimg="
|
|
19
|
-
:issearch="true"
|
|
20
|
-
:defname="show_data.defname"
|
|
21
|
-
>
|
|
22
|
-
</apply-upload>
|
|
23
|
-
</tab>
|
|
24
|
-
</tabset>
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
|
|
29
|
-
</template>
|
|
30
|
-
<script>
|
|
31
|
-
import Vue from 'vue'
|
|
32
|
-
import {HttpResetClass} from 'vue-client'
|
|
33
|
-
export default {
|
|
34
|
-
title: '报建业务',
|
|
35
|
-
data () {
|
|
36
|
-
return {
|
|
37
|
-
selectdata: null,
|
|
38
|
-
showtotal: false, // 控制详情显示
|
|
39
|
-
showData: true // 控制列表数据
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
created () {
|
|
43
|
-
this.getConfig()
|
|
44
|
-
},
|
|
45
|
-
methods: {
|
|
46
|
-
// 获取功能配置
|
|
47
|
-
async getConfig () {
|
|
48
|
-
let res = await this.$resetpost(
|
|
49
|
-
'rs/logic/ApplyGetFunction',
|
|
50
|
-
null,
|
|
51
|
-
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
52
|
-
)
|
|
53
|
-
Vue.prototype.$function_vue = res.data
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
events: {
|
|
57
|
-
// 刷新控制层
|
|
58
|
-
async 'breakControl' (servicedata) {
|
|
59
|
-
let http = new HttpResetClass()
|
|
60
|
-
let data = {
|
|
61
|
-
condition: `u.id = ${servicedata.id}`,
|
|
62
|
-
data: {
|
|
63
|
-
id: this.$login.f.id,
|
|
64
|
-
orgid: this.$login.f.orgid
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
let res = await http.load('POST', 'rs/sql/checkuserfunction', {data:data}, {
|
|
69
|
-
resolveMsg: null,
|
|
70
|
-
rejectMsg: '数据更新失败!!!'
|
|
71
|
-
})
|
|
72
|
-
|
|
73
|
-
this.showtotal = false
|
|
74
|
-
|
|
75
|
-
this.selectdata = Object.assign({}, this.selectdata, res.data[0])
|
|
76
|
-
|
|
77
|
-
this.$nextTick(() => {
|
|
78
|
-
this.showtotal = true
|
|
79
|
-
})
|
|
80
|
-
},
|
|
81
|
-
// 查询
|
|
82
|
-
'search' () {
|
|
83
|
-
// 关闭详细
|
|
84
|
-
this.showtotal = false
|
|
85
|
-
// 显示列表数据
|
|
86
|
-
this.showData = true
|
|
87
|
-
// 显示分页
|
|
88
|
-
this.$refs.query.$refs.cp.pager = true
|
|
89
|
-
// 调用查询
|
|
90
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
91
|
-
},
|
|
92
|
-
// 点击功能操作
|
|
93
|
-
'func' (funcdata, row) {
|
|
94
|
-
this.selectdata = Object.assign({}, funcdata, row)
|
|
95
|
-
|
|
96
|
-
// 关闭分页
|
|
97
|
-
this.$refs.query.$refs.cp.pager = false
|
|
98
|
-
// 关闭列表数据
|
|
99
|
-
this.showData = false
|
|
100
|
-
|
|
101
|
-
this.$nextTick(() => {
|
|
102
|
-
this.showtotal = true
|
|
103
|
-
})
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
</script>
|
|
108
|
-
<style scoped>
|
|
109
|
-
/*清除浮动*/
|
|
110
|
-
.clearfix:after,.clearfix:before{
|
|
111
|
-
display: table;
|
|
112
|
-
}
|
|
113
|
-
.clearfix:after{
|
|
114
|
-
clear: both;
|
|
115
|
-
}
|
|
116
|
-
.head{
|
|
117
|
-
height: auto;
|
|
118
|
-
font-weight: bold;
|
|
119
|
-
color: #000000;
|
|
120
|
-
font-family: 微软雅黑;
|
|
121
|
-
}
|
|
122
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div :class="showData ? 'top' : 'auto'">
|
|
5
|
+
<installinfoselect :show-data="showData" v-ref:query></installinfoselect>
|
|
6
|
+
</div>
|
|
7
|
+
<div v-if="showtotal" class="panel panel-info" style="height: 90%;">
|
|
8
|
+
<tabset v-ref:tabs :close="false">
|
|
9
|
+
<tab :header='selectdata.title'>
|
|
10
|
+
<function-service-control v-ref:service :selectdata="selectdata"></function-service-control>
|
|
11
|
+
</tab>
|
|
12
|
+
<tab header='附件'>
|
|
13
|
+
<apply-upload :blodid="show_data.f_process_id"
|
|
14
|
+
:isupload = "true"
|
|
15
|
+
:isdelete="true"
|
|
16
|
+
:isusetype="true"
|
|
17
|
+
:isremark = "true"
|
|
18
|
+
:takeimg="false"
|
|
19
|
+
:issearch="true"
|
|
20
|
+
:defname="show_data.defname"
|
|
21
|
+
>
|
|
22
|
+
</apply-upload>
|
|
23
|
+
</tab>
|
|
24
|
+
</tabset>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
</template>
|
|
30
|
+
<script>
|
|
31
|
+
import Vue from 'vue'
|
|
32
|
+
import {HttpResetClass} from 'vue-client'
|
|
33
|
+
export default {
|
|
34
|
+
title: '报建业务',
|
|
35
|
+
data () {
|
|
36
|
+
return {
|
|
37
|
+
selectdata: null,
|
|
38
|
+
showtotal: false, // 控制详情显示
|
|
39
|
+
showData: true // 控制列表数据
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
created () {
|
|
43
|
+
this.getConfig()
|
|
44
|
+
},
|
|
45
|
+
methods: {
|
|
46
|
+
// 获取功能配置
|
|
47
|
+
async getConfig () {
|
|
48
|
+
let res = await this.$resetpost(
|
|
49
|
+
'rs/logic/ApplyGetFunction',
|
|
50
|
+
null,
|
|
51
|
+
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
52
|
+
)
|
|
53
|
+
Vue.prototype.$function_vue = res.data
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
events: {
|
|
57
|
+
// 刷新控制层
|
|
58
|
+
async 'breakControl' (servicedata) {
|
|
59
|
+
let http = new HttpResetClass()
|
|
60
|
+
let data = {
|
|
61
|
+
condition: `u.id = ${servicedata.id}`,
|
|
62
|
+
data: {
|
|
63
|
+
id: this.$login.f.id,
|
|
64
|
+
orgid: this.$login.f.orgid
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
let res = await http.load('POST', 'rs/sql/checkuserfunction', {data:data}, {
|
|
69
|
+
resolveMsg: null,
|
|
70
|
+
rejectMsg: '数据更新失败!!!'
|
|
71
|
+
})
|
|
72
|
+
|
|
73
|
+
this.showtotal = false
|
|
74
|
+
|
|
75
|
+
this.selectdata = Object.assign({}, this.selectdata, res.data[0])
|
|
76
|
+
|
|
77
|
+
this.$nextTick(() => {
|
|
78
|
+
this.showtotal = true
|
|
79
|
+
})
|
|
80
|
+
},
|
|
81
|
+
// 查询
|
|
82
|
+
'search' () {
|
|
83
|
+
// 关闭详细
|
|
84
|
+
this.showtotal = false
|
|
85
|
+
// 显示列表数据
|
|
86
|
+
this.showData = true
|
|
87
|
+
// 显示分页
|
|
88
|
+
this.$refs.query.$refs.cp.pager = true
|
|
89
|
+
// 调用查询
|
|
90
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
91
|
+
},
|
|
92
|
+
// 点击功能操作
|
|
93
|
+
'func' (funcdata, row) {
|
|
94
|
+
this.selectdata = Object.assign({}, funcdata, row)
|
|
95
|
+
|
|
96
|
+
// 关闭分页
|
|
97
|
+
this.$refs.query.$refs.cp.pager = false
|
|
98
|
+
// 关闭列表数据
|
|
99
|
+
this.showData = false
|
|
100
|
+
|
|
101
|
+
this.$nextTick(() => {
|
|
102
|
+
this.showtotal = true
|
|
103
|
+
})
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
</script>
|
|
108
|
+
<style scoped>
|
|
109
|
+
/*清除浮动*/
|
|
110
|
+
.clearfix:after,.clearfix:before{
|
|
111
|
+
display: table;
|
|
112
|
+
}
|
|
113
|
+
.clearfix:after{
|
|
114
|
+
clear: both;
|
|
115
|
+
}
|
|
116
|
+
.head{
|
|
117
|
+
height: auto;
|
|
118
|
+
font-weight: bold;
|
|
119
|
+
color: #000000;
|
|
120
|
+
font-family: 微软雅黑;
|
|
121
|
+
}
|
|
122
|
+
</style>
|
|
@@ -195,8 +195,13 @@
|
|
|
195
195
|
title: '预约单',
|
|
196
196
|
data () {
|
|
197
197
|
return {
|
|
198
|
-
model: new PagedList('rs/sql/getOrderApply', 20,
|
|
198
|
+
model: new PagedList('rs/sql/getOrderApply', 20, {
|
|
199
|
+
data: {
|
|
200
|
+
f_orgname: this.$login.f.orgs
|
|
201
|
+
}
|
|
202
|
+
}),
|
|
199
203
|
curorgid: [this.$login.f.orgid],
|
|
204
|
+
f_orgname:[this.$login.f.orgs],
|
|
200
205
|
criteriaShow: false,
|
|
201
206
|
orderType: [
|
|
202
207
|
{'label': '预约报装', 'value': '预约报装'},
|
|
@@ -227,6 +232,7 @@
|
|
|
227
232
|
ready () {
|
|
228
233
|
// 调用查询
|
|
229
234
|
this.search()
|
|
235
|
+
console.log('--------------'+ JSON.stringify(this.$login.f))
|
|
230
236
|
},
|
|
231
237
|
events: {
|
|
232
238
|
},
|
|
@@ -236,7 +242,7 @@
|
|
|
236
242
|
this.$dispatch('handleOrder', type, row)
|
|
237
243
|
},
|
|
238
244
|
searchCondition (args) {
|
|
239
|
-
args.condition = args.condition
|
|
245
|
+
args.condition = args.condition
|
|
240
246
|
this.model.search(args.condition, args.model)
|
|
241
247
|
},
|
|
242
248
|
search () {
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
<!-- 项目信息 -->
|
|
88
88
|
<div class="auto" v-if="selectdata.f_ordertype !== '预约点火' && (type === 'process' || selectdata.f_orderstate === '预约成功')">
|
|
89
89
|
<div class="col-sm-12 text-center bg-info pt-8">项目信息</div>
|
|
90
|
-
<div class="col-sm-6 form-group" v-if="selectdata.f_ordertype === '
|
|
90
|
+
<div class="col-sm-6 form-group" v-if="selectdata.f_ordertype === '报装申请'" :class="[$v.f_apply_type.required ? 'has-error' : '']">
|
|
91
91
|
<label class="font_normal_body">报建类型</label>
|
|
92
92
|
<input type="text" v-show="false" v-validate:f_apply_type = "['required']" v-model="apply.f_apply_type">
|
|
93
93
|
<v-select
|
|
@@ -218,7 +218,7 @@ export default {
|
|
|
218
218
|
computed: {
|
|
219
219
|
applyType () {
|
|
220
220
|
return this.$appdata.getParam("报建类型").filter(item => {
|
|
221
|
-
return item.label === '工商户报建' || item.label === '散户报建'
|
|
221
|
+
return item.label === '工商户报建' || item.label === '散户报建' || item.label ==='开发商集体报建' || item.label ==='预埋管报建'
|
|
222
222
|
})
|
|
223
223
|
}
|
|
224
224
|
},
|
|
@@ -1,128 +1,128 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex-row">
|
|
3
|
-
<div class="basic-main">
|
|
4
|
-
<div :class="showData ? 'top' : 'auto'" v-show="showQuery">
|
|
5
|
-
<exploration-select v-ref:query :show-data="showData"></exploration-select>
|
|
6
|
-
</div>
|
|
7
|
-
<div v-if="showtotal" style="height: 89%">
|
|
8
|
-
<tabset v-ref:tabs :close="false">
|
|
9
|
-
<tab :header='selectdata.defname'>
|
|
10
|
-
<service-control v-ref:service :selectdata="selectdata"></service-control>
|
|
11
|
-
</tab>
|
|
12
|
-
<tab header='附件'>
|
|
13
|
-
<apply-upload :blodid="selectdata.f_process_id"
|
|
14
|
-
:isupload = "true"
|
|
15
|
-
:isdelete="true"
|
|
16
|
-
:isusetype="true"
|
|
17
|
-
:isremark = "true"
|
|
18
|
-
:takeimg="
|
|
19
|
-
:issearch="true"
|
|
20
|
-
:defname="selectdata.defname">
|
|
21
|
-
</apply-upload>
|
|
22
|
-
</tab>
|
|
23
|
-
</tabset>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
</template>
|
|
28
|
-
<script>
|
|
29
|
-
import Vue from 'vue'
|
|
30
|
-
import {HttpResetClass} from 'vue-client'
|
|
31
|
-
export default {
|
|
32
|
-
title: '报建流程',
|
|
33
|
-
data () {
|
|
34
|
-
return {
|
|
35
|
-
showQuery: true, // 控制查询页
|
|
36
|
-
showData: true, // 控制列表数据
|
|
37
|
-
showtotal: false, // 详情显示
|
|
38
|
-
selectdata: {},
|
|
39
|
-
xmlname: '' // 配置文件名
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
ready () {
|
|
43
|
-
},
|
|
44
|
-
methods: {
|
|
45
|
-
// 获取页面配置json文件
|
|
46
|
-
async loadName () {
|
|
47
|
-
|
|
48
|
-
let data = {
|
|
49
|
-
workname: this.selectdata.processname
|
|
50
|
-
}
|
|
51
|
-
let http = new HttpResetClass()
|
|
52
|
-
let res = await http.load(
|
|
53
|
-
'POST',
|
|
54
|
-
'rs/logic/ApplyGetConfigs',
|
|
55
|
-
{data: data},
|
|
56
|
-
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
57
|
-
)
|
|
58
|
-
|
|
59
|
-
Vue.prototype.$workflow_vue = res.data
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
events: {
|
|
63
|
-
'onMessage' (data) {
|
|
64
|
-
console.log('接收消息')
|
|
65
|
-
console.log(data)
|
|
66
|
-
if (data.type === 'apply-task') {
|
|
67
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
// 刷新控制层
|
|
71
|
-
async 'breakControl' (servicedata) {
|
|
72
|
-
|
|
73
|
-
if (servicedata.id) {
|
|
74
|
-
let data = {
|
|
75
|
-
condition: `u.id = ${servicedata.id}`,
|
|
76
|
-
data: {
|
|
77
|
-
id: this.$login.f.id,
|
|
78
|
-
orgid: this.$login.f.orgid
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
let res = await this.$resetpost(
|
|
82
|
-
'rs/sql/checkuser',
|
|
83
|
-
{data: data},
|
|
84
|
-
{resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
|
|
85
|
-
)
|
|
86
|
-
|
|
87
|
-
this.selectdata = res.data[0]
|
|
88
|
-
} else {
|
|
89
|
-
this.selectdata = servicedata
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
this.showtotal = false
|
|
93
|
-
this.$nextTick(() => {
|
|
94
|
-
this.showtotal = true
|
|
95
|
-
})
|
|
96
|
-
|
|
97
|
-
},
|
|
98
|
-
// 初始化
|
|
99
|
-
async 'apply' (val) {
|
|
100
|
-
this.showtotal = false
|
|
101
|
-
this.selectdata = val
|
|
102
|
-
|
|
103
|
-
// 次方法必须同步执行,否则后续会出问题
|
|
104
|
-
// 获取页面json配置文件
|
|
105
|
-
await this.loadName()
|
|
106
|
-
|
|
107
|
-
// 显示详细
|
|
108
|
-
this.showtotal = true
|
|
109
|
-
// 关闭列表数据
|
|
110
|
-
this.showData = false
|
|
111
|
-
// 关闭分页
|
|
112
|
-
this.$refs.query.$refs.cp.pager = false
|
|
113
|
-
},
|
|
114
|
-
'search' () {
|
|
115
|
-
// 关闭详细
|
|
116
|
-
this.showtotal = false
|
|
117
|
-
// 显示列表数据
|
|
118
|
-
this.showData = true
|
|
119
|
-
// 显示分页
|
|
120
|
-
this.$refs.query.$refs.cp.pager = true
|
|
121
|
-
// 调用查询
|
|
122
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
watch: {
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div :class="showData ? 'top' : 'auto'" v-show="showQuery">
|
|
5
|
+
<exploration-select v-ref:query :show-data="showData"></exploration-select>
|
|
6
|
+
</div>
|
|
7
|
+
<div v-if="showtotal" style="height: 89%">
|
|
8
|
+
<tabset v-ref:tabs :close="false">
|
|
9
|
+
<tab :header='selectdata.defname'>
|
|
10
|
+
<service-control v-ref:service :selectdata="selectdata"></service-control>
|
|
11
|
+
</tab>
|
|
12
|
+
<tab header='附件'>
|
|
13
|
+
<apply-upload :blodid="selectdata.f_process_id"
|
|
14
|
+
:isupload = "true"
|
|
15
|
+
:isdelete="true"
|
|
16
|
+
:isusetype="true"
|
|
17
|
+
:isremark = "true"
|
|
18
|
+
:takeimg="false"
|
|
19
|
+
:issearch="true"
|
|
20
|
+
:defname="selectdata.defname">
|
|
21
|
+
</apply-upload>
|
|
22
|
+
</tab>
|
|
23
|
+
</tabset>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</template>
|
|
28
|
+
<script>
|
|
29
|
+
import Vue from 'vue'
|
|
30
|
+
import {HttpResetClass} from 'vue-client'
|
|
31
|
+
export default {
|
|
32
|
+
title: '报建流程',
|
|
33
|
+
data () {
|
|
34
|
+
return {
|
|
35
|
+
showQuery: true, // 控制查询页
|
|
36
|
+
showData: true, // 控制列表数据
|
|
37
|
+
showtotal: false, // 详情显示
|
|
38
|
+
selectdata: {},
|
|
39
|
+
xmlname: '' // 配置文件名
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
ready () {
|
|
43
|
+
},
|
|
44
|
+
methods: {
|
|
45
|
+
// 获取页面配置json文件
|
|
46
|
+
async loadName () {
|
|
47
|
+
|
|
48
|
+
let data = {
|
|
49
|
+
workname: this.selectdata.processname
|
|
50
|
+
}
|
|
51
|
+
let http = new HttpResetClass()
|
|
52
|
+
let res = await http.load(
|
|
53
|
+
'POST',
|
|
54
|
+
'rs/logic/ApplyGetConfigs',
|
|
55
|
+
{data: data},
|
|
56
|
+
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
57
|
+
)
|
|
58
|
+
|
|
59
|
+
Vue.prototype.$workflow_vue = res.data
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
events: {
|
|
63
|
+
'onMessage' (data) {
|
|
64
|
+
console.log('接收消息')
|
|
65
|
+
console.log(data)
|
|
66
|
+
if (data.type === 'apply-task') {
|
|
67
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
// 刷新控制层
|
|
71
|
+
async 'breakControl' (servicedata) {
|
|
72
|
+
|
|
73
|
+
if (servicedata.id) {
|
|
74
|
+
let data = {
|
|
75
|
+
condition: `u.id = ${servicedata.id}`,
|
|
76
|
+
data: {
|
|
77
|
+
id: this.$login.f.id,
|
|
78
|
+
orgid: this.$login.f.orgid
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
let res = await this.$resetpost(
|
|
82
|
+
'rs/sql/checkuser',
|
|
83
|
+
{data: data},
|
|
84
|
+
{resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
|
|
85
|
+
)
|
|
86
|
+
|
|
87
|
+
this.selectdata = res.data[0]
|
|
88
|
+
} else {
|
|
89
|
+
this.selectdata = servicedata
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
this.showtotal = false
|
|
93
|
+
this.$nextTick(() => {
|
|
94
|
+
this.showtotal = true
|
|
95
|
+
})
|
|
96
|
+
|
|
97
|
+
},
|
|
98
|
+
// 初始化
|
|
99
|
+
async 'apply' (val) {
|
|
100
|
+
this.showtotal = false
|
|
101
|
+
this.selectdata = val
|
|
102
|
+
|
|
103
|
+
// 次方法必须同步执行,否则后续会出问题
|
|
104
|
+
// 获取页面json配置文件
|
|
105
|
+
await this.loadName()
|
|
106
|
+
|
|
107
|
+
// 显示详细
|
|
108
|
+
this.showtotal = true
|
|
109
|
+
// 关闭列表数据
|
|
110
|
+
this.showData = false
|
|
111
|
+
// 关闭分页
|
|
112
|
+
this.$refs.query.$refs.cp.pager = false
|
|
113
|
+
},
|
|
114
|
+
'search' () {
|
|
115
|
+
// 关闭详细
|
|
116
|
+
this.showtotal = false
|
|
117
|
+
// 显示列表数据
|
|
118
|
+
this.showData = true
|
|
119
|
+
// 显示分页
|
|
120
|
+
this.$refs.query.$refs.cp.pager = true
|
|
121
|
+
// 调用查询
|
|
122
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
watch: {
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
</script>
|