apply-clients 3.4.18 → 3.4.20
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/build/dev-server.js +2 -2
- package/package.json +1 -1
- package/src/components/product/Process/ExplorationUser.vue +189 -189
- package/src/components/product/Process/Service/ServiceControl.vue +41 -4
- package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
- package/src/filiale/gehua/pc/ExplorationSelect.vue +483 -0
- package/src/filiale/gehua/pc/ServiceControl.vue +1929 -0
- package/src/filiale/gehua/pc/SupervisoryControl.vue +137 -0
- package/src/filiale/gehua/pc/SupervisoryServiceControl.vue +890 -0
- package/src/filiale/gehua/pc.js +10 -0
- package/src/main.js +1 -1
package/build/dev-server.js
CHANGED
|
@@ -8,8 +8,8 @@ var compiler = webpack(config)
|
|
|
8
8
|
// var proxy = httpProxy.createProxyServer()
|
|
9
9
|
// var ldap = 'http://121.36.79.201:8400'
|
|
10
10
|
// var applyinstall = 'http://121.36.79.201:8400'
|
|
11
|
-
var ldap = 'http://
|
|
12
|
-
var applyinstall = 'http://
|
|
11
|
+
var ldap = 'http://219.138.226.181:8401'
|
|
12
|
+
var applyinstall = 'http://219.138.226.181:8401'
|
|
13
13
|
|
|
14
14
|
var proxyTable = {
|
|
15
15
|
'/rs/logic/getSaleInitData': {
|
package/package.json
CHANGED
|
@@ -1,189 +1,189 @@
|
|
|
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
|
-
|
|
26
|
-
<validator name="v">
|
|
27
|
-
<modal v-if="showLater" :show.sync="showLater" v-ref:modal :large="true" :backdrop="false" title="稍后处理">
|
|
28
|
-
<header slot="modal-header" class="modal-header">
|
|
29
|
-
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
30
|
-
<h4 class="modal-title">稍后处理</h4>
|
|
31
|
-
</header>
|
|
32
|
-
|
|
33
|
-
<article slot="modal-body" class="modal-body clearfix">
|
|
34
|
-
<div class="form-group col-sm-12">
|
|
35
|
-
<label class="col-sm-2 control-label">稍后处理备注:</label>
|
|
36
|
-
<div class="col-sm-10">
|
|
37
|
-
<input type="textarea"
|
|
38
|
-
class="form-control input_view"
|
|
39
|
-
style="width: 100%"
|
|
40
|
-
v-model="laterapply.f_later_remarks" />
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
</article>
|
|
44
|
-
|
|
45
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
46
|
-
<button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="later()">稍后处理</button>
|
|
47
|
-
</footer>
|
|
48
|
-
</modal>
|
|
49
|
-
</validator>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
</template>
|
|
53
|
-
<script>
|
|
54
|
-
import Vue from 'vue'
|
|
55
|
-
import {HttpResetClass} from 'vue-client'
|
|
56
|
-
export default {
|
|
57
|
-
title: '报建流程',
|
|
58
|
-
data () {
|
|
59
|
-
return {
|
|
60
|
-
showQuery: true, // 控制查询页
|
|
61
|
-
showData: true, // 控制列表数据
|
|
62
|
-
showtotal: false, // 详情显示
|
|
63
|
-
selectdata: {},
|
|
64
|
-
xmlname: '', // 配置文件名
|
|
65
|
-
showLater: false,
|
|
66
|
-
laterapply: {}
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
ready () {
|
|
70
|
-
},
|
|
71
|
-
methods: {
|
|
72
|
-
// 获取页面配置json文件
|
|
73
|
-
async loadName () {
|
|
74
|
-
|
|
75
|
-
let data = {
|
|
76
|
-
workname: this.selectdata.processname
|
|
77
|
-
}
|
|
78
|
-
let http = new HttpResetClass()
|
|
79
|
-
let res = await http.load(
|
|
80
|
-
'POST',
|
|
81
|
-
'rs/logic/ApplyGetConfigs',
|
|
82
|
-
{data: data},
|
|
83
|
-
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
84
|
-
)
|
|
85
|
-
|
|
86
|
-
Vue.prototype.$workflow_vue = res.data
|
|
87
|
-
},
|
|
88
|
-
async later () {
|
|
89
|
-
let http = new HttpResetClass()
|
|
90
|
-
let data = {
|
|
91
|
-
laterapply: this.laterapply,
|
|
92
|
-
selectdata: this.selectdata,
|
|
93
|
-
user: this.$login.f
|
|
94
|
-
}
|
|
95
|
-
let res = await http.load('POST', 'rs/logic/laterprocessing', {data:data}, {
|
|
96
|
-
resolveMsg: null,
|
|
97
|
-
rejectMsg: '稍后处理记录保存失败!!!'
|
|
98
|
-
})
|
|
99
|
-
this.closeModal()
|
|
100
|
-
},
|
|
101
|
-
closeModal () {
|
|
102
|
-
this.selectdata = null
|
|
103
|
-
this.showLater = false
|
|
104
|
-
this.laterapply = {}
|
|
105
|
-
|
|
106
|
-
this.$refs.query.loadPage()
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
events: {
|
|
110
|
-
'onMessage' (data) {
|
|
111
|
-
console.log('接收消息')
|
|
112
|
-
console.log(data)
|
|
113
|
-
if (data.type === 'apply-task') {
|
|
114
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
// 刷新控制层
|
|
118
|
-
async 'breakControl' (servicedata) {
|
|
119
|
-
|
|
120
|
-
if (servicedata.id) {
|
|
121
|
-
let data = {
|
|
122
|
-
condition: `u.id = ${servicedata.id}`,
|
|
123
|
-
data: {
|
|
124
|
-
id: this.$login.f.id,
|
|
125
|
-
orgid: this.$login.f.orgid
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
let res = await this.$resetpost(
|
|
129
|
-
'rs/sql/checkuser',
|
|
130
|
-
{data: data},
|
|
131
|
-
{resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
|
|
132
|
-
)
|
|
133
|
-
|
|
134
|
-
this.selectdata = res.data[0]
|
|
135
|
-
} else {
|
|
136
|
-
this.selectdata = servicedata
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
this.showtotal = false
|
|
140
|
-
this.$nextTick(() => {
|
|
141
|
-
this.showtotal = true
|
|
142
|
-
})
|
|
143
|
-
|
|
144
|
-
},
|
|
145
|
-
async openLater (row) {
|
|
146
|
-
this.selectdata = row
|
|
147
|
-
this.showLater = true
|
|
148
|
-
},
|
|
149
|
-
// 初始化
|
|
150
|
-
async 'apply' (val) {
|
|
151
|
-
this.showtotal = false
|
|
152
|
-
this.selectdata = val
|
|
153
|
-
|
|
154
|
-
// 次方法必须同步执行,否则后续会出问题
|
|
155
|
-
// 获取页面json配置文件
|
|
156
|
-
await this.loadName()
|
|
157
|
-
|
|
158
|
-
// 显示详细
|
|
159
|
-
this.showtotal = true
|
|
160
|
-
// 关闭列表数据
|
|
161
|
-
this.showData = false
|
|
162
|
-
// 关闭分页
|
|
163
|
-
this.$refs.query.$refs.cp.pager = false
|
|
164
|
-
},
|
|
165
|
-
'search' () {
|
|
166
|
-
// 关闭详细
|
|
167
|
-
this.showtotal = false
|
|
168
|
-
// 显示列表数据
|
|
169
|
-
this.showData = true
|
|
170
|
-
// 显示分页
|
|
171
|
-
this.$refs.query.$refs.cp.pager = true
|
|
172
|
-
// 调用查询
|
|
173
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
174
|
-
},
|
|
175
|
-
'loadPage' () {
|
|
176
|
-
// 关闭详细
|
|
177
|
-
this.showtotal = false
|
|
178
|
-
// 显示列表数据
|
|
179
|
-
this.showData = true
|
|
180
|
-
// 显示分页
|
|
181
|
-
this.$refs.query.$refs.cp.pager = true
|
|
182
|
-
// 调用查询
|
|
183
|
-
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
watch: {
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
</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
|
+
|
|
26
|
+
<validator name="v">
|
|
27
|
+
<modal v-if="showLater" :show.sync="showLater" v-ref:modal :large="true" :backdrop="false" title="稍后处理">
|
|
28
|
+
<header slot="modal-header" class="modal-header">
|
|
29
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
30
|
+
<h4 class="modal-title">稍后处理</h4>
|
|
31
|
+
</header>
|
|
32
|
+
|
|
33
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
34
|
+
<div class="form-group col-sm-12">
|
|
35
|
+
<label class="col-sm-2 control-label">稍后处理备注:</label>
|
|
36
|
+
<div class="col-sm-10">
|
|
37
|
+
<input type="textarea"
|
|
38
|
+
class="form-control input_view"
|
|
39
|
+
style="width: 100%"
|
|
40
|
+
v-model="laterapply.f_later_remarks" />
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</article>
|
|
44
|
+
|
|
45
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
46
|
+
<button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="later()">稍后处理</button>
|
|
47
|
+
</footer>
|
|
48
|
+
</modal>
|
|
49
|
+
</validator>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</template>
|
|
53
|
+
<script>
|
|
54
|
+
import Vue from 'vue'
|
|
55
|
+
import {HttpResetClass} from 'vue-client'
|
|
56
|
+
export default {
|
|
57
|
+
title: '报建流程',
|
|
58
|
+
data () {
|
|
59
|
+
return {
|
|
60
|
+
showQuery: true, // 控制查询页
|
|
61
|
+
showData: true, // 控制列表数据
|
|
62
|
+
showtotal: false, // 详情显示
|
|
63
|
+
selectdata: {},
|
|
64
|
+
xmlname: '', // 配置文件名
|
|
65
|
+
showLater: false,
|
|
66
|
+
laterapply: {}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
ready () {
|
|
70
|
+
},
|
|
71
|
+
methods: {
|
|
72
|
+
// 获取页面配置json文件
|
|
73
|
+
async loadName () {
|
|
74
|
+
|
|
75
|
+
let data = {
|
|
76
|
+
workname: this.selectdata.processname
|
|
77
|
+
}
|
|
78
|
+
let http = new HttpResetClass()
|
|
79
|
+
let res = await http.load(
|
|
80
|
+
'POST',
|
|
81
|
+
'rs/logic/ApplyGetConfigs',
|
|
82
|
+
{data: data},
|
|
83
|
+
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
Vue.prototype.$workflow_vue = res.data
|
|
87
|
+
},
|
|
88
|
+
async later () {
|
|
89
|
+
let http = new HttpResetClass()
|
|
90
|
+
let data = {
|
|
91
|
+
laterapply: this.laterapply,
|
|
92
|
+
selectdata: this.selectdata,
|
|
93
|
+
user: this.$login.f
|
|
94
|
+
}
|
|
95
|
+
let res = await http.load('POST', 'rs/logic/laterprocessing', {data:data}, {
|
|
96
|
+
resolveMsg: null,
|
|
97
|
+
rejectMsg: '稍后处理记录保存失败!!!'
|
|
98
|
+
})
|
|
99
|
+
this.closeModal()
|
|
100
|
+
},
|
|
101
|
+
closeModal () {
|
|
102
|
+
this.selectdata = null
|
|
103
|
+
this.showLater = false
|
|
104
|
+
this.laterapply = {}
|
|
105
|
+
|
|
106
|
+
this.$refs.query.loadPage()
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
events: {
|
|
110
|
+
'onMessage' (data) {
|
|
111
|
+
console.log('接收消息')
|
|
112
|
+
console.log(data)
|
|
113
|
+
if (data.type === 'apply-task') {
|
|
114
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
// 刷新控制层
|
|
118
|
+
async 'breakControl' (servicedata) {
|
|
119
|
+
|
|
120
|
+
if (servicedata.id) {
|
|
121
|
+
let data = {
|
|
122
|
+
condition: `u.id = ${servicedata.id}`,
|
|
123
|
+
data: {
|
|
124
|
+
id: this.$login.f.id,
|
|
125
|
+
orgid: this.$login.f.orgid
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
let res = await this.$resetpost(
|
|
129
|
+
'rs/sql/checkuser',
|
|
130
|
+
{data: data},
|
|
131
|
+
{resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
|
|
132
|
+
)
|
|
133
|
+
|
|
134
|
+
this.selectdata = res.data[0]
|
|
135
|
+
} else {
|
|
136
|
+
this.selectdata = servicedata
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
this.showtotal = false
|
|
140
|
+
this.$nextTick(() => {
|
|
141
|
+
this.showtotal = true
|
|
142
|
+
})
|
|
143
|
+
|
|
144
|
+
},
|
|
145
|
+
async openLater (row) {
|
|
146
|
+
this.selectdata = row
|
|
147
|
+
this.showLater = true
|
|
148
|
+
},
|
|
149
|
+
// 初始化
|
|
150
|
+
async 'apply' (val) {
|
|
151
|
+
this.showtotal = false
|
|
152
|
+
this.selectdata = val
|
|
153
|
+
|
|
154
|
+
// 次方法必须同步执行,否则后续会出问题
|
|
155
|
+
// 获取页面json配置文件
|
|
156
|
+
await this.loadName()
|
|
157
|
+
|
|
158
|
+
// 显示详细
|
|
159
|
+
this.showtotal = true
|
|
160
|
+
// 关闭列表数据
|
|
161
|
+
this.showData = false
|
|
162
|
+
// 关闭分页
|
|
163
|
+
this.$refs.query.$refs.cp.pager = false
|
|
164
|
+
},
|
|
165
|
+
'search' () {
|
|
166
|
+
// 关闭详细
|
|
167
|
+
this.showtotal = false
|
|
168
|
+
// 显示列表数据
|
|
169
|
+
this.showData = true
|
|
170
|
+
// 显示分页
|
|
171
|
+
this.$refs.query.$refs.cp.pager = true
|
|
172
|
+
// 调用查询
|
|
173
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
174
|
+
},
|
|
175
|
+
'loadPage' () {
|
|
176
|
+
// 关闭详细
|
|
177
|
+
this.showtotal = false
|
|
178
|
+
// 显示列表数据
|
|
179
|
+
this.showData = true
|
|
180
|
+
// 显示分页
|
|
181
|
+
this.$refs.query.$refs.cp.pager = true
|
|
182
|
+
// 调用查询
|
|
183
|
+
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
watch: {
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
</script>
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
ready () {
|
|
43
43
|
this.refurbish()
|
|
44
44
|
this.servicer()
|
|
45
|
+
this.ceshi()
|
|
45
46
|
},
|
|
46
47
|
methods: {
|
|
47
48
|
async servicer(){
|
|
48
|
-
debugger
|
|
49
49
|
let data = {
|
|
50
50
|
tablename: 't_user',
|
|
51
51
|
condition: `1=1`
|
|
@@ -57,7 +57,6 @@
|
|
|
57
57
|
{data: data},
|
|
58
58
|
{resolveMsg: null, rejectMsg: '服务人查询失败!!!'}
|
|
59
59
|
)
|
|
60
|
-
debugger
|
|
61
60
|
this.setLabelOptions('服务人', res.data.map(item => {
|
|
62
61
|
return {
|
|
63
62
|
label: item.name,
|
|
@@ -65,6 +64,44 @@
|
|
|
65
64
|
}
|
|
66
65
|
}))
|
|
67
66
|
},
|
|
67
|
+
async ceshi(){
|
|
68
|
+
for (let i = 0; i < this.show_data.fields.length; i++) {
|
|
69
|
+
if (this.show_data.defname==='报装申请' && this.show_data.fields[i].label === '合同编号') {
|
|
70
|
+
debugger
|
|
71
|
+
let http2 = new HttpResetClass()
|
|
72
|
+
let applyNum = await http2.load('POST', 'rs/logic/getProjectNo', {
|
|
73
|
+
data: {
|
|
74
|
+
f_filiale: this.$login.f.orgs,
|
|
75
|
+
f_order_id: this.selectdata.f_order_id
|
|
76
|
+
}
|
|
77
|
+
}, {resolveMsg: null, rejectMsg: null})
|
|
78
|
+
debugger
|
|
79
|
+
console.log("生成的合同编号为:" + applyNum.data)
|
|
80
|
+
this.show_data.fields[i].value = applyNum.data
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
// async servicer(){
|
|
85
|
+
// debugger
|
|
86
|
+
// let data = {
|
|
87
|
+
// tablename: 't_user',
|
|
88
|
+
// condition: `1=1`
|
|
89
|
+
// }
|
|
90
|
+
// let http = new HttpResetClass()
|
|
91
|
+
// let res = await http.load(
|
|
92
|
+
// 'POST',
|
|
93
|
+
// `rs/sql/singleTable`,
|
|
94
|
+
// {data: data},
|
|
95
|
+
// {resolveMsg: null, rejectMsg: '服务人查询失败!!!'}
|
|
96
|
+
// )
|
|
97
|
+
// debugger
|
|
98
|
+
// this.setLabelOptions('服务人', res.data.map(item => {
|
|
99
|
+
// return {
|
|
100
|
+
// label: item.name,
|
|
101
|
+
// value: item.name
|
|
102
|
+
// }
|
|
103
|
+
// }))
|
|
104
|
+
// },
|
|
68
105
|
// 组件初始化操作
|
|
69
106
|
async refurbish() {
|
|
70
107
|
this.json_datas = this.$workflow_vue
|
|
@@ -291,6 +328,7 @@
|
|
|
291
328
|
this.$nextTick(() => {
|
|
292
329
|
this.showview = true
|
|
293
330
|
})
|
|
331
|
+
this.ceshi()
|
|
294
332
|
},
|
|
295
333
|
// 金额转大写
|
|
296
334
|
smalltoBIG(n) {
|
|
@@ -1200,7 +1238,6 @@
|
|
|
1200
1238
|
},
|
|
1201
1239
|
// 通气点火初始化
|
|
1202
1240
|
async 'gasReadyEvent' () {
|
|
1203
|
-
debugger
|
|
1204
1241
|
// 是否有气价信息
|
|
1205
1242
|
if (!isEmpty(this.show_data.f_price_id)) {
|
|
1206
1243
|
let priceList = await this.getPrice(this.show_data.f_price_id)
|
|
@@ -1737,7 +1774,7 @@
|
|
|
1737
1774
|
// else{
|
|
1738
1775
|
// this.$dispatch('loadPage')
|
|
1739
1776
|
// }
|
|
1740
|
-
|
|
1777
|
+
this.$dispatch('loadPage')
|
|
1741
1778
|
},
|
|
1742
1779
|
// 失去焦点出触发事件
|
|
1743
1780
|
'onchange' (index) {
|