平台件项目库 法规清单编辑回显

This commit is contained in:
zyx.net
2023-09-15 09:32:56 +08:00
parent 964f79b5c8
commit 563d599ab8
6 changed files with 29 additions and 29 deletions
@@ -447,7 +447,7 @@
projectId: this.$route.query.id,
dutyTerritory: row.dutyTerritory || row
}
getAction('/platform/projectRelatedPersonnel/queryPersonByProjectId', query).then((res) => {
getAction('/project/projectRelatedPersonnel/queryPersonByProjectId', query).then((res) => {
if (res.success) {
this.regulatoryEngineerList = res.result.lawEngineerList || [] //法规工程师
this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList || [] //工程接口人
@@ -1062,7 +1062,7 @@
projectId: this.$route.query.id,
dutyTerritory: row
}
getAction('/platform/projectRelatedPersonnel/queryPersonByProjectId', query).then((res) => {
getAction('/project/projectRelatedPersonnel/queryPersonByProjectId', query).then((res) => {
if (res.success) {
if (this.formInline.id) {
this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList || [] //工程接口人
@@ -369,7 +369,7 @@
projectId: this.$route.query.id,
dutyTerritory: row
}
getAction('/platform/projectRelatedPersonnel/queryPersonByProjectId', query).then((res) => {
getAction('/project/projectRelatedPersonnel/queryPersonByProjectId', query).then((res) => {
if (res.success) {
this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList || [] //工程接口人
}
@@ -132,29 +132,29 @@
:title="$t('areaOfResponsibility')">{{$t('areaOfResponsibility')}}</span>
</div>
<a-form-model-item class="itemModel-multi" prop="dutyTerritory">
<a-select :placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
class="box-input"
optionFilterProp="label"
mode="multiple"
@change="dutyTerritoryChange"
:disabled="formInline.roleCodeIndex == 0 ? false : true"
:getPopupContainer="triggerNode=> triggerNode.parentNode"
v-model="formInline.dutyTerritory">
<a-select-option v-for="(item, key) in dutyTerritoryList"
:key="key"
:label="item.itemText"
:value="item.itemValue">
<span style="display: inline-block;width: 100%" :title=" item.itemText ">
{{ item.itemText }}
</span>
</a-select-option>
</a-select>
<!-- <j-multi-select-tag class="box-input" v-model="formInline.dutyTerritory"-->
<!-- @change="dutyTerritoryChange"-->
<!-- :disabled="formInline.roleCodeIndex == 0 ? false : true"-->
<!-- :placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"-->
<!-- :type="'select'"-->
<!-- :triggerChange="false" :dictCode="'duty_territory'"/>-->
<!-- <a-select :placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"-->
<!-- class="box-input"-->
<!-- optionFilterProp="label"-->
<!-- mode="multiple"-->
<!-- @change="dutyTerritoryChange"-->
<!-- :disabled="formInline.roleCodeIndex == 0 ? false : true"-->
<!-- :getPopupContainer="triggerNode=> triggerNode.parentNode"-->
<!-- v-model="formInline.dutyTerritory">-->
<!-- <a-select-option v-for="(item, key) in dutyTerritoryList"-->
<!-- :key="key"-->
<!-- :label="item.itemText"-->
<!-- :value="item.itemValue">-->
<!-- <span style="display: inline-block;width: 100%" :title=" item.itemText ">-->
<!-- {{ item.itemText }}-->
<!-- </span>-->
<!-- </a-select-option>-->
<!-- </a-select>-->
<j-multi-select-tag class="box-input" v-model="formInline.dutyTerritory"
@change="dutyTerritoryChange"
:disabled="formInline.roleCodeIndex == 0 ? false : true"
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
:type="'select'"
:triggerChange="false" :dictCode="'duty_territory'"/>
</a-form-model-item>
</div>
</a-col>
@@ -787,7 +787,7 @@
let query = {
projectLawsInventoryId: id
}
getAction('/platform/projectLawsInventoryRejectCauseEO/list', query).then((res) => {
getAction('/project/projectLawsInventoryRejectCauseEO/list', query).then((res) => {
if (res.success) {
this.rejectCauseList = []
this.rejectCauseListOne = []
@@ -1270,7 +1270,7 @@
deleteOne: '/platform/projectLawsInventoryEO/delete',
updateStatusBatch: '/platform/projectLawsInventoryEO/updateStatusBatch',
matchRelevantPeople: '/platform/projectLawsInventoryEO/matchRelevantPeople',
queryPersonByProject: '/platform/projectRelatedPersonnel/queryPersonByProjectId',
queryPersonByProject: '/project/projectRelatedPersonnel/queryPersonByProjectId',
importZipUrl: '/platform/projectLawsInventoryEO/importData',
exportTemplate: '/platform/projectLawsInventoryEO/exportTemplate',
exportData: '/platform/projectLawsInventoryEO/exportData',
@@ -525,7 +525,7 @@
let query = {
projectLawsInventoryId: id
}
getAction('/platform/projectLawsInventoryRejectCauseEO/list', query).then((res) => {
getAction('/project/projectLawsInventoryRejectCauseEO/list', query).then((res) => {
if (res.success) {
this.rejectCauseList = []
this.rejectCauseListOne = []