apply-clients 5.0.35-48 → 5.0.35-50
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/apply.js +164 -160
- package/src/components/app_apply/ApplyToDoList.vue +2822 -2822
- package/src/components/product/EngineeringManagement/EngineerUpload.vue +7 -9
- package/src/components/product/EngineeringManagement/EngineeringManagement.vue +1 -0
- package/src/components/product/EngineeringManagement/EngineeringSelect.vue +5 -6
- package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +281 -0
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +130 -0
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +350 -0
- package/src/components/product/Function/InstallInfoSelect.vue +255 -254
- package/src/components/product/Process/ExplorationSelect.vue +640 -641
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +135 -5
- package/src/components/product/ServiceView.vue +0 -1
- package/src/components/product/Supervisory/SupervisoryList.vue +350 -349
- package/src/components/product/stopInfo/ApplyStopInfo.vue +281 -280
- package/src/ezhouAndroid.js +48 -46
- package/src/main.js +32 -32
- package/yarn-error.log +0 -9175
|
@@ -70,7 +70,20 @@
|
|
|
70
70
|
<!-- <report-print id='bill-fee' top='15mm' left='5mm' width='90%' height='70%' :showbtn="false" preview="true"-->
|
|
71
71
|
<!-- v-ref:reportprint></report-print>-->
|
|
72
72
|
<!-- </div>-->
|
|
73
|
-
|
|
73
|
+
<modal :show.sync="stop_show" v-ref:modal stop_show="false">
|
|
74
|
+
<header slot="modal-header" class="modal-header">
|
|
75
|
+
<button type="button" class="close" @click="closeback"><span>×</span></button>
|
|
76
|
+
<h4 class="modal-title">终止备注</h4>
|
|
77
|
+
</header>
|
|
78
|
+
<article slot="modal-body" class="modal-body">
|
|
79
|
+
<div class="from-group">
|
|
80
|
+
<input type="text" class="form-control" v-model="models.f_stop_remarks"/>
|
|
81
|
+
</div>
|
|
82
|
+
</article>
|
|
83
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
84
|
+
<button v-show="stop_show" type="button" class="btn btn-default" @click='stopapplys'>确认</button>
|
|
85
|
+
</footer>
|
|
86
|
+
</modal>
|
|
74
87
|
|
|
75
88
|
</template>
|
|
76
89
|
<script>
|
|
@@ -134,13 +147,71 @@
|
|
|
134
147
|
rows: [] // 购货方信息
|
|
135
148
|
},
|
|
136
149
|
bill: '',
|
|
137
|
-
|
|
150
|
+
areaall:[],
|
|
151
|
+
stop_show:false, // 终止备注开关
|
|
152
|
+
models: {
|
|
153
|
+
f_date: Util.toStandardTimeString(),
|
|
154
|
+
f_department: this.$login.f.f_parentname,
|
|
155
|
+
f_operator: this.$login.f.name,
|
|
156
|
+
f_filiale: this.$login.f.f_fengongsi
|
|
157
|
+
}
|
|
138
158
|
}
|
|
139
159
|
},
|
|
140
160
|
methods: {
|
|
141
161
|
/*
|
|
142
162
|
============================================收费临时使用
|
|
143
163
|
*/
|
|
164
|
+
// 转到报建
|
|
165
|
+
async addactive(modify) {
|
|
166
|
+
this.selectdata.applyid = this.selectdata.id
|
|
167
|
+
this.$resetpost('rs/logic/stopapply', {data: this.selectdata})
|
|
168
|
+
this.$workflow_vue.start_activity = modify
|
|
169
|
+
let http = new HttpResetClass()
|
|
170
|
+
let res = await http.load('POST','rs/logic/ApplyGetProcessID',{data:{filename:this.$workflow_vue.workflow_xmlfilename,start_activity:this.$workflow_vue.start_activity}}, {resolveMsg: null, rejectMsg: '获取流程ID失败,请联系开发人员'})
|
|
171
|
+
let data = {
|
|
172
|
+
defname: this.$workflow_vue.start_activity,
|
|
173
|
+
f_process_id: res.data.f_process_id,
|
|
174
|
+
f_apply_date: Util.toStandardTimeString(),
|
|
175
|
+
f_product_id: res.data.f_product_id,
|
|
176
|
+
start_activity:this.$workflow_vue.start_activity,
|
|
177
|
+
f_user_type:this.selectdata.f_user_type,
|
|
178
|
+
f_user_name:this.selectdata.f_user_name,
|
|
179
|
+
f_phone:this.selectdata.f_phone,
|
|
180
|
+
f_area:this.selectdata.f_area,
|
|
181
|
+
f_street:this.selectdata.f_street,
|
|
182
|
+
f_residential_area:this.selectdata.f_residential_area,
|
|
183
|
+
f_building:this.selectdata.f_building,
|
|
184
|
+
f_unit:this.selectdata.f_unit,
|
|
185
|
+
f_floor:this.selectdata.f_floor,
|
|
186
|
+
f_room:this.selectdata.f_room,
|
|
187
|
+
f_address:this.selectdata.f_address,
|
|
188
|
+
user:this.$login.f
|
|
189
|
+
}
|
|
190
|
+
await http.load('POST','rs/logic/newaddApplyproduct',{data:data}, {resolveMsg: null, rejectMsg: '转发失败,请联系开发人员'})
|
|
191
|
+
this.$dispatch('close')
|
|
192
|
+
},
|
|
193
|
+
// 终止报建
|
|
194
|
+
async stopapplys () {
|
|
195
|
+
this.models = Object.assign({}, this.selectdata, this.models)
|
|
196
|
+
this.models.id = null
|
|
197
|
+
this.models.applyid = this.selectdata.id
|
|
198
|
+
this.models.f_operat_type = '终止报建'
|
|
199
|
+
this.models.f_state = '有效'
|
|
200
|
+
this.models.f_describe = this.selectdata.f_user_name + '已终止报建'
|
|
201
|
+
let data ={
|
|
202
|
+
tablename:'t_project_stop',
|
|
203
|
+
parameters:this.models
|
|
204
|
+
}
|
|
205
|
+
let http = new HttpResetClass()
|
|
206
|
+
await http.load('POST','rs/logic/save', {data:data},{resolveMsg: null, rejectMsg: "添加失败"})
|
|
207
|
+
await http.load('POST','rs/logic/stopapply', {data:this.models},{resolveMsg: null, rejectMsg: "终止失败"})
|
|
208
|
+
this.closeback()
|
|
209
|
+
this.$dispatch('close')
|
|
210
|
+
},
|
|
211
|
+
// 关闭终止备注弹框
|
|
212
|
+
closeback() {
|
|
213
|
+
this.stop_show = false
|
|
214
|
+
},
|
|
144
215
|
closeAccept () {
|
|
145
216
|
this.acceptprint = false
|
|
146
217
|
},
|
|
@@ -992,6 +1063,48 @@
|
|
|
992
1063
|
}
|
|
993
1064
|
}
|
|
994
1065
|
}
|
|
1066
|
+
if(this.$refs.service_show.data.fields[index].label=="施工提交资料"){
|
|
1067
|
+
for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
|
|
1068
|
+
|
|
1069
|
+
if(this.$refs.service_show.data.fields[i].label=="施工已上传文件"){
|
|
1070
|
+
//增加和删除框中的内容
|
|
1071
|
+
if(this.$refs.service_show.data.fields[index].items[index2].value == false){
|
|
1072
|
+
this.$refs.service_show.data.fields[i].value+=this.$refs.service_show.data.fields[index].items[index2].label+" ";
|
|
1073
|
+
this.$refs.service_show.data.fields[index].items[index2].value=true;
|
|
1074
|
+
}else{
|
|
1075
|
+
let deleteValue = this.$refs.service_show.data.fields[index].items[index2].label;
|
|
1076
|
+
let values =this.$refs.service_show.data.fields[i].value;
|
|
1077
|
+
let result = values.split(" ").filter((item)=>{
|
|
1078
|
+
return item!=deleteValue;
|
|
1079
|
+
}).join(" ")
|
|
1080
|
+
this.$refs.service_show.data.fields[i].value =result;
|
|
1081
|
+
this.$refs.service_show.data.fields[index].items[index2].value=false;
|
|
1082
|
+
}
|
|
1083
|
+
//}
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
if(this.$refs.service_show.data.fields[index].label=="验收提交资料"){
|
|
1088
|
+
for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
|
|
1089
|
+
|
|
1090
|
+
if(this.$refs.service_show.data.fields[i].label=="验收已上传文件"){
|
|
1091
|
+
//增加和删除框中的内容
|
|
1092
|
+
if(this.$refs.service_show.data.fields[index].items[index2].value == false){
|
|
1093
|
+
this.$refs.service_show.data.fields[i].value+=this.$refs.service_show.data.fields[index].items[index2].label+" ";
|
|
1094
|
+
this.$refs.service_show.data.fields[index].items[index2].value=true;
|
|
1095
|
+
}else{
|
|
1096
|
+
let deleteValue = this.$refs.service_show.data.fields[index].items[index2].label;
|
|
1097
|
+
let values =this.$refs.service_show.data.fields[i].value;
|
|
1098
|
+
let result = values.split(" ").filter((item)=>{
|
|
1099
|
+
return item!=deleteValue;
|
|
1100
|
+
}).join(" ")
|
|
1101
|
+
this.$refs.service_show.data.fields[i].value =result;
|
|
1102
|
+
this.$refs.service_show.data.fields[index].items[index2].value=false;
|
|
1103
|
+
}
|
|
1104
|
+
//}
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
995
1108
|
},
|
|
996
1109
|
'get-number'(val) {
|
|
997
1110
|
this.number = val
|
|
@@ -1627,6 +1740,23 @@
|
|
|
1627
1740
|
// 获取view层button事件/
|
|
1628
1741
|
async 'button'(model) {
|
|
1629
1742
|
// console.log("button事件接收参数:", model)
|
|
1743
|
+
if (this.data.defname==='踏勘、建立工程编号'){
|
|
1744
|
+
if (model.button.button_name === '终止'){
|
|
1745
|
+
this.stop_show=true
|
|
1746
|
+
return
|
|
1747
|
+
}
|
|
1748
|
+
}
|
|
1749
|
+
if (this.data.defname==='通气转单'){
|
|
1750
|
+
if (model.button.button_name === '散户报装'){
|
|
1751
|
+
this.addactive('报装申请')
|
|
1752
|
+
return
|
|
1753
|
+
}
|
|
1754
|
+
}
|
|
1755
|
+
if (this.data.defname==='通气转单'){
|
|
1756
|
+
if (model.button.button_name === '集体报装'){
|
|
1757
|
+
this.addactive('集体报装申请')
|
|
1758
|
+
return
|
|
1759
|
+
}
|
|
1630
1760
|
// 点击重置按钮就重置数据
|
|
1631
1761
|
if (model.button.button_name === '重置') {
|
|
1632
1762
|
this.refurbish()
|
|
@@ -1691,7 +1821,7 @@
|
|
|
1691
1821
|
var flag = false
|
|
1692
1822
|
if (this.data.defname == '合同审核') {
|
|
1693
1823
|
flag = true
|
|
1694
|
-
http = new HttpResetClass()
|
|
1824
|
+
let http = new HttpResetClass()
|
|
1695
1825
|
let data = {
|
|
1696
1826
|
tablename: 't_singlevalue',
|
|
1697
1827
|
condition: `name = '合同编号' and f_filialeids = '${this.$login.f.f_orgids}'`
|
|
@@ -1772,8 +1902,7 @@
|
|
|
1772
1902
|
this.$showMessage(res.data.msg)
|
|
1773
1903
|
}
|
|
1774
1904
|
}
|
|
1775
|
-
|
|
1776
|
-
|
|
1905
|
+
}
|
|
1777
1906
|
/*
|
|
1778
1907
|
if(this.selectdata.defname =='报装申请'|| this.selectdata.defname =='现场勘查'|| this.selectdata.defname =='验收'||this.selectdata.defname =='集体报装申请'||this.selectdata.defname =='现场勘查人员分配'||this.selectdata.defname =='安装通气' ){
|
|
1779
1908
|
console.log("defname======================================",this.selectdata.defname)
|
|
@@ -1923,4 +2052,5 @@
|
|
|
1923
2052
|
}
|
|
1924
2053
|
}
|
|
1925
2054
|
}
|
|
2055
|
+
|
|
1926
2056
|
</script>
|