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

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