apply-clients 4.1.11-weinan-1 → 4.1.12-weinan
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
CHANGED
|
@@ -180,6 +180,28 @@
|
|
|
180
180
|
deleteLocalApply(model){
|
|
181
181
|
console.log(`前台上传完成,开始删除本地报建工单`)
|
|
182
182
|
this.$androidUtil.bzLogic('deleteApply', {data:model})
|
|
183
|
+
},
|
|
184
|
+
stopapply(model1,model){
|
|
185
|
+
this.$showMessage('确定不具备条件,终止报建!',['confirm', 'cancel']).then((res)=>{
|
|
186
|
+
if (res=='confirm'){
|
|
187
|
+
this.selectdata = Object.assign( {},this.selectdata,model)
|
|
188
|
+
let data = {
|
|
189
|
+
loginUser: Vue.user,
|
|
190
|
+
selectdata: this.selectdata,
|
|
191
|
+
model: model1
|
|
192
|
+
}
|
|
193
|
+
let http = new HttpResetClass()
|
|
194
|
+
http.load('POST', this.$androidUtil.getProxyUrl()+'/rs/logic/stopApply', {data: data}, {resolveMsg: null,rejectMsg: '删除失败'})
|
|
195
|
+
.then(res => {
|
|
196
|
+
if (res.data === 200) {
|
|
197
|
+
this.$dispatch('search')
|
|
198
|
+
this.$dispatch('close')
|
|
199
|
+
} else {
|
|
200
|
+
this.$showMessage('终止报建失败')
|
|
201
|
+
}
|
|
202
|
+
})
|
|
203
|
+
}
|
|
204
|
+
})
|
|
183
205
|
}
|
|
184
206
|
},
|
|
185
207
|
events: {
|
|
@@ -227,27 +249,19 @@
|
|
|
227
249
|
model=Object.assign({},this.selectdata,model)
|
|
228
250
|
console.log('合并selectdata与model后的model=>' + JSON.stringify(model))
|
|
229
251
|
let http = new HttpResetClass()
|
|
230
|
-
if(this.selectdata.defname
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
this.$dispatch('search')
|
|
244
|
-
} else {
|
|
245
|
-
this.$showMessage('终止报建失败')
|
|
246
|
-
}
|
|
247
|
-
})
|
|
248
|
-
return
|
|
249
|
-
}
|
|
250
|
-
})
|
|
252
|
+
if(this.selectdata.defname =='现场勘察' && model.f_is_have == '否'){
|
|
253
|
+
let model1 ={
|
|
254
|
+
f_stop_remarks : '不具备安装条件'
|
|
255
|
+
}
|
|
256
|
+
this.stopapply(model1,model)
|
|
257
|
+
return
|
|
258
|
+
}
|
|
259
|
+
if(this.selectdata.defname =='现场勘察' && model.f_is_aerate == '否'){
|
|
260
|
+
let model1 ={
|
|
261
|
+
f_stop_remarks : '未通气'
|
|
262
|
+
}
|
|
263
|
+
this.stopapply(model1,model)
|
|
264
|
+
return
|
|
251
265
|
}
|
|
252
266
|
var url = this.$androidUtil.getProxyUrl() + '/rs/logic/ApplyProductService'
|
|
253
267
|
// let res = await http.load('POST',url,{data:{tables:this.data.tables,start_activity:this.$workflow_vue.start_activity,model:model,loginUser:Vue.user}}, {resolveMsg: null, rejectMsg: null})
|