BUG 30837
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="{active:form.pass=='0'}" @click="form.pass='0'">驳回申请<img src="./components/img/check-icon.png"/></div>
|
||||
</AiItem>
|
||||
<AiItem label="监测对象类型">
|
||||
<AiItem label="监测对象类型" required>
|
||||
<AiSelect v-model="form.objectType" dict="fpType"/>
|
||||
</AiItem>
|
||||
<AiItem label="备注说明" topLabel>
|
||||
@@ -107,8 +107,10 @@ export default {
|
||||
},
|
||||
|
||||
submit() {
|
||||
var url = ''
|
||||
var params = {
|
||||
if (!this.form.objectType) {
|
||||
return this.$u.toast('请选择监测对象类型')
|
||||
}
|
||||
let url = '', params = {
|
||||
...this.form,
|
||||
id: this.id,
|
||||
}
|
||||
@@ -117,12 +119,10 @@ export default {
|
||||
} else if (this.type == 1) { // 解除审核
|
||||
url = `/app/apppreventionreturntopoverty/relieve`
|
||||
}
|
||||
|
||||
var formData = new FormData()
|
||||
const formData = new FormData()
|
||||
for (let key in params) {
|
||||
formData.append(key, params[key])
|
||||
}
|
||||
|
||||
this.$http.post(url, formData).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast('提交成功')
|
||||
|
||||
Reference in New Issue
Block a user