|
@@ -136,7 +136,10 @@
|
|
|
formData: {
|
|
|
status: '0',
|
|
|
File: [],
|
|
|
- detresult: {id:null,name:null}
|
|
|
+ detresult: {
|
|
|
+ id: null,
|
|
|
+ name: null
|
|
|
+ }
|
|
|
},
|
|
|
// 自定义表单校验规则
|
|
|
customRules: {
|
|
@@ -207,6 +210,11 @@
|
|
|
|
|
|
|
|
|
this.formData = res.data
|
|
|
+ if (this.formData.detinspect) {
|
|
|
+
|
|
|
+ const nowArr = this.formData.detinspect.split(',')
|
|
|
+ this.checkArr = [...nowArr]
|
|
|
+ }
|
|
|
var File = this.formData.File = []
|
|
|
if (this.formData.att != '') {
|
|
|
File.push({
|
|
@@ -317,7 +325,7 @@
|
|
|
// console.log('修改成功!');
|
|
|
uni.hideLoading();
|
|
|
uni.navigateBack({
|
|
|
- delta: 1
|
|
|
+ delta: 2
|
|
|
})
|
|
|
// uni.navigateTo({
|
|
|
// url: '/pagesA/fire/fpd_detection/detection_details/detection_details?id='+this.formData.id
|