|
@@ -1,18 +1,19 @@
|
|
|
<template>
|
|
|
<view class="container">
|
|
|
<view class="example">
|
|
|
- <uni-forms ref="form" :model="tjform" labelWidth="100px">
|
|
|
+ <!-- <uni-forms ref="form" :model="tjform" labelWidth="100px">
|
|
|
<uni-forms-item label="图斑编号:" name="dkbh">
|
|
|
<uni-easyinput v-model="tjform.dkbh" disabled />
|
|
|
</uni-forms-item>
|
|
|
- <div class="tit">
|
|
|
- 确定对该图斑数据进行提交吗?提交后无法进行修改。
|
|
|
- </div>
|
|
|
- <div v-for="(note, nkey) in JSON.parse(tjform.notes)" :key="nkey">
|
|
|
- {{ note.stepValue }}:{{ note.notes }}
|
|
|
- </div>
|
|
|
- <div>提交数据包括图斑核查数据、审核数据、合法性判定数据。</div>
|
|
|
- </uni-forms>
|
|
|
+ </uni-forms> -->
|
|
|
+ 图斑编号:{{tjform.dkbh}}
|
|
|
+ <div class="tit">
|
|
|
+ 确定对该图斑数据进行提交吗?提交后无法进行修改。
|
|
|
+ </div>
|
|
|
+ <div v-for="(note, nkey) in JSON.parse(tjform.notes)" :key="nkey">
|
|
|
+ {{ note.stepValue }}:{{ note.notes }}
|
|
|
+ </div>
|
|
|
+ <div>提交数据包括图斑核查数据、审核数据、合法性判定数据。</div>
|
|
|
<button type="primary" @click="submit">确 定</button>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -34,7 +35,7 @@
|
|
|
"confirmState": "",
|
|
|
"confirmType": "",
|
|
|
"confirmNotse": "",
|
|
|
- "auditflowStep": "WYQR"
|
|
|
+ "auditflowStep": "WYTJ"
|
|
|
},
|
|
|
}
|
|
|
},
|
|
@@ -59,19 +60,16 @@
|
|
|
this.tjform = response.data
|
|
|
else
|
|
|
this.$modal.msgError("提交信息获取失败")
|
|
|
- if (uni.$globalData && uni.$globalData.dkbh)
|
|
|
- this.tjform.dkbh = uni.$globalData.dkbh
|
|
|
- if (pram && pram.auditflowStep)
|
|
|
- this.tjform.auditflowStep = pram.auditflowStep
|
|
|
+ this.tjform.auditflowStep = pram.auditflowStep
|
|
|
})
|
|
|
},
|
|
|
submit(ref) {
|
|
|
- this.$refs.form.validate().then(res => {
|
|
|
+ // this.$refs.form.validate().then(res => {
|
|
|
tjWork(this.tjform).then(response => {
|
|
|
this.$modal.msgSuccess("提交成功")
|
|
|
this.$tab.navigateTo('/pages/index')
|
|
|
})
|
|
|
- })
|
|
|
+ // })
|
|
|
}
|
|
|
}
|
|
|
}
|