apply-clients 4.1.41-weinan → 4.1.42-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
|
@@ -80,7 +80,9 @@
|
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
// actName: this.$appdata.getParam('用气类型'), // 报建app需提取的流程名称
|
|
83
|
-
faultshow: 8 // 控制 故障汇总 在 菜单里显示与否
|
|
83
|
+
faultshow: 8, // 控制 故障汇总 在 菜单里显示与否
|
|
84
|
+
selectdatacopy: null,
|
|
85
|
+
num: 0
|
|
84
86
|
}
|
|
85
87
|
},
|
|
86
88
|
|
|
@@ -116,13 +118,23 @@
|
|
|
116
118
|
console.log('name=>' + name)
|
|
117
119
|
if (name === 'apply-info') {
|
|
118
120
|
this.tabs[name].props = {service: this.row, shutype: 'shu'}
|
|
121
|
+
if (this.num === 1) {
|
|
122
|
+
this.selectdatacopy = this.$children[0].$children[0].show_data
|
|
123
|
+
}
|
|
119
124
|
} else if (name === 'app-take-pic') {
|
|
120
125
|
this.tabs[name].props = {blobid: this.row.f_process_id, defname: this.row.defname, isdelete: 'true', istakepic: 'true', istype: 'true'}
|
|
126
|
+
if (this.num === 1) {
|
|
127
|
+
this.selectdatacopy = this.$children[0].$children[0].show_data
|
|
128
|
+
}
|
|
121
129
|
} else {
|
|
122
130
|
this.row.defname = this.row.defname
|
|
123
131
|
// this.row.fields = new Array()
|
|
124
132
|
// this.row.buttons = new Array()
|
|
125
|
-
this.
|
|
133
|
+
if (this.num === 1) {
|
|
134
|
+
this.selectdatacopy = this.$children[0].$children[0].show_data
|
|
135
|
+
}
|
|
136
|
+
this.num += 1
|
|
137
|
+
this.tabs[name].props = {selectdata: this.row,copydata: this.selectdatacopy}
|
|
126
138
|
}
|
|
127
139
|
console.log('即将goto=>' + name + ',props:' + JSON.stringify(this.tabs[name].props))
|
|
128
140
|
this.$goto(name, this.tabs[name].props, 'apply')
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import {isEmpty} from "../Util";
|
|
9
9
|
export default {
|
|
10
10
|
title: '报建流程业务控制层',
|
|
11
|
-
props: ['selectdata'],
|
|
11
|
+
props: ['selectdata','copydata'],
|
|
12
12
|
data () {
|
|
13
13
|
return {
|
|
14
14
|
data:null, // 数据库数据,json配置文件数据的数据集合
|
|
@@ -176,7 +176,9 @@
|
|
|
176
176
|
temp['back_reason'] = this.selectdata.f_back_reason
|
|
177
177
|
}
|
|
178
178
|
console.log('即将给show_data赋值temp=>' + JSON.stringify(temp))
|
|
179
|
-
this.show_data
|
|
179
|
+
if (this.show_data==null){
|
|
180
|
+
this.show_data = temp
|
|
181
|
+
}
|
|
180
182
|
console.log('initializtion()方法结束,showview')
|
|
181
183
|
this.showview = true
|
|
182
184
|
if (this.selectdata.defname === '现场勘察' || this.selectdata.defname ==='入户安装') {
|
|
@@ -280,6 +282,12 @@
|
|
|
280
282
|
this.show_data.fields[index+11].required = false
|
|
281
283
|
this.show_data.fields[index+12].required = false
|
|
282
284
|
this.show_data.fields[index+13].required = false
|
|
285
|
+
}else if (this.data.fields[index].label === '是否具备安装条件'&& this.show_data.fields[index].value === '是') {
|
|
286
|
+
this.show_data.fields[index+9].required = true
|
|
287
|
+
this.show_data.fields[index+10].required = true
|
|
288
|
+
this.show_data.fields[index+11].required = true
|
|
289
|
+
this.show_data.fields[index+12].required = true
|
|
290
|
+
this.show_data.fields[index+13].required = true
|
|
283
291
|
}
|
|
284
292
|
// this.$refs.service_show.model_temp // 子业务显示组件
|
|
285
293
|
// 级联操作示例:
|
|
@@ -392,8 +400,14 @@
|
|
|
392
400
|
watch:{
|
|
393
401
|
// 监听selectdata的变化
|
|
394
402
|
'selectdata'() {
|
|
403
|
+
debugger
|
|
395
404
|
console.log('进入selectdata改变事件data=>' + JSON.stringify(this.selectdata))
|
|
405
|
+
if(this.copydata!=null){
|
|
406
|
+
this.show_data=this.copydata
|
|
407
|
+
this.refurbish()
|
|
408
|
+
}else{
|
|
396
409
|
this.refurbish()
|
|
410
|
+
}
|
|
397
411
|
},
|
|
398
412
|
deep:true
|
|
399
413
|
}
|