企业编辑有问题,暂时屏蔽功能
parent
80ab578870
commit
0bae4cb6ac
|
@ -58,7 +58,7 @@
|
|||
<el-cascader id="POSSESSION" ref="POSSESSION" v-model="form.POSSESSION" :options="areaList" :props="areaProps" placeholder="请选择省市县" style="width: 100%" @change="changeArea" @visible-change="changeArea1"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<!-- <el-col :span="12">
|
||||
<el-form-item label="监管类型" prop="REGULARTYPE">
|
||||
<Treeselect
|
||||
:options="varOList"
|
||||
|
@ -70,7 +70,7 @@
|
|||
style="width: 100%;"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-col>-->
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
|
@ -412,7 +412,7 @@
|
|||
</span>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="删除" placement="top">
|
||||
<span class="Delete" @click="deleteImage(index)"><i class="el-icon-delete" /></span>
|
||||
<span class="Delete" @click="deleteOfficialSealFile"><i class="el-icon-delete" /></span>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -685,7 +685,7 @@ export default {
|
|||
callback()
|
||||
}
|
||||
}).catch((e) => {
|
||||
|
||||
callback()
|
||||
})
|
||||
}
|
||||
return {
|
||||
|
@ -837,7 +837,7 @@ export default {
|
|||
WHETHER_PRE_SALE_SERVICE: '',
|
||||
WHETHER_AFTER_SALES_SERVICE: '',
|
||||
VIPLEVEL: '',
|
||||
MARKETING_PERSON: '',
|
||||
MARKETING_PERSON: this.USER_ID,
|
||||
STATUS: '',
|
||||
VIP_GEAR: ''
|
||||
},
|
||||
|
@ -1171,7 +1171,7 @@ export default {
|
|||
const POSSESSION = data.pd.POSSESSION
|
||||
await this.getAreaOpts(POSSESSION, this.areaList, 0)
|
||||
this.OLDFOURTYPE = data.pd.FOURTYPE
|
||||
data.pd.MARKETING_PERSON = data.pd.MARKETING_PERSON || ''
|
||||
data.pd.MARKETING_PERSON = data.pd.MARKETING_PERSON || this.USER_ID
|
||||
if (data.pd.MARKETING_PERSON == null || data.pd.MARKETING_PERSON == '') {
|
||||
this.isOldData = '1'
|
||||
}
|
||||
|
@ -1179,7 +1179,7 @@ export default {
|
|||
console.log(this.form)
|
||||
this.changeArea()
|
||||
this.form.FOURTYPE = data.pd.FOURTYPE ? data.pd.FOURTYPE + '' : '1'
|
||||
this.form.INDUSTRY_TYPE = JSON.parse(data.pd.INDUSTRY_TYPE)
|
||||
// this.form.INDUSTRY_TYPE = JSON.parse(data.pd.INDUSTRY_TYPE)
|
||||
if (data.pd.ecoOption && data.pd.ecoOption.length > 0) {
|
||||
this.jjlxList = data.pd.ecoOption
|
||||
} else {
|
||||
|
@ -1203,22 +1203,26 @@ export default {
|
|||
this.$nextTick(() => {
|
||||
this.$refs.ecoCascader.presentText = this.censusRegisterPlaceName
|
||||
})
|
||||
if (this.form.CORP_OF_TYPE2 && this.form.CORP_OF_TYPE2 != '') {
|
||||
const node = {}
|
||||
node.id = this.form.CORP_OF_TYPE2
|
||||
this.$nextTick(() => {
|
||||
this.$refs.corpOfTypeRef.handleNodeClick(node)
|
||||
})
|
||||
} else if (this.form.CORP_OF_TYPE && this.form.CORP_OF_TYPE != '') {
|
||||
const node = {}
|
||||
node.id = this.form.CORP_OF_TYPE
|
||||
this.$nextTick(() => {
|
||||
this.$refs.corpOfTypeRef.handleNodeClick(node)
|
||||
})
|
||||
}
|
||||
// if (this.form.CORP_OF_TYPE2 && this.form.CORP_OF_TYPE2 != '') {
|
||||
// const node = {}
|
||||
// node.id = this.form.CORP_OF_TYPE2
|
||||
// this.$nextTick(() => {
|
||||
// this.$refs.corpOfTypeRef.handleNodeClick(node)
|
||||
// })
|
||||
// } else if (this.form.CORP_OF_TYPE && this.form.CORP_OF_TYPE != '') {
|
||||
// const node = {}
|
||||
// node.id = this.form.CORP_OF_TYPE
|
||||
// this.$nextTick(() => {
|
||||
// this.$refs.corpOfTypeRef.handleNodeClick(node)
|
||||
// })
|
||||
// }
|
||||
this.$forceUpdate()
|
||||
this.bus_images = data.busImgs
|
||||
this.official_seal_file = data.official_seal_file
|
||||
console.log(data.pd.OFFICIAL_SEAL_PATH)
|
||||
if (data.pd.OFFICIAL_SEAL_PATH) {
|
||||
this.official_seal_file.push({ FILEPATH: data.pd.OFFICIAL_SEAL_PATH })
|
||||
this.officialSealUpload = true
|
||||
}
|
||||
if (data.pd.FOURTYPE == 1) {
|
||||
this.four_images = data.fourImgs
|
||||
}
|
||||
|
@ -1249,7 +1253,17 @@ export default {
|
|||
resolve()
|
||||
})
|
||||
},
|
||||
|
||||
deleteOfficialSealFile() {
|
||||
this.$confirm('确定要删除吗?', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.official_seal_file.splice(0, 1)
|
||||
this.officialSealUpload = false
|
||||
}).catch(() => {
|
||||
})
|
||||
},
|
||||
deleteImage(index) {
|
||||
this.$confirm('确定要删除吗?', {
|
||||
confirmButtonText: '确定',
|
||||
|
|
|
@ -258,7 +258,7 @@
|
|||
</div>
|
||||
<div class="ui-height" />
|
||||
<div class="ui-foot">
|
||||
<el-button type="primary" icon="el-icon-edit" @click="handleEdit(row)">修改</el-button>
|
||||
<!-- <el-button type="primary" icon="el-icon-edit" @click="handleEdit">修改</el-button>-->
|
||||
<el-button type="info" @click="goBack">返回</el-button>
|
||||
</div>
|
||||
|
||||
|
@ -309,7 +309,7 @@ export default {
|
|||
this.$parent.activeName = 'CorpList'
|
||||
},
|
||||
// 修改
|
||||
handleEdit(row) {
|
||||
handleEdit() {
|
||||
this.$parent.activeName = 'corpEdit'
|
||||
},
|
||||
chooseMap() {
|
||||
|
|
Loading…
Reference in New Issue