[update] 联调联络人管理
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
<!-- 部门名称 -->
|
<!-- 部门名称 -->
|
||||||
<a-col :span="6">
|
<a-col :span="6">
|
||||||
<a-form-item :label="$t('system.contact.departName')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item :label="$t('system.contact.departName')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<a-input :placeholder="$t('pleaseEnter')+$t('system.contact.departName')" v-model="queryParam.departName"></a-input>
|
<j-input :placeholder="$t('pleaseEnter')+$t('system.contact.departName')" v-model="queryParam.departName"></j-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
@@ -109,7 +109,8 @@ export default {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
url: {
|
url: {
|
||||||
list: '/laws/system/lawsContactManage/page'
|
list: '/laws/system/lawsContactManage/page',
|
||||||
|
delete: '/laws/system/lawsContactManage/delete'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,8 @@
|
|||||||
v-decorator.trim="[ 'departId', validatorRules.departId]"
|
v-decorator.trim="[ 'departId', validatorRules.departId]"
|
||||||
:multi="false"
|
:multi="false"
|
||||||
:backDepart="true"
|
:backDepart="true"
|
||||||
:treeOpera="true">
|
:treeOpera="true"
|
||||||
|
@back="departBack">
|
||||||
</j-select-depart>
|
</j-select-depart>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<!-- 标准化工程师 -->
|
<!-- 标准化工程师 -->
|
||||||
@@ -124,6 +125,10 @@ export default {
|
|||||||
this.form.setFieldsValue(pick(this.model, 'departId', 'engineerId', 'contactId', 'leaderId'))
|
this.form.setFieldsValue(pick(this.model, 'departId', 'engineerId', 'contactId', 'leaderId'))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
// 部门选择完成的回调
|
||||||
|
departBack (value) {
|
||||||
|
this.model.departName = value.map(item => item.text).join(',')
|
||||||
|
},
|
||||||
// 选择用户得到用户名
|
// 选择用户得到用户名
|
||||||
userSelectNameChange (value, fieldName) {
|
userSelectNameChange (value, fieldName) {
|
||||||
this.model[fieldName + '_dictText'] = value
|
this.model[fieldName + '_dictText'] = value
|
||||||
@@ -137,6 +142,7 @@ export default {
|
|||||||
if (!err) {
|
if (!err) {
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
const param = Object.assign({}, values)
|
const param = Object.assign({}, values)
|
||||||
|
param.departName = this.model.departName
|
||||||
let url = ''
|
let url = ''
|
||||||
if (this.model.id) {
|
if (this.model.id) {
|
||||||
url = this.url.edit
|
url = this.url.edit
|
||||||
|
|||||||
Reference in New Issue
Block a user