集团单位单选变多选
parent
9aeb156474
commit
1a3d7a174c
|
@ -183,7 +183,6 @@
|
|||
|
||||
<div class="level-title">
|
||||
<h1>2、单位资质信息</h1>
|
||||
<!-- <el-button type="primary" icon="el-icon-plus" @click="handleQualificationAdd">添加资质</el-button>-->
|
||||
</div>
|
||||
<el-table
|
||||
v-loading="listLoading"
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="集团单位" prop="CORP_TYPE">
|
||||
<el-select v-model="form.CORP_TYPE" style="width: 100%">
|
||||
<el-select v-model="form.CORP_TYPE" multiple style="width: 100%">
|
||||
<el-option v-for="item in corpTypeList" :key="item.BIANMA" :label="item.NAME" :value="item.BIANMA"/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
@ -172,9 +172,6 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<!--<el-form-item label="流动人员比例(%)" prop="FLOATING_PERCENT">
|
||||
<el-input id="FLOATING_PERCENT" ref="FLOATING_PERCENT" v-model="form.FLOATING_PERCENT" maxlength="255" placeholder="这里输入流动人员比例..." title="流动人员比例"/>
|
||||
</el-form-item>-->
|
||||
</el-form>
|
||||
<div style="text-align: center">
|
||||
<el-button :loading="submitButtonLoading" type="primary" @click="submitForm">提交</el-button>
|
||||
|
@ -197,11 +194,8 @@
|
|||
<div style="flex:1;">
|
||||
<el-autocomplete v-model="addressKeyword" :fetch-suggestions="querySearch" :trigger-on-focus="false" placeholder="请输入详细地址" style="width:100%" @select="handleSelect" />
|
||||
</div>
|
||||
<!-- <el-input v-model="addressKeyword" style="width: 200px" placeholder="请输入内容" />-->
|
||||
<!-- <el-button slot="append" icon="el-icon-search" @click="mapNameChange"/>-->
|
||||
</div>
|
||||
</bm-control>
|
||||
<!-- <bm-local-search :keyword="addressKeyword" :auto-viewport="true"/>-->
|
||||
</baidu-map>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<span>经度:</span>
|
||||
|
@ -224,8 +218,6 @@ import DeptSelectTree from '@/components/DeptSelectTree'
|
|||
import SelectTree from '@/components/SelectTree'
|
||||
import Treeselect from '@riophae/vue-treeselect'
|
||||
|
||||
// import { upload } from '@/utils/upload'
|
||||
|
||||
export default {
|
||||
components: { Pagination, DeptSelectTree, SelectTree, Treeselect },
|
||||
directives: { waves },
|
||||
|
@ -501,7 +493,6 @@ export default {
|
|||
this.form.CITY = this.form.POSSESSION[1] || ''
|
||||
this.form.COUNTY = this.form.POSSESSION[2] || ''
|
||||
this.form.VILLAGE = this.form.POSSESSION[3] || ''
|
||||
// this.form.STREET = this.form.POSSESSION[4] || ''
|
||||
this.form.COMPANY_AREA = this.$refs.POSSESSION.getCheckedNodes()[0].pathLabels ? this.$refs.POSSESSION.getCheckedNodes()[0].pathLabels.join(',') : ''
|
||||
}
|
||||
this.form.SELECT_FORM = this.form.SELECT_FORMS.join(',')
|
||||
|
@ -512,14 +503,7 @@ export default {
|
|||
if (this.form.MANAGER_DEPARTMENT_ID) {
|
||||
this.form.MANAGER_DEPARTMENT_ID = this.form.MANAGER_DEPARTMENT_ID.join(',')
|
||||
}
|
||||
|
||||
/* if (this.form.INDUSTRYALL && this.form.INDUSTRYALL.length > 0) {
|
||||
this.form.CORP_TYPE = this.form.INDUSTRYALL[0] || ''
|
||||
this.form.CORP_TYPE2 = this.form.INDUSTRYALL[1] || ''
|
||||
this.form.CORP_TYPE3 = this.form.INDUSTRYALL[2] || ''
|
||||
this.form.CORP_TYPE4 = this.form.INDUSTRYALL[3] || ''
|
||||
this.form.CORP_TYPE_NAME = this.$refs.industryCascader.getCheckedNodes()[0].pathLabels ? this.$refs.industryCascader.getCheckedNodes()[0].pathLabels.join('/') : ''
|
||||
} */
|
||||
this.form.CORP_TYPE = JSON.stringify(this.form.CORP_TYPE)
|
||||
requestFN(
|
||||
'/relevantunits/saveCorpInfo',
|
||||
this.form
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
<el-row :gutter="24">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="集团单位" prop="CORP_TYPE">
|
||||
<el-select v-model="form.CORP_TYPE" style="width: 100%">
|
||||
<el-select v-model="form.CORP_TYPE" multiple style="width: 100%">
|
||||
<el-option v-for="item in corpTypeList" :key="item.BIANMA" :label="item.NAME" :value="item.BIANMA"/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
@ -200,11 +200,8 @@
|
|||
<div style="flex:1;">
|
||||
<el-autocomplete v-model="addressKeyword" :fetch-suggestions="querySearch" :trigger-on-focus="false" placeholder="请输入详细地址" style="width:100%" @select="handleSelect" />
|
||||
</div>
|
||||
<!-- <el-input v-model="addressKeyword" style="width: 200px" placeholder="请输入内容" />-->
|
||||
<!-- <el-button slot="append" icon="el-icon-search" @click="mapNameChange"/>-->
|
||||
</div>
|
||||
</bm-control>
|
||||
<!-- <bm-local-search :keyword="addressKeyword" :auto-viewport="true"/>-->
|
||||
</baidu-map>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<span>经度:</span>
|
||||
|
@ -227,8 +224,6 @@ import DeptSelectTree from '@/components/DeptSelectTree'
|
|||
import SelectTree from '@/components/SelectTree'
|
||||
import Treeselect from '@riophae/vue-treeselect'
|
||||
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
|
||||
// import { upload } from '@/utils/upload'
|
||||
|
||||
export default {
|
||||
components: { Pagination, DeptSelectTree, SelectTree, Treeselect },
|
||||
directives: { waves },
|
||||
|
@ -498,6 +493,7 @@ export default {
|
|||
if (data.pd.CITY != '') this.form.POSSESSION.push(data.pd.CITY)
|
||||
if (data.pd.COUNTY != '') this.form.POSSESSION.push(data.pd.COUNTY)
|
||||
if (data.pd.VILLAGE != '') this.form.POSSESSION.push(data.pd.VILLAGE)
|
||||
this.form.CORP_TYPE = JSON.parse(this.form.CORP_TYPE)
|
||||
this.AUDIT_STATE = this.form.STATE
|
||||
resolve()
|
||||
}).catch((e) => {
|
||||
|
|
|
@ -1,16 +1,17 @@
|
|||
<template>
|
||||
<div class="app-container">
|
||||
<el-form label-width="150px">
|
||||
<el-form label-width="120px">
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="6">
|
||||
<el-form-item label="相关方单位名称">
|
||||
<el-input v-model="KEYWORDS" placeholder="搜索相关方单位名称" />
|
||||
<el-input v-model="KEYWORDS" style="width: 100%" placeholder="搜索相关方单位名称" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="开户时间">
|
||||
<el-date-picker
|
||||
v-model="date"
|
||||
style="width: 100%"
|
||||
type="daterange"
|
||||
range-separator="至"
|
||||
start-placeholder="开始日期"
|
||||
|
@ -26,6 +27,7 @@
|
|||
v-model="queryForm.POSSESSION"
|
||||
:options="areaList"
|
||||
:props="areaProps"
|
||||
style="width: 100%"
|
||||
placeholder="请选择属地"
|
||||
@change="cascaderChange"/>
|
||||
</el-form-item>
|
||||
|
@ -117,15 +119,12 @@
|
|||
<el-table-column prop="SUPERVISE_CORPINFO_DEPT_NAME" label="基层单位主管部门" show-overflow-tooltip/>
|
||||
<el-table-column prop="COMPETENT_DEPT_NAME" label="基层单位监管部门" show-overflow-tooltip/>
|
||||
<el-table-column prop="CREATOR_NAME" label="开户人员" />
|
||||
<!-- :formatter="(row) => formatStateLabel(row)" -->
|
||||
<el-table-column :formatter="(row) => formatStateLabel(row)" prop="STATE" label="状态" />
|
||||
<el-table-column label="操作" align="center" width="380">
|
||||
<el-table-column label="操作" align="center" width="300">
|
||||
<template slot-scope="{row}">
|
||||
<el-button type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row)">编辑</el-button>
|
||||
<el-button type="warning" icon="el-icon-refresh" size="mini" @click="resetPassword(row)">重置密码</el-button>
|
||||
<el-button type="danger" icon="el-icon-delete" size="mini" @click="deleteCorpInfo(row)">删除</el-button>
|
||||
<!-- @click="goEditPage(row.CORPINFO_ID)" -->
|
||||
<!-- <el-button type="success" icon="el-icon-edit" size="mini">修改</el-button>-->
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
@ -228,8 +227,6 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
onChange(value) {
|
||||
console.log(value)
|
||||
console.log(this.queryForm.SUPERVISE_DEPARTMENT_ID)
|
||||
},
|
||||
getTreeList() {
|
||||
requestFN(
|
||||
|
|
Loading…
Reference in New Issue