apply-clients 4.1.66 → 4.1.67
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/index.html +30 -30
- package/package.json +1 -1
- package/src/apply.js +67 -67
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -251
- package/src/components/product/Function/InstallInfoSelect.vue +282 -282
- package/src/components/product/Function/StopApplyCrrdList.vue +176 -176
- package/src/components/product/Process/ExplorationSelect.vue +354 -354
- package/src/components/product/Process/ExplorationUser.vue +134 -134
- package/src/components/product/Process/Processes/InstallationDetails.vue +291 -292
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +37 -28
- package/src/components/product/Process/Processes/chargeManagement.vue +9 -9
- package/src/components/product/Process/Processes/printCharge.vue +130 -130
- package/src/components/product/Process/Processes/recordcancel.vue +50 -50
- package/src/components/product/Process/Service/ServiceControl.vue +57 -39
- package/src/components/product/ServiceView.vue +1 -0
- package/src/components/product/Supervisory/SupervisoryControl.vue +119 -119
- package/src/components/product/Supervisory/SupervisoryList.vue +208 -208
- package/src/components/product/Test.vue +40 -40
- package/src/components/product/VueUtils/ApplyUpload.vue +261 -261
- package/dist.rar +0 -0
|
@@ -23,19 +23,20 @@
|
|
|
23
23
|
@click="$parent.$parent.unpass()">退回</button>
|
|
24
24
|
<button v-if="$parent.$parent.showcover"type="button" class="btn btn-info head-but"
|
|
25
25
|
@click="$parent.$parent.pass()">恢复</button>
|
|
26
|
-
<button v-if="$parent.$parent.showfiling"type="button" class="btn btn-info head-but"
|
|
27
|
-
@click="$parent.$parent.filing()">建档不合格</button
|
|
26
|
+
<!-- <button v-if="$parent.$parent.showfiling"type="button" class="btn btn-info head-but"-->
|
|
27
|
+
<!-- @click="$parent.$parent.filing()">建档不合格</button>-->
|
|
28
28
|
<button v-if="$parent.$parent.showhina" type="button" class="btn btn-info head-but"
|
|
29
29
|
:disabled="$parent.$parent.mark === 1"
|
|
30
30
|
@click="$parent.$parent.showFileModal()">导入</button>
|
|
31
31
|
<a v-if="$parent.$parent.showhina" type="button" class="btn btn-info head-but"
|
|
32
|
-
href="/apply/download/excel
|
|
33
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
34
|
-
:field="$parent.$parent.getfield"
|
|
35
|
-
sqlurl="rs/logic/applyExportfile"
|
|
36
|
-
sql-name="
|
|
37
|
-
template-name='
|
|
38
|
-
|
|
32
|
+
href="/apply/download/excel/中盛地址批量导入.xlsx" download>模板下载</a>
|
|
33
|
+
<!-- <export-excel :data="$parent.$parent.getCondition"-->
|
|
34
|
+
<!-- :field="$parent.$parent.getfield"-->
|
|
35
|
+
<!-- sqlurl="rs/logic/applyExportfile"-->
|
|
36
|
+
<!-- sql-name="getAddressAanUserinfo"-->
|
|
37
|
+
<!-- template-name='花名册导出'-->
|
|
38
|
+
<!-- btn-name="花名册导出"-->
|
|
39
|
+
<!-- :choose-col="true"></export-excel>-->
|
|
39
40
|
|
|
40
41
|
</th>
|
|
41
42
|
</tr>
|
|
@@ -95,7 +96,7 @@
|
|
|
95
96
|
<td style="text-align: center;">
|
|
96
97
|
<button v-if="$parent.$parent.showclean" class="button_new button_spacing" style="width: max-content" @click.prevent="$parent.$parent.cleanupload(row)">删除</button>
|
|
97
98
|
<button v-if="$parent.$parent.showrecover" class="button_new button_spacing" style="width: max-content" @click.prevent="$parent.$parent.recoverupload(row)">恢复</button>
|
|
98
|
-
|
|
99
|
+
<!-- <button v-if="$parent.$parent.showfire" class="button_new button_spacing" style="width: max-content" @click.prevent="$parent.$parent.fire(row)">点火</button>-->
|
|
99
100
|
</td>
|
|
100
101
|
</tr>
|
|
101
102
|
</template>
|
|
@@ -660,15 +661,21 @@ export default {
|
|
|
660
661
|
all:[],
|
|
661
662
|
remark:'',
|
|
662
663
|
getfield: {
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
664
|
+
"f_pcd": "省市区",
|
|
665
|
+
"f_street": "街道",
|
|
666
|
+
"f_slice_area": "片区/管理站",
|
|
667
|
+
"f_residential_area": "小区",
|
|
668
|
+
"f_special": "地址类型",
|
|
669
|
+
"f_building": "楼号",
|
|
670
|
+
"f_unit": "单元号",
|
|
671
|
+
"f_floor": "楼层",
|
|
672
|
+
"f_room": "门牌号",
|
|
673
|
+
"f_address": "地址",
|
|
674
|
+
"f_user_name": "用户姓名/单位名称",
|
|
675
|
+
"f_user_phone": "电话",
|
|
676
|
+
"f_credentials": "证件类型",
|
|
677
|
+
"f_idnumber": "证件号码",
|
|
678
|
+
"f_people_num": "人口数"
|
|
672
679
|
}
|
|
673
680
|
}
|
|
674
681
|
},
|
|
@@ -726,7 +733,7 @@ export default {
|
|
|
726
733
|
}
|
|
727
734
|
let http = new HttpResetClass()
|
|
728
735
|
http.load('POST', 'rs/logic/batchcheck', {data:data}, {resolveMsg: null, rejectMsg: null})
|
|
729
|
-
|
|
736
|
+
}
|
|
730
737
|
|
|
731
738
|
console.log("13ef44", this.selectdata.f_process_id)
|
|
732
739
|
let http = new HttpResetClass()
|
|
@@ -742,7 +749,7 @@ export default {
|
|
|
742
749
|
http.load('POST', 'rs/logic/recoverson', {process:son.data[0].f_process_id}, {resolveMsg: null, rejectMsg: null})
|
|
743
750
|
this.$dispatch('search')
|
|
744
751
|
}
|
|
745
|
-
else {
|
|
752
|
+
else {
|
|
746
753
|
let data = {
|
|
747
754
|
start_activity: this.$workflow_vue.start_activity,
|
|
748
755
|
model: this.selectdata,
|
|
@@ -788,12 +795,14 @@ else {
|
|
|
788
795
|
//查父流程是否关闭
|
|
789
796
|
for(let i=0;i<resparent.data.length;i++) {
|
|
790
797
|
if (resparent.data[i].defname === '竣工验收' && resparent.data[i].state === '结束')
|
|
791
|
-
|
|
798
|
+
// let http2 = new HttpResetClass()
|
|
799
|
+
await http.load('POST', 'rs/logic/parentprocess', {data: {processid: resparent.data[i].processid, defname: resparent.data[i].defname}}, {
|
|
792
800
|
resolveMsg: null,
|
|
793
801
|
rejectMsg: null
|
|
794
802
|
})
|
|
795
803
|
if (resparent.data[i].defname === '营业厅建档' && resparent.data[i].state === '结束')
|
|
796
|
-
|
|
804
|
+
// let http3 = new HttpResetClass()
|
|
805
|
+
await http.load('POST', 'rs/logic/parentprocess', {data: {processid: resparent.data[i].processid, defname: resparent.data[i].defname}}, {
|
|
797
806
|
resolveMsg: null,
|
|
798
807
|
rejectMsg: null
|
|
799
808
|
})
|
|
@@ -1086,12 +1095,12 @@ else {
|
|
|
1086
1095
|
|
|
1087
1096
|
},
|
|
1088
1097
|
getCondition () {
|
|
1089
|
-
|
|
1090
|
-
condition:
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
}
|
|
1098
|
+
let data = {
|
|
1099
|
+
condition: " 1=1",
|
|
1100
|
+
f_filialeid: this.$login.f.orgid,
|
|
1101
|
+
f_process_id: this.selectdata.f_process_id,
|
|
1094
1102
|
}
|
|
1103
|
+
return data
|
|
1095
1104
|
}
|
|
1096
1105
|
},
|
|
1097
1106
|
watch: {
|
|
@@ -76,12 +76,12 @@
|
|
|
76
76
|
@click="$parent.$parent.showInvalidModal(row)"
|
|
77
77
|
>作废</button>
|
|
78
78
|
|
|
79
|
-
<button
|
|
80
|
-
type="button"
|
|
81
|
-
name="button"
|
|
82
|
-
class="btn btn-link"
|
|
83
|
-
@click="$parent.$parent.showPrintModal(row)"
|
|
84
|
-
>打印预览</button
|
|
79
|
+
<!-- <button-->
|
|
80
|
+
<!-- type="button"-->
|
|
81
|
+
<!-- name="button"-->
|
|
82
|
+
<!-- class="btn btn-link"-->
|
|
83
|
+
<!-- @click="$parent.$parent.showPrintModal(row)"-->
|
|
84
|
+
<!-- >打印预览</button>-->
|
|
85
85
|
</nobr>
|
|
86
86
|
</td>
|
|
87
87
|
</tr>
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
</div>
|
|
147
147
|
</div>
|
|
148
148
|
<div class="form-group col-sm-12"
|
|
149
|
-
v-if="selectdata.f_apply_type === '散户集体报建'
|
|
149
|
+
v-if="selectdata.f_apply_type === '散户集体报建'"
|
|
150
150
|
>
|
|
151
151
|
<label class="col-sm-2 control-label">单价(户):</label>
|
|
152
152
|
<div class="col-sm-10">
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
</div>
|
|
159
159
|
</div>
|
|
160
160
|
<div class="form-group col-sm-12"
|
|
161
|
-
v-if="selectdata.f_apply_type === '散户集体报建'
|
|
161
|
+
v-if="selectdata.f_apply_type === '散户集体报建'"
|
|
162
162
|
>
|
|
163
163
|
<label class="col-sm-2 control-label">累计缴费金额:</label>
|
|
164
164
|
<div class="col-sm-10">
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
</div>
|
|
171
171
|
</div>
|
|
172
172
|
<div class="form-group col-sm-12"
|
|
173
|
-
v-if="selectdata.f_apply_type === '散户集体报建'
|
|
173
|
+
v-if="selectdata.f_apply_type === '散户集体报建'"
|
|
174
174
|
>
|
|
175
175
|
<label class="col-sm-2 control-label">未结金额:</label>
|
|
176
176
|
<div class="col-sm-10">
|
|
@@ -1,130 +1,130 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<style id="style">
|
|
3
|
-
td{
|
|
4
|
-
height: 50px;
|
|
5
|
-
width: 40px;
|
|
6
|
-
text-align: center;
|
|
7
|
-
}
|
|
8
|
-
table{
|
|
9
|
-
margin: auto;
|
|
10
|
-
width: 100%;
|
|
11
|
-
border-collapse:collapse;
|
|
12
|
-
border: 1px solid black;
|
|
13
|
-
}
|
|
14
|
-
h1,h2,h3,h4,h5,h6 {
|
|
15
|
-
text-align: center;
|
|
16
|
-
}
|
|
17
|
-
.date{
|
|
18
|
-
float: left;
|
|
19
|
-
padding-left: 30px;
|
|
20
|
-
}
|
|
21
|
-
.number{
|
|
22
|
-
float: right;
|
|
23
|
-
padding-right: 30px;
|
|
24
|
-
}
|
|
25
|
-
.rescue{
|
|
26
|
-
float: left;
|
|
27
|
-
padding: 0 30px 0 40px;
|
|
28
|
-
}
|
|
29
|
-
.service{
|
|
30
|
-
float: left;
|
|
31
|
-
}
|
|
32
|
-
.payee{
|
|
33
|
-
float: right;
|
|
34
|
-
padding-right: 30px;
|
|
35
|
-
}
|
|
36
|
-
</style>
|
|
37
|
-
<div id="print">
|
|
38
|
-
<h4>陕西中盛天然气有限公司收费单</h4>
|
|
39
|
-
<span>
|
|
40
|
-
<p class="date">{{new Date().Format('yyyy-MM-dd HH:mm:ss')}}</p>
|
|
41
|
-
<p class="number">缴费编号:{{ charge.f_charge_number }}</p>
|
|
42
|
-
</span>
|
|
43
|
-
<table border="1">
|
|
44
|
-
<tr>
|
|
45
|
-
<td>用户姓名</td>
|
|
46
|
-
<td colspan="2">{{ f_user_name }}</td>
|
|
47
|
-
<td>联系电话</td>
|
|
48
|
-
<td>{{ f_user_phone }}</td>
|
|
49
|
-
</tr>
|
|
50
|
-
<tr
|
|
51
|
-
<td>地  址</td
|
|
52
|
-
<td colspan="4">{{ f_useraddress }}</td
|
|
53
|
-
</tr
|
|
54
|
-
<tr>
|
|
55
|
-
<td>收费项目</td>
|
|
56
|
-
<td colspan="2">安装费</td>
|
|
57
|
-
<td>收费方式</td>
|
|
58
|
-
<td>{{ charge.f_payment_method }}</td>
|
|
59
|
-
</tr>
|
|
60
|
-
<tr>
|
|
61
|
-
<td>收费金额</td>
|
|
62
|
-
<td>{{ charge.f_charge_money }}</td>
|
|
63
|
-
<td>大  写</td>
|
|
64
|
-
<td colspan="2">{{ charge.f_amount_words }}</td>
|
|
65
|
-
</tr>
|
|
66
|
-
<tr>
|
|
67
|
-
<td>备  注</td>
|
|
68
|
-
<td colspan="4">{{ selectdata.f_entry_name }}</td>
|
|
69
|
-
</tr>
|
|
70
|
-
</table>
|
|
71
|
-
<span>
|
|
72
|
-
<p class="rescue">
|
|
73
|
-
<!-- 抢险电话:5835588-->
|
|
74
|
-
</p>
|
|
75
|
-
<p class="service">
|
|
76
|
-
<!-- 服务电话:3718002-->
|
|
77
|
-
</p>
|
|
78
|
-
<p class="payee">收款人:{{ charge.f_charge_collectors }}</p>
|
|
79
|
-
</span>
|
|
80
|
-
</div>
|
|
81
|
-
|
|
82
|
-
<print-element v-show="false" v-ref:print id='print' styleid='style'
|
|
83
|
-
top='40' left='60' width='100%' height='100%'>
|
|
84
|
-
</print-element>
|
|
85
|
-
</template>
|
|
86
|
-
|
|
87
|
-
<script>
|
|
88
|
-
import { isEmpty } from '../../../Util'
|
|
89
|
-
Date.prototype.Format = function (fmt) {
|
|
90
|
-
var o = {
|
|
91
|
-
"M+": this.getMonth() + 1, //月份
|
|
92
|
-
"d+": this.getDate(), //日
|
|
93
|
-
"H+": this.getHours(), //小时
|
|
94
|
-
"m+": this.getMinutes(), //分
|
|
95
|
-
"s+": this.getSeconds(), //秒
|
|
96
|
-
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
|
|
97
|
-
"S": this.getMilliseconds() //毫秒
|
|
98
|
-
};
|
|
99
|
-
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
|
|
100
|
-
for (var k in o)
|
|
101
|
-
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
|
|
102
|
-
return fmt;
|
|
103
|
-
}
|
|
104
|
-
export default {
|
|
105
|
-
title: '打印收费票据',
|
|
106
|
-
props: ['selectdata', 'charge'],
|
|
107
|
-
data () {
|
|
108
|
-
return {}
|
|
109
|
-
},
|
|
110
|
-
ready () {
|
|
111
|
-
console.log('------------------打印-------------------')
|
|
112
|
-
console.log()
|
|
113
|
-
},
|
|
114
|
-
computed: {
|
|
115
|
-
f_user_name () {
|
|
116
|
-
return isEmpty(this.charge.f_user_name) ? this.selectdata.f_contact : this.charge.f_user_name
|
|
117
|
-
},
|
|
118
|
-
f_user_phone () {
|
|
119
|
-
return isEmpty(this.charge.f_user_phone) ? this.selectdata.f_phone : this.charge.f_user_phone
|
|
120
|
-
},
|
|
121
|
-
f_useraddress () {
|
|
122
|
-
return isEmpty(this.charge.f_useraddress) ? `武安市${this.selectdata.f_street}${this.selectdata.f_residential_area}` : `武安市${this.charge.f_useraddress}`
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
</script>
|
|
127
|
-
|
|
128
|
-
<style scoped>
|
|
129
|
-
|
|
130
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<style id="style">
|
|
3
|
+
td{
|
|
4
|
+
height: 50px;
|
|
5
|
+
width: 40px;
|
|
6
|
+
text-align: center;
|
|
7
|
+
}
|
|
8
|
+
table{
|
|
9
|
+
margin: auto;
|
|
10
|
+
width: 100%;
|
|
11
|
+
border-collapse:collapse;
|
|
12
|
+
border: 1px solid black;
|
|
13
|
+
}
|
|
14
|
+
h1,h2,h3,h4,h5,h6 {
|
|
15
|
+
text-align: center;
|
|
16
|
+
}
|
|
17
|
+
.date{
|
|
18
|
+
float: left;
|
|
19
|
+
padding-left: 30px;
|
|
20
|
+
}
|
|
21
|
+
.number{
|
|
22
|
+
float: right;
|
|
23
|
+
padding-right: 30px;
|
|
24
|
+
}
|
|
25
|
+
.rescue{
|
|
26
|
+
float: left;
|
|
27
|
+
padding: 0 30px 0 40px;
|
|
28
|
+
}
|
|
29
|
+
.service{
|
|
30
|
+
float: left;
|
|
31
|
+
}
|
|
32
|
+
.payee{
|
|
33
|
+
float: right;
|
|
34
|
+
padding-right: 30px;
|
|
35
|
+
}
|
|
36
|
+
</style>
|
|
37
|
+
<div id="print">
|
|
38
|
+
<h4>陕西中盛天然气有限公司收费单</h4>
|
|
39
|
+
<span>
|
|
40
|
+
<p class="date">{{new Date().Format('yyyy-MM-dd HH:mm:ss')}}</p>
|
|
41
|
+
<p class="number">缴费编号:{{ charge.f_charge_number }}</p>
|
|
42
|
+
</span>
|
|
43
|
+
<table border="1">
|
|
44
|
+
<tr>
|
|
45
|
+
<td>用户姓名</td>
|
|
46
|
+
<td colspan="2">{{ f_user_name }}</td>
|
|
47
|
+
<td>联系电话</td>
|
|
48
|
+
<td>{{ f_user_phone }}</td>
|
|
49
|
+
</tr>
|
|
50
|
+
<!-- <tr>-->
|
|
51
|
+
<!-- <td>地  址</td>-->
|
|
52
|
+
<!-- <td colspan="4">{{ f_useraddress }}</td>-->
|
|
53
|
+
<!-- </tr>-->
|
|
54
|
+
<tr>
|
|
55
|
+
<td>收费项目</td>
|
|
56
|
+
<td colspan="2">安装费</td>
|
|
57
|
+
<td>收费方式</td>
|
|
58
|
+
<td>{{ charge.f_payment_method }}</td>
|
|
59
|
+
</tr>
|
|
60
|
+
<tr>
|
|
61
|
+
<td>收费金额</td>
|
|
62
|
+
<td>{{ charge.f_charge_money }}</td>
|
|
63
|
+
<td>大  写</td>
|
|
64
|
+
<td colspan="2">{{ charge.f_amount_words }}</td>
|
|
65
|
+
</tr>
|
|
66
|
+
<tr>
|
|
67
|
+
<td>备  注</td>
|
|
68
|
+
<td colspan="4">{{ selectdata.f_entry_name }}</td>
|
|
69
|
+
</tr>
|
|
70
|
+
</table>
|
|
71
|
+
<span>
|
|
72
|
+
<p class="rescue">
|
|
73
|
+
<!-- 抢险电话:5835588-->
|
|
74
|
+
</p>
|
|
75
|
+
<p class="service">
|
|
76
|
+
<!-- 服务电话:3718002-->
|
|
77
|
+
</p>
|
|
78
|
+
<p class="payee">收款人:{{ charge.f_charge_collectors }}</p>
|
|
79
|
+
</span>
|
|
80
|
+
</div>
|
|
81
|
+
|
|
82
|
+
<print-element v-show="false" v-ref:print id='print' styleid='style'
|
|
83
|
+
top='40' left='60' width='100%' height='100%'>
|
|
84
|
+
</print-element>
|
|
85
|
+
</template>
|
|
86
|
+
|
|
87
|
+
<script>
|
|
88
|
+
import { isEmpty } from '../../../Util'
|
|
89
|
+
Date.prototype.Format = function (fmt) {
|
|
90
|
+
var o = {
|
|
91
|
+
"M+": this.getMonth() + 1, //月份
|
|
92
|
+
"d+": this.getDate(), //日
|
|
93
|
+
"H+": this.getHours(), //小时
|
|
94
|
+
"m+": this.getMinutes(), //分
|
|
95
|
+
"s+": this.getSeconds(), //秒
|
|
96
|
+
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
|
|
97
|
+
"S": this.getMilliseconds() //毫秒
|
|
98
|
+
};
|
|
99
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
|
|
100
|
+
for (var k in o)
|
|
101
|
+
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
|
|
102
|
+
return fmt;
|
|
103
|
+
}
|
|
104
|
+
export default {
|
|
105
|
+
title: '打印收费票据',
|
|
106
|
+
props: ['selectdata', 'charge'],
|
|
107
|
+
data () {
|
|
108
|
+
return {}
|
|
109
|
+
},
|
|
110
|
+
ready () {
|
|
111
|
+
console.log('------------------打印-------------------')
|
|
112
|
+
console.log()
|
|
113
|
+
},
|
|
114
|
+
computed: {
|
|
115
|
+
f_user_name () {
|
|
116
|
+
return isEmpty(this.charge.f_user_name) ? this.selectdata.f_contact : this.charge.f_user_name
|
|
117
|
+
},
|
|
118
|
+
f_user_phone () {
|
|
119
|
+
return isEmpty(this.charge.f_user_phone) ? this.selectdata.f_phone : this.charge.f_user_phone
|
|
120
|
+
},
|
|
121
|
+
f_useraddress () {
|
|
122
|
+
return isEmpty(this.charge.f_useraddress) ? `武安市${this.selectdata.f_street}${this.selectdata.f_residential_area}` : `武安市${this.charge.f_useraddress}`
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
</script>
|
|
127
|
+
|
|
128
|
+
<style scoped>
|
|
129
|
+
|
|
130
|
+
</style>
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="auto">
|
|
3
|
-
<validator name='v'>
|
|
4
|
-
<p class="bg-info text-center" style="padding: 8px;">{{data.type}}销户</p>
|
|
5
|
-
<div class="row" style="margin-top:10px;">
|
|
6
|
-
<div class="form-group">
|
|
7
|
-
<label class=" col-sm-2 control-label">销户原因:</label>
|
|
8
|
-
<div class="col-sm-8">
|
|
9
|
-
<textarea class="form-control" v-model="model.f_cancel_reason" rows="3" placeholder="请填写原因"></textarea>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
13
|
-
<div style="text-align:right;height:auto;margin-top:30px;margin-right:50px;">
|
|
14
|
-
<button class="btn btn-success" @click="confirm()" >确 认</button>
|
|
15
|
-
<button class="btn btn-default" @click="clean()" style="wid0px;margin-left:20px;">取 消</button>
|
|
16
|
-
</div>
|
|
17
|
-
</validator>
|
|
18
|
-
</div>
|
|
19
|
-
</template>
|
|
20
|
-
|
|
21
|
-
<script>
|
|
22
|
-
import {HttpResetClass} from "vue-client";
|
|
23
|
-
|
|
24
|
-
export default {
|
|
25
|
-
props: ['data'],
|
|
26
|
-
title: '操作撤销',
|
|
27
|
-
data () {
|
|
28
|
-
return {
|
|
29
|
-
model: {
|
|
30
|
-
f_cancel_reason: '',
|
|
31
|
-
f_user_state: this.data.f_user_state,
|
|
32
|
-
f_process_id: this.data.f_process_id
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
methods: {
|
|
37
|
-
confirm () {
|
|
38
|
-
let http = new HttpResetClass()
|
|
39
|
-
http.load('POST', 'rs/entity/t_zsrecord', model, {resolveMsg: null, rejectMsg: '数据保存失败'})
|
|
40
|
-
.then(res => {
|
|
41
|
-
this.$info('撤销成功')
|
|
42
|
-
this.$dispatch('stoprecord')
|
|
43
|
-
})
|
|
44
|
-
},
|
|
45
|
-
clean () {
|
|
46
|
-
this.$dispatch('clean', this.model)
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto">
|
|
3
|
+
<validator name='v'>
|
|
4
|
+
<p class="bg-info text-center" style="padding: 8px;">{{data.type}}销户</p>
|
|
5
|
+
<div class="row" style="margin-top:10px;">
|
|
6
|
+
<div class="form-group">
|
|
7
|
+
<label class=" col-sm-2 control-label">销户原因:</label>
|
|
8
|
+
<div class="col-sm-8">
|
|
9
|
+
<textarea class="form-control" v-model="model.f_cancel_reason" rows="3" placeholder="请填写原因"></textarea>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
<div style="text-align:right;height:auto;margin-top:30px;margin-right:50px;">
|
|
14
|
+
<button class="btn btn-success" @click="confirm()" >确 认</button>
|
|
15
|
+
<button class="btn btn-default" @click="clean()" style="wid0px;margin-left:20px;">取 消</button>
|
|
16
|
+
</div>
|
|
17
|
+
</validator>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
|
|
21
|
+
<script>
|
|
22
|
+
import {HttpResetClass} from "vue-client";
|
|
23
|
+
|
|
24
|
+
export default {
|
|
25
|
+
props: ['data'],
|
|
26
|
+
title: '操作撤销',
|
|
27
|
+
data () {
|
|
28
|
+
return {
|
|
29
|
+
model: {
|
|
30
|
+
f_cancel_reason: '',
|
|
31
|
+
f_user_state: this.data.f_user_state,
|
|
32
|
+
f_process_id: this.data.f_process_id
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
methods: {
|
|
37
|
+
confirm () {
|
|
38
|
+
let http = new HttpResetClass()
|
|
39
|
+
http.load('POST', 'rs/entity/t_zsrecord', model, {resolveMsg: null, rejectMsg: '数据保存失败'})
|
|
40
|
+
.then(res => {
|
|
41
|
+
this.$info('撤销成功')
|
|
42
|
+
this.$dispatch('stoprecord')
|
|
43
|
+
})
|
|
44
|
+
},
|
|
45
|
+
clean () {
|
|
46
|
+
this.$dispatch('clean', this.model)
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
</script>
|
|
@@ -292,6 +292,18 @@ export default {
|
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
|
+
if (this.selectdata.defname === '施工') {
|
|
296
|
+
// for (let i = 0; i < this.show_data.fields.length; i++) {
|
|
297
|
+
// if (this.show_data.fields[i].label == '工程状态') {
|
|
298
|
+
// this.show_data.fields[i].value = ''
|
|
299
|
+
// }
|
|
300
|
+
// }
|
|
301
|
+
for (const item of this.show_data.fields) {
|
|
302
|
+
if (item.label === '工程状态') {
|
|
303
|
+
return item.value = '未开工'
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
295
307
|
|
|
296
308
|
},
|
|
297
309
|
// 初始化fields值
|
|
@@ -646,25 +658,25 @@ export default {
|
|
|
646
658
|
}
|
|
647
659
|
}
|
|
648
660
|
}
|
|
649
|
-
if (this.show_data.defname === '营业厅建档'){
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
}
|
|
661
|
+
// if (this.show_data.defname === '营业厅建档'){
|
|
662
|
+
// let http = new HttpResetClass()
|
|
663
|
+
// let data = {
|
|
664
|
+
// tablename: 't_userinfo',
|
|
665
|
+
// condition: `f_process_id='${this.selectdata.f_process_id}'`
|
|
666
|
+
//
|
|
667
|
+
// }
|
|
668
|
+
// let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null, rejectMsg: null})
|
|
669
|
+
//
|
|
670
|
+
// if (this.show_data.fields[index].label === '是否已建档') {
|
|
671
|
+
// if (res.data[0].f_user_state === '预备') {
|
|
672
|
+
// this.show_data.fields[index].value = '否'
|
|
673
|
+
// button.hidden = false
|
|
674
|
+
// }else{
|
|
675
|
+
// this.show_data.fields[index].value = '是'
|
|
676
|
+
// button.hidden = true
|
|
677
|
+
// }
|
|
678
|
+
// }
|
|
679
|
+
// }
|
|
668
680
|
if(this.show_data.defname === '现场勘察') {
|
|
669
681
|
console.log("this.shdata",this.show_data)
|
|
670
682
|
if (this.show_data.fields[index].label === '是否具备安装条件') {
|
|
@@ -677,26 +689,26 @@ export default {
|
|
|
677
689
|
}
|
|
678
690
|
}
|
|
679
691
|
}
|
|
680
|
-
if (this.show_data.defname === '通气点火'){
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
}
|
|
692
|
+
// if (this.show_data.defname === '通气点火'){
|
|
693
|
+
// let http = new HttpResetClass()
|
|
694
|
+
// let data = {
|
|
695
|
+
// tablename: 't_firemessage',
|
|
696
|
+
// condition: `f_process_id='${this.selectdata.f_process_id}'`
|
|
697
|
+
//
|
|
698
|
+
// }
|
|
699
|
+
// let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null, rejectMsg: null})
|
|
700
|
+
// console.log("res")
|
|
701
|
+
// console.log(res.data)
|
|
702
|
+
// if (this.show_data.fields[index].label === '是否已通气') {
|
|
703
|
+
// if (res.data.length==0) {
|
|
704
|
+
// this.show_data.fields[index].value = '否'
|
|
705
|
+
// button.hidden = false
|
|
706
|
+
// }else{
|
|
707
|
+
// this.show_data.fields[index].value = '是'
|
|
708
|
+
// button.hidden = true
|
|
709
|
+
// }
|
|
710
|
+
// }
|
|
711
|
+
// }
|
|
700
712
|
if (this.show_data.defname === '合同签订') {
|
|
701
713
|
if (this.show_data.fields[index].label === '合同编号') {
|
|
702
714
|
if (!isEmpty(this.show_data.fields[index].value)) {
|
|
@@ -713,6 +725,12 @@ export default {
|
|
|
713
725
|
this.show_data.fields[index].value = null
|
|
714
726
|
this.$showAlert('合同编号已存在!!!', 'warning', 3000)
|
|
715
727
|
}
|
|
728
|
+
//拼写合同编号
|
|
729
|
+
if (this.selectdata.f_apply_type == '工商户报建') {
|
|
730
|
+
this.show_data.fields[index].value = "ZS-S-" + this.show_data.fields[index].value + "-" + new Date().Format('yyyy-MM-dd')
|
|
731
|
+
}else {
|
|
732
|
+
this.show_data.fields[index].value = "ZS-M-" + this.show_data.fields[index].value + "-" + new Date().Format('yyyy-MM-dd')
|
|
733
|
+
}
|
|
716
734
|
}
|
|
717
735
|
}
|
|
718
736
|
if (this.show_data.fields[index].label === '单价(户)') {
|