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-col>
</el-row> </el-row>
<el-form-item label="所在地区" prop="areaName"> <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-form-item>
<el-row type="flex"> <el-row type="flex">
<el-col :span="20"> <el-col :span="20">
@@ -70,7 +70,7 @@
<template slot="content"> <template slot="content">
<ai-card title="合同信息"> <ai-card title="合同信息">
<template #right> <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>
<template #content> <template #content>
<ai-wrapper> <ai-wrapper>
@@ -107,6 +107,16 @@ export default {
id: '', id: '',
form: { form: {
useCertificate: '', useCertificate: '',
areaId: '',
areaName: '',
usePerson: '',
houseNumber: '',
idNumber: '',
landOwnership: '',
landArea: '',
landFourTo: '',
useSituation: '',
fileList: '',
}, },
isEdit: false, isEdit: false,
@@ -137,7 +147,7 @@ export default {
this.id = this.params.id this.id = this.params.id
this.getDetail(this.params.id) this.getDetail(this.params.id)
} }
this.areaId = this.user.info.areaId this.form.areaId = this.user.info.areaId
this.getTableData() this.getTableData()
}, },
methods: { methods: {
@@ -168,7 +178,7 @@ export default {
this.$refs.form.validate((valid) => { this.$refs.form.validate((valid) => {
if (valid) { if (valid) {
this.instance.post(`/appcollectiveeconomyequity/addOrUpdate`, { this.instance.post(`/appcollectiveeconomyequity/addOrUpdate`, {
...this.forms, ...this.form,
id: this.params.id || '', id: this.params.id || '',
}).then(res => { }).then(res => {
if (res.code == 0) { if (res.code == 0) {