This commit is contained in:
shijingjing
2022-04-07 20:41:16 +08:00
parent 11465a2190
commit 8165380828

View File

@@ -25,7 +25,7 @@
</el-col>
</el-row>
<el-form-item label="所在地区" prop="areaName">
<ai-area-select v-model="areaId" provinceAction="/api/area/queryProvinceListContainCity" always-show clearable :instance="$request" :areaLevel="5" @fullname="(name) => (this.formJobWant.employmentAreaName = name)"></ai-area-select>
<ai-area-select clearable always-show :instance="instance" v-model="form.areaId" :disabled-level="disabledLevel"></ai-area-select>
</el-form-item>
<el-row type="flex">
<el-col :span="20">
@@ -70,7 +70,7 @@
<template slot="content">
<ai-card title="合同信息">
<template #right>
<span style="color:#2266FF;cursor: pointer;font-size: 12px;" class="iconfont iconEdit" v-if="isEdit==false" @click="isEdit=true,forms=data">修改</span>
<span style="color:#2266FF;cursor: pointer;font-size: 12px;" class="iconfont iconEdit" v-if="isEdit==false" @click="isEdit=true,form=data">修改</span>
</template>
<template #content>
<ai-wrapper>
@@ -107,6 +107,16 @@ export default {
id: '',
form: {
useCertificate: '',
areaId: '',
areaName: '',
usePerson: '',
houseNumber: '',
idNumber: '',
landOwnership: '',
landArea: '',
landFourTo: '',
useSituation: '',
fileList: '',
},
isEdit: false,
@@ -137,7 +147,7 @@ export default {
this.id = this.params.id
this.getDetail(this.params.id)
}
this.areaId = this.user.info.areaId
this.form.areaId = this.user.info.areaId
this.getTableData()
},
methods: {
@@ -168,7 +178,7 @@ export default {
this.$refs.form.validate((valid) => {
if (valid) {
this.instance.post(`/appcollectiveeconomyequity/addOrUpdate`, {
...this.forms,
...this.form,
id: this.params.id || '',
}).then(res => {
if (res.code == 0) {