apply-clients 3.1.44 → 3.1.48
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 +112 -112
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +315 -304
- package/src/components/product/Function/InstallInfoSelect.vue +11 -0
- package/src/components/product/Process/ExplorationSelect.vue +12 -0
- package/src/components/product/Process/ExplorationUser.vue +168 -168
- package/src/components/product/Report/ApplyGongliaoList.vue +1 -1
- package/src/components/product/ReportForm/CustomerRecordMessage.vue +1589 -1587
- package/src/components/product/Supervisory/SupervisoryList.vue +12 -0
- package/src/components/product/Supervisory/SupervisoryList2.vue +12 -0
- package/yarn-error.log +9175 -0
|
@@ -104,6 +104,17 @@
|
|
|
104
104
|
condition="f_apply_date <= '{}'">
|
|
105
105
|
</datepicker>
|
|
106
106
|
</div>
|
|
107
|
+
<div class="form-group col-sm-4">
|
|
108
|
+
<label for="endDate" class="font_normal_body">收费日期:</label>
|
|
109
|
+
<datepicker id="f_charge_date" placeholder="收费日期"
|
|
110
|
+
style="width: 60%!important;"
|
|
111
|
+
v-model="model.f_charge_date"
|
|
112
|
+
:value.sync="model.f_charge_date"
|
|
113
|
+
:format="'yyyy-MM-dd'"
|
|
114
|
+
:show-reset-button="true"
|
|
115
|
+
condition="c.f_charge_date <= '{} 23:59:59' and c.f_charge_date >= '{} 00:00:00'">
|
|
116
|
+
</datepicker>
|
|
117
|
+
</div>
|
|
107
118
|
</div>
|
|
108
119
|
</div>
|
|
109
120
|
</criteria>
|
|
@@ -105,6 +105,17 @@
|
|
|
105
105
|
condition="f_apply_date <= '{}'">
|
|
106
106
|
</datepicker>
|
|
107
107
|
</div>
|
|
108
|
+
<div class="form-group col-sm-3">
|
|
109
|
+
<label for="endDate" class="font_normal_body">收费日期:</label>
|
|
110
|
+
<datepicker id="f_charge_date" placeholder="收费日期"
|
|
111
|
+
style="width: 60%!important;"
|
|
112
|
+
v-model="model.f_charge_date"
|
|
113
|
+
:value.sync="model.f_charge_date"
|
|
114
|
+
:format="'yyyy-MM-dd'"
|
|
115
|
+
:show-reset-button="true"
|
|
116
|
+
condition="c.f_charge_date <= '{} 23:59:59' and c.f_charge_date >= '{} 00:00:00'">
|
|
117
|
+
</datepicker>
|
|
118
|
+
</div>
|
|
108
119
|
</div>
|
|
109
120
|
</div>
|
|
110
121
|
</criteria>
|
|
@@ -318,6 +329,7 @@
|
|
|
318
329
|
},
|
|
319
330
|
// 点击操作
|
|
320
331
|
click(val) {
|
|
332
|
+
this.criteriaShow = false
|
|
321
333
|
this.$dispatch('apply', val)
|
|
322
334
|
}
|
|
323
335
|
},
|
|
@@ -1,168 +1,168 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="basic-main">
|
|
3
|
-
<div class="tops" v-bind:style="{ height: topheight }">
|
|
4
|
-
<exploration-select v-ref:queryuser v-show="show"></exploration-select>
|
|
5
|
-
</div>
|
|
6
|
-
<div v-if="showtotal" v-bind:style="{ height: botheight, 'margin-top' : '20px'}">
|
|
7
|
-
<tabset v-ref:tabs :close="false">
|
|
8
|
-
<tab header='集中报装' v-if="selectdata.f_apply_type == '集中报建'" style="background-color :#f6f6f6">
|
|
9
|
-
<record-message v-ref:record :selectdata="selectdata" :key="tittle1"
|
|
10
|
-
:edit = "true">
|
|
11
|
-
</record-message>
|
|
12
|
-
</tab>
|
|
13
|
-
<tab :header='header' style="background-color :#ffffff!important;overflow: auto;">
|
|
14
|
-
<service-control v-ref:service :selectdata="selectdata"></service-control>
|
|
15
|
-
</tab>
|
|
16
|
-
<tab header='附件' style="background-color :#ffffff!important;overflow: auto;">
|
|
17
|
-
<apply-upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "true" :isremark = "true" :isupload = "true" :defname="selectdata.defname"></apply-upload>
|
|
18
|
-
</tab>
|
|
19
|
-
</tabset>
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
</template>
|
|
23
|
-
<script>
|
|
24
|
-
import Vue from 'vue'
|
|
25
|
-
import {HttpResetClass} from 'vue-client'
|
|
26
|
-
export default {
|
|
27
|
-
title: '报建流程',
|
|
28
|
-
data () {
|
|
29
|
-
return {
|
|
30
|
-
show: true, // 控制列表列表
|
|
31
|
-
showtotal: false, // 详情显示
|
|
32
|
-
header: null, // tag 标题
|
|
33
|
-
selectdata: {},
|
|
34
|
-
botheight: '0%', // 详情信息显示高度
|
|
35
|
-
topheight: '100%', // 列表显示高度
|
|
36
|
-
xmlname: '' // 配置文件名
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
created () {
|
|
40
|
-
},
|
|
41
|
-
methods: {
|
|
42
|
-
// 获取页面配置json文件
|
|
43
|
-
async loadName () {
|
|
44
|
-
let http = new HttpResetClass()
|
|
45
|
-
let xmldata = {
|
|
46
|
-
data: this.$login.f,
|
|
47
|
-
workname: this.xmlname
|
|
48
|
-
}
|
|
49
|
-
let res = await http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null})
|
|
50
|
-
|
|
51
|
-
if (res.data.code && res.data.code === 200) {
|
|
52
|
-
Vue.prototype.$workflow_vue = res.data.workflow_vue
|
|
53
|
-
} else {
|
|
54
|
-
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
55
|
-
return
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
async getProcessId() {
|
|
59
|
-
let http = new HttpResetClass()
|
|
60
|
-
let data = {
|
|
61
|
-
workname: this.xmlname
|
|
62
|
-
}
|
|
63
|
-
let res = await http.load('POST', 'rs/logic/getProcessId', {data: data}, {resolveMsg: null, rejectMsg: null})
|
|
64
|
-
|
|
65
|
-
this.selectdata.f_process_id = res.data
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
events: {
|
|
69
|
-
'onMessage' (data) {
|
|
70
|
-
console.log('接收消息')
|
|
71
|
-
console.log(data)
|
|
72
|
-
if (data.type === 'apply-task') {
|
|
73
|
-
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
// 刷新控制层
|
|
77
|
-
async 'breakControl' (servicedata) {
|
|
78
|
-
|
|
79
|
-
if (servicedata.id) {
|
|
80
|
-
let data = {
|
|
81
|
-
condition: `u.id = ${servicedata.id}`,
|
|
82
|
-
data: {
|
|
83
|
-
id: this.$login.f.id,
|
|
84
|
-
org: this.$login.f.orgs
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
let res = await this.$resetpost(
|
|
88
|
-
'rs/sql/checkuser',
|
|
89
|
-
{data: data},
|
|
90
|
-
{resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
|
|
91
|
-
)
|
|
92
|
-
|
|
93
|
-
this.selectdata = res.data[0]
|
|
94
|
-
} else {
|
|
95
|
-
this.selectdata = servicedata
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
this.showtotal = false
|
|
99
|
-
this.$nextTick(() => {
|
|
100
|
-
this.showtotal = true
|
|
101
|
-
})
|
|
102
|
-
|
|
103
|
-
},
|
|
104
|
-
// 初始化
|
|
105
|
-
async 'apply' (val) {
|
|
106
|
-
this.selectdata = val
|
|
107
|
-
|
|
108
|
-
if (this.selectdata.f_apply_type === '集中报建') {
|
|
109
|
-
this.xmlname = '集中报建流程'
|
|
110
|
-
} else if (this.selectdata.f_apply_type === '散户报建') {
|
|
111
|
-
this.xmlname = '散户报建流程'
|
|
112
|
-
} else if (this.selectdata.f_apply_type === '非民用报建') {
|
|
113
|
-
this.xmlname = '非民用报建流程'
|
|
114
|
-
} else {
|
|
115
|
-
this.$showMessage('暂无此类报装')
|
|
116
|
-
return
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
// 获取页面json配置文件
|
|
120
|
-
// 次方法必须同步执行,否则后续会出问题
|
|
121
|
-
await this.loadName()
|
|
122
|
-
|
|
123
|
-
if(this.selectdata.defname === this.$workflow_vue.start_activity) {
|
|
124
|
-
// 获取流程id
|
|
125
|
-
await this.getProcessId()
|
|
126
|
-
}
|
|
127
|
-
// 显示详细
|
|
128
|
-
this.showtotal = true
|
|
129
|
-
this.topheight = '10%'
|
|
130
|
-
this.botheight = '90%'
|
|
131
|
-
// 列表显示当前数据
|
|
132
|
-
this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [this.selectdata]
|
|
133
|
-
// 关闭分页
|
|
134
|
-
this.$refs.queryuser.$refs.cp.pager = false
|
|
135
|
-
|
|
136
|
-
// tab标题
|
|
137
|
-
this.header = this.selectdata.defname
|
|
138
|
-
},
|
|
139
|
-
// 关闭详情页等
|
|
140
|
-
'close' () {
|
|
141
|
-
this.showtotal = false
|
|
142
|
-
this.topheight = '100%'
|
|
143
|
-
this.botheight = '0%'
|
|
144
|
-
this.$refs.queryuser.$refs.cp.pager = true
|
|
145
|
-
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
146
|
-
},
|
|
147
|
-
'hidden' (criteriaShow) {
|
|
148
|
-
if (!this.showtotal && !criteriaShow) {
|
|
149
|
-
|
|
150
|
-
}
|
|
151
|
-
if (!this.showtotal && criteriaShow) {
|
|
152
|
-
|
|
153
|
-
}
|
|
154
|
-
if (this.showtotal && !criteriaShow) {
|
|
155
|
-
this.topheight = '20%'
|
|
156
|
-
this.botheight = '80%'
|
|
157
|
-
}
|
|
158
|
-
if (this.showtotal && criteriaShow) {
|
|
159
|
-
this.topheight = '10%'
|
|
160
|
-
this.botheight = '90%'
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
watch: {
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main">
|
|
3
|
+
<div class="tops" v-bind:style="{ height: topheight }">
|
|
4
|
+
<exploration-select v-ref:queryuser v-show="show"></exploration-select>
|
|
5
|
+
</div>
|
|
6
|
+
<div v-if="showtotal" v-bind:style="{ height: botheight, 'margin-top' : '20px'}">
|
|
7
|
+
<tabset v-ref:tabs :close="false">
|
|
8
|
+
<tab header='集中报装' v-if="selectdata.f_apply_type == '集中报建'" style="background-color :#f6f6f6">
|
|
9
|
+
<record-message v-ref:record :selectdata="selectdata" :key="tittle1"
|
|
10
|
+
:edit = "true">
|
|
11
|
+
</record-message>
|
|
12
|
+
</tab>
|
|
13
|
+
<tab :header='header' style="background-color :#ffffff!important;overflow: auto;">
|
|
14
|
+
<service-control v-ref:service :selectdata="selectdata"></service-control>
|
|
15
|
+
</tab>
|
|
16
|
+
<tab header='附件' style="background-color :#ffffff!important;overflow: auto;">
|
|
17
|
+
<apply-upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "true" :isdelete = "true" :isremark = "true" :isupload = "true" :defname="selectdata.defname"></apply-upload>
|
|
18
|
+
</tab>
|
|
19
|
+
</tabset>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
<script>
|
|
24
|
+
import Vue from 'vue'
|
|
25
|
+
import {HttpResetClass} from 'vue-client'
|
|
26
|
+
export default {
|
|
27
|
+
title: '报建流程',
|
|
28
|
+
data () {
|
|
29
|
+
return {
|
|
30
|
+
show: true, // 控制列表列表
|
|
31
|
+
showtotal: false, // 详情显示
|
|
32
|
+
header: null, // tag 标题
|
|
33
|
+
selectdata: {},
|
|
34
|
+
botheight: '0%', // 详情信息显示高度
|
|
35
|
+
topheight: '100%', // 列表显示高度
|
|
36
|
+
xmlname: '' // 配置文件名
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
created () {
|
|
40
|
+
},
|
|
41
|
+
methods: {
|
|
42
|
+
// 获取页面配置json文件
|
|
43
|
+
async loadName () {
|
|
44
|
+
let http = new HttpResetClass()
|
|
45
|
+
let xmldata = {
|
|
46
|
+
data: this.$login.f,
|
|
47
|
+
workname: this.xmlname
|
|
48
|
+
}
|
|
49
|
+
let res = await http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null})
|
|
50
|
+
|
|
51
|
+
if (res.data.code && res.data.code === 200) {
|
|
52
|
+
Vue.prototype.$workflow_vue = res.data.workflow_vue
|
|
53
|
+
} else {
|
|
54
|
+
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
55
|
+
return
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
async getProcessId() {
|
|
59
|
+
let http = new HttpResetClass()
|
|
60
|
+
let data = {
|
|
61
|
+
workname: this.xmlname
|
|
62
|
+
}
|
|
63
|
+
let res = await http.load('POST', 'rs/logic/getProcessId', {data: data}, {resolveMsg: null, rejectMsg: null})
|
|
64
|
+
|
|
65
|
+
this.selectdata.f_process_id = res.data
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
events: {
|
|
69
|
+
'onMessage' (data) {
|
|
70
|
+
console.log('接收消息')
|
|
71
|
+
console.log(data)
|
|
72
|
+
if (data.type === 'apply-task') {
|
|
73
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
// 刷新控制层
|
|
77
|
+
async 'breakControl' (servicedata) {
|
|
78
|
+
|
|
79
|
+
if (servicedata.id) {
|
|
80
|
+
let data = {
|
|
81
|
+
condition: `u.id = ${servicedata.id}`,
|
|
82
|
+
data: {
|
|
83
|
+
id: this.$login.f.id,
|
|
84
|
+
org: this.$login.f.orgs
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
let res = await this.$resetpost(
|
|
88
|
+
'rs/sql/checkuser',
|
|
89
|
+
{data: data},
|
|
90
|
+
{resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
|
|
91
|
+
)
|
|
92
|
+
|
|
93
|
+
this.selectdata = res.data[0]
|
|
94
|
+
} else {
|
|
95
|
+
this.selectdata = servicedata
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
this.showtotal = false
|
|
99
|
+
this.$nextTick(() => {
|
|
100
|
+
this.showtotal = true
|
|
101
|
+
})
|
|
102
|
+
|
|
103
|
+
},
|
|
104
|
+
// 初始化
|
|
105
|
+
async 'apply' (val) {
|
|
106
|
+
this.selectdata = val
|
|
107
|
+
|
|
108
|
+
if (this.selectdata.f_apply_type === '集中报建') {
|
|
109
|
+
this.xmlname = '集中报建流程'
|
|
110
|
+
} else if (this.selectdata.f_apply_type === '散户报建') {
|
|
111
|
+
this.xmlname = '散户报建流程'
|
|
112
|
+
} else if (this.selectdata.f_apply_type === '非民用报建') {
|
|
113
|
+
this.xmlname = '非民用报建流程'
|
|
114
|
+
} else {
|
|
115
|
+
this.$showMessage('暂无此类报装')
|
|
116
|
+
return
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
// 获取页面json配置文件
|
|
120
|
+
// 次方法必须同步执行,否则后续会出问题
|
|
121
|
+
await this.loadName()
|
|
122
|
+
|
|
123
|
+
if(this.selectdata.defname === this.$workflow_vue.start_activity) {
|
|
124
|
+
// 获取流程id
|
|
125
|
+
await this.getProcessId()
|
|
126
|
+
}
|
|
127
|
+
// 显示详细
|
|
128
|
+
this.showtotal = true
|
|
129
|
+
this.topheight = '10%'
|
|
130
|
+
this.botheight = '90%'
|
|
131
|
+
// 列表显示当前数据
|
|
132
|
+
this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [this.selectdata]
|
|
133
|
+
// 关闭分页
|
|
134
|
+
this.$refs.queryuser.$refs.cp.pager = false
|
|
135
|
+
|
|
136
|
+
// tab标题
|
|
137
|
+
this.header = this.selectdata.defname
|
|
138
|
+
},
|
|
139
|
+
// 关闭详情页等
|
|
140
|
+
'close' () {
|
|
141
|
+
this.showtotal = false
|
|
142
|
+
this.topheight = '100%'
|
|
143
|
+
this.botheight = '0%'
|
|
144
|
+
this.$refs.queryuser.$refs.cp.pager = true
|
|
145
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
146
|
+
},
|
|
147
|
+
'hidden' (criteriaShow) {
|
|
148
|
+
if (!this.showtotal && !criteriaShow) {
|
|
149
|
+
|
|
150
|
+
}
|
|
151
|
+
if (!this.showtotal && criteriaShow) {
|
|
152
|
+
|
|
153
|
+
}
|
|
154
|
+
if (this.showtotal && !criteriaShow) {
|
|
155
|
+
this.topheight = '20%'
|
|
156
|
+
this.botheight = '80%'
|
|
157
|
+
}
|
|
158
|
+
if (this.showtotal && criteriaShow) {
|
|
159
|
+
this.topheight = '10%'
|
|
160
|
+
this.botheight = '90%'
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
watch: {
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
</script>
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
<nobr><font>{{row.f_ticket_number}}</font></nobr>
|
|
125
125
|
</td>
|
|
126
126
|
<td style="text-align: center;">
|
|
127
|
-
<nobr><font>{{row.
|
|
127
|
+
<nobr><font>{{row.f_charge_date}}</font></nobr>
|
|
128
128
|
</td>
|
|
129
129
|
<td style="text-align: center;">
|
|
130
130
|
<nobr><font>{{row.f_operator}}</font></nobr>
|