平台件认证清单-编辑-责任部门和责任领域没有关联
This commit is contained in:
+22
-9
@@ -217,12 +217,22 @@
|
|||||||
:prop="'dataList.'+index+'.dutyTerritory'"
|
:prop="'dataList.'+index+'.dutyTerritory'"
|
||||||
:rules="[{ required: true, message: $t('areaOfResponsibility') + $t('cannotEmpty'), trigger: 'change'},]"
|
:rules="[{ required: true, message: $t('areaOfResponsibility') + $t('cannotEmpty'), trigger: 'change'},]"
|
||||||
>
|
>
|
||||||
<j-dict-select-tag class="box-input" v-model="item.dutyTerritory"
|
<a-select :placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
|
||||||
@input="handleInput('dataList.'+index+'.dutyTerritory')"
|
class="box-input"
|
||||||
@changeQuery="dutyHandleChange(index)"
|
optionFilterProp="label"
|
||||||
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
|
mode="multiple"
|
||||||
:type="'select'"
|
@change="dutyHandleChange(index)"
|
||||||
:triggerChange="false" :dictCode="'duty_territory'"/>
|
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||||
|
v-model="item.dutyTerritory">
|
||||||
|
<a-select-option v-for="(val, key) in item.dutyTerritoryList"
|
||||||
|
:key="key"
|
||||||
|
:label="val.itemText"
|
||||||
|
:value="val.itemValue">
|
||||||
|
<span style="display: inline-block;width: 100%" :title=" val.itemText ">
|
||||||
|
{{ val.itemText }}
|
||||||
|
</span>
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -810,9 +820,12 @@
|
|||||||
value.dutyDepart = value.dutyDepart ? value.dutyDepart.split(',') : []
|
value.dutyDepart = value.dutyDepart ? value.dutyDepart.split(',') : []
|
||||||
value.dutyTerritory = value.dutyTerritory ? value.dutyTerritory.split(',') : []
|
value.dutyTerritory = value.dutyTerritory ? value.dutyTerritory.split(',') : []
|
||||||
this.formInline = JSON.parse(JSON.stringify(value))
|
this.formInline = JSON.parse(JSON.stringify(value))
|
||||||
// if (value.dutyTerritory && value.dutyTerritory.length > 0) {
|
if (value.dutyDepart && value.dutyDepart.length > 0) {
|
||||||
// this.queryPersonByProject(value.dutyTerritory.join(','))
|
this.getDutyTerritoryOne(value.dutyDepart.join(','))
|
||||||
// }
|
}
|
||||||
|
if (value.dutyTerritory && value.dutyTerritory.length > 0) {
|
||||||
|
this.queryPersonByProject(value.dutyTerritory.join(','))
|
||||||
|
}
|
||||||
this.getRegulationNo()
|
this.getRegulationNo()
|
||||||
this.title = this.$t('edit')
|
this.title = this.$t('edit')
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user