取消地区
This commit is contained in:
@@ -291,7 +291,7 @@
|
|||||||
<div class="remark">
|
<div class="remark">
|
||||||
<p><span style="color: #FF4466;">*</span>备注说明</p>
|
<p><span style="color: #FF4466;">*</span>备注说明</p>
|
||||||
<div>
|
<div>
|
||||||
<u-input v-model="form.detail" type="textarea" height="150" :maxlength='500' clearable />
|
<u-input v-model="form.detail" type="textarea" height="150" placeholder="请输入备注说明" :maxlength='500' clearable />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 8px; width: 100%;background: #f3f4f5;"></div>
|
<div style="height: 8px; width: 100%;background: #f3f4f5;"></div>
|
||||||
@@ -429,17 +429,26 @@ export default {
|
|||||||
if(this.form.files.length) {
|
if(this.form.files.length) {
|
||||||
this.form.photo = this.form.files[0].url
|
this.form.photo = this.form.files[0].url
|
||||||
}
|
}
|
||||||
|
if(this.photo.length) {
|
||||||
|
this.form.photo = this.photo[0].accessUrl
|
||||||
|
}
|
||||||
|
|
||||||
this.form.girdId = this.girdInfo.girdId
|
this.form.girdId = this.girdInfo.girdId
|
||||||
this.form.girdName = this.girdInfo.girdName
|
this.form.girdName = this.girdInfo.girdName
|
||||||
this.form.householdIdNumber = this.form.idNumber
|
this.form.householdIdNumber = this.form.idNumber
|
||||||
this.form.householdRelation = '01'
|
this.form.householdRelation = '01'
|
||||||
this.form.isHousehold = 1
|
this.form.isHousehold = 1
|
||||||
this.form.photo = this.photo[0].accessUrl
|
|
||||||
this.current = 1
|
this.current = 1
|
||||||
},
|
},
|
||||||
|
|
||||||
submit() {
|
submit() {
|
||||||
|
if(!this.form.riskType) {
|
||||||
|
return this.$u.toast('请选择风险因素')
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!this.form.detail) {
|
||||||
|
return this.$u.toast('请输入备注说明')
|
||||||
|
}
|
||||||
|
|
||||||
this.$http.post('/app/apppreventionreturntopoverty/addByEwechat', {
|
this.$http.post('/app/apppreventionreturntopoverty/addByEwechat', {
|
||||||
...this.form,
|
...this.form,
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="List">
|
<div class="List">
|
||||||
<div v-if="isAdmin">
|
<div v-if="isAdmin">
|
||||||
<AiTopFixed>
|
<AiTopFixed>
|
||||||
<div class="area">
|
<!-- <div class="area">
|
||||||
<i>可选范围</i>
|
<i>可选范围</i>
|
||||||
<span class="separat">/</span>
|
<span class="separat">/</span>
|
||||||
<AiAreaPicker ref="area" class="aiArea" :value="areaId" :areaId="user.areaId" :name.sync="areaName" mode="custom"
|
<AiAreaPicker ref="area" class="aiArea" :value="areaId" :areaId="user.areaId" :name.sync="areaName" mode="custom"
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
<i v-else>请选择</i>
|
<i v-else>请选择</i>
|
||||||
</AiAreaPicker>
|
</AiAreaPicker>
|
||||||
</div>
|
</div>
|
||||||
<div class="line"></div>
|
<div class="line"></div> -->
|
||||||
<u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bar-width="150" @change="change"></u-tabs>
|
<u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bar-width="150" @change="change"></u-tabs>
|
||||||
<div class="seach-obj">
|
<div class="seach-obj">
|
||||||
<u-search v-model="keyword" :clearabled="true" placeholder="请输入姓名/身份证号" :show-action="false" bg-color="#F5F5F5"
|
<u-search v-model="keyword" :clearabled="true" placeholder="请输入姓名/身份证号" :show-action="false" bg-color="#F5F5F5"
|
||||||
@@ -100,8 +100,8 @@ export default {
|
|||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
if (res.data.checkType != '0') {
|
if (res.data.checkType != '0') {
|
||||||
this.isAdmin = true
|
this.isAdmin = true
|
||||||
// this.checkType = res.data.checkType
|
this.checkType = res.data.checkType
|
||||||
this.checkType = 1
|
// this.checkType = 1
|
||||||
this.getList()
|
this.getList()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -120,7 +120,7 @@ export default {
|
|||||||
current: this.current,
|
current: this.current,
|
||||||
size: 15,
|
size: 15,
|
||||||
status: this.currentTabs,
|
status: this.currentTabs,
|
||||||
addressAreaId: this.areaId,
|
// addressAreaId: this.areaId,
|
||||||
name: this.keyword
|
name: this.keyword
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user