平台件项目库 法规清单编辑
This commit is contained in:
+1
@@ -1055,6 +1055,7 @@
|
|||||||
this.formInline.dataList[index].sdt = undefined
|
this.formInline.dataList[index].sdt = undefined
|
||||||
this.formInline = { ...this.formInline }
|
this.formInline = { ...this.formInline }
|
||||||
this.handleInput('dataList.' + index + '.dutyTerritory')
|
this.handleInput('dataList.' + index + '.dutyTerritory')
|
||||||
|
console.log(11)
|
||||||
this.queryPersonByProject(this.formInline.dataList[index].dutyTerritory.join(','), index)
|
this.queryPersonByProject(this.formInline.dataList[index].dutyTerritory.join(','), index)
|
||||||
},
|
},
|
||||||
queryPersonByProject(row, index) {
|
queryPersonByProject(row, index) {
|
||||||
|
|||||||
+51
-37
@@ -99,7 +99,7 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="Required" v-if="formInline.roleCodeIndex == 0">*</span>
|
<span class="Required" v-if="formInline.roleCodeIndex == 1">*</span>
|
||||||
<span class="title-text-text"
|
<span class="title-text-text"
|
||||||
:title="$t('statisticalNodes')">{{$t('statisticalNodes')}}</span>
|
:title="$t('statisticalNodes')">{{$t('statisticalNodes')}}</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -109,7 +109,7 @@
|
|||||||
optionFilterProp="label"
|
optionFilterProp="label"
|
||||||
@change="DutyDepartChange"
|
@change="DutyDepartChange"
|
||||||
mode="multiple"
|
mode="multiple"
|
||||||
:disabled="formInline.roleCodeIndex == 0 ? false : true"
|
:disabled="formInline.roleCodeIndex == 1 ? false : true"
|
||||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||||
v-model="formInline.dutyDepart">
|
v-model="formInline.dutyDepart">
|
||||||
<a-select-option v-for="(item, key) in firstLevelDutyTerritoryList"
|
<a-select-option v-for="(item, key) in firstLevelDutyTerritoryList"
|
||||||
@@ -127,7 +127,7 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="Required" v-if="formInline.roleCodeIndex == 0">*</span>
|
<span class="Required" v-if="formInline.roleCodeIndex == 1">*</span>
|
||||||
<span class="title-text-text"
|
<span class="title-text-text"
|
||||||
:title="$t('areaOfResponsibility')">{{$t('areaOfResponsibility')}}</span>
|
:title="$t('areaOfResponsibility')">{{$t('areaOfResponsibility')}}</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -151,7 +151,7 @@
|
|||||||
<!-- </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 == 1 ? 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'"/>
|
||||||
@@ -163,24 +163,31 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="Required" v-if="formInline.roleCodeIndex == 0">*</span>
|
<span class="Required" v-if="formInline.roleCodeIndex == 1">*</span>
|
||||||
<span class="title-text-text" :title="$t('regulatoryEngineer')">{{$t('regulatoryEngineer')}}</span>
|
<span class="title-text-text" :title="$t('regulatoryEngineer')">{{$t('regulatoryEngineer')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" :prop="'regulationOwnerId'">
|
<a-form-model-item class="itemModel" :prop="'regulationOwnerId'">
|
||||||
<a-select :placeholder="$t('PleaseSelect')+$t('regulatoryEngineer')"
|
<!-- <a-select :placeholder="$t('PleaseSelect')+$t('regulatoryEngineer')"-->
|
||||||
class="box-input"
|
<!-- class="box-input"-->
|
||||||
:disabled="formInline.roleCodeIndex == 0 ? false : true"
|
<!-- :disabled="formInline.roleCodeIndex == 1 ? false : true"-->
|
||||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
<!-- :getPopupContainer="triggerNode=> triggerNode.parentNode"-->
|
||||||
allowClear
|
<!-- allowClear-->
|
||||||
v-model="formInline.regulationOwnerId">
|
<!-- v-model="formInline.regulationOwnerId">-->
|
||||||
<a-select-option v-for="(item, key) in regulatoryEngineerList"
|
<!-- <a-select-option v-for="(item, key) in regulatoryEngineerList"-->
|
||||||
:key="key"
|
<!-- :key="key"-->
|
||||||
:value="item.value">
|
<!-- :value="item.value">-->
|
||||||
<span style="display: inline-block;width: 100%" :title=" item.name">
|
<!-- <span style="display: inline-block;width: 100%" :title=" item.name">-->
|
||||||
{{ item.name }}
|
<!-- {{ item.name }}-->
|
||||||
</span>
|
<!-- </span>-->
|
||||||
</a-select-option>
|
<!-- </a-select-option>-->
|
||||||
</a-select>
|
<!-- </a-select>-->
|
||||||
|
<PersonnelSelection :query="{db_field_name:'regulationOwnerId',db_field_txt:$t('regulatoryEngineer')}"
|
||||||
|
:isSingleChoice="true"
|
||||||
|
:personneQuery="formInline"
|
||||||
|
v-if="visible"
|
||||||
|
:disabled="isEdit(this.formInline)"
|
||||||
|
@change="PersonnelSelectionChange"
|
||||||
|
v-model="formInline.regulationOwnerId"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -191,19 +198,26 @@
|
|||||||
<span class="title-text-text" :title="$t('engineeringInterfacePerson')">{{$t('engineeringInterfacePerson')}}</span>
|
<span class="title-text-text" :title="$t('engineeringInterfacePerson')">{{$t('engineeringInterfacePerson')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" :prop="'engineeringInterfacePerson'">
|
<a-form-model-item class="itemModel" :prop="'engineeringInterfacePerson'">
|
||||||
<a-select :placeholder="$t('PleaseSelect')+$t('engineeringInterfacePerson')"
|
<!-- <a-select :placeholder="$t('PleaseSelect')+$t('engineeringInterfacePerson')"-->
|
||||||
class="box-input"
|
<!-- class="box-input"-->
|
||||||
allowClear
|
<!-- allowClear-->
|
||||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
<!-- :getPopupContainer="triggerNode=> triggerNode.parentNode"-->
|
||||||
v-model="formInline.engineeringInterfacePerson">
|
<!-- v-model="formInline.engineeringInterfacePerson">-->
|
||||||
<a-select-option v-for="(item, key) in engineeringInterfacePersonList"
|
<!-- <a-select-option v-for="(item, key) in engineeringInterfacePersonList"-->
|
||||||
:key="key"
|
<!-- :key="key"-->
|
||||||
:value="item.value">
|
<!-- :value="item.value">-->
|
||||||
<span style="display: inline-block;width: 100%" :title=" item.name ">
|
<!-- <span style="display: inline-block;width: 100%" :title=" item.name ">-->
|
||||||
{{ item.name }}
|
<!-- {{ item.name }}-->
|
||||||
</span>
|
<!-- </span>-->
|
||||||
</a-select-option>
|
<!-- </a-select-option>-->
|
||||||
</a-select>
|
<!-- </a-select>-->
|
||||||
|
<PersonnelSelection :query="{db_field_name:'engineeringInterfacePerson',db_field_txt:$t('engineeringInterfacePerson')}"
|
||||||
|
:isSingleChoice="true"
|
||||||
|
:personneQuery="formInline"
|
||||||
|
v-if="visible"
|
||||||
|
:disabled="isEdit(this.formInline)"
|
||||||
|
@change="PersonnelSelectionChange"
|
||||||
|
v-model="formInline.engineeringInterfacePerson"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -485,11 +499,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<div class="header-text" v-if="rejectCauseList && rejectCauseList.length > 0 && formInline.roleCodeIndex == 0">
|
<div class="header-text" v-if="rejectCauseList && rejectCauseList.length > 1 && formInline.roleCodeIndex == 1">
|
||||||
{{$t('reasonForReturnOfDesignCompliance')}}
|
{{$t('reasonForReturnOfDesignCompliance')}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="rejectCauseList && rejectCauseList.length > 0 && formInline.roleCodeIndex == 0"
|
<div v-if="rejectCauseList && rejectCauseList.length > 0 && formInline.roleCodeIndex == 1"
|
||||||
v-for="(item,index) in rejectCauseList">
|
v-for="(item,index) in rejectCauseList">
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
@@ -531,11 +545,11 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="header-text"
|
<div class="header-text"
|
||||||
v-if="rejectCauseListOne && rejectCauseListOne.length > 0 && formInline.roleCodeIndex == 0">
|
v-if="rejectCauseListOne && rejectCauseListOne.length > 0 && formInline.roleCodeIndex == 1">
|
||||||
{{$t('verifyComplianceConfirmReturnReason')}}
|
{{$t('verifyComplianceConfirmReturnReason')}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="rejectCauseListOne && rejectCauseListOne.length > 0 && formInline.roleCodeIndex == 0"
|
<div v-if="rejectCauseListOne && rejectCauseListOne.length > 0 && formInline.roleCodeIndex == 1"
|
||||||
v-for="(item,index) in rejectCauseListOne">
|
v-for="(item,index) in rejectCauseListOne">
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
@@ -579,7 +593,7 @@
|
|||||||
</a-spin>
|
</a-spin>
|
||||||
<div class="drawer-bootom-button">
|
<div class="drawer-bootom-button">
|
||||||
<a-button style="margin-right: 8px" @click="handleCancel">{{$t('cancel')}}</a-button>
|
<a-button style="margin-right: 8px" @click="handleCancel">{{$t('cancel')}}</a-button>
|
||||||
<a-button @click="handleSubmit" v-if="formInline.roleCodeIndex == 0" type="primary" :loading="confirmLoading">
|
<a-button @click="handleSubmit" v-if="formInline.roleCodeIndex == 1" type="primary" :loading="confirmLoading">
|
||||||
{{$t('submit')}}
|
{{$t('submit')}}
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button @click="handleSubmit" v-else type="primary" :loading="confirmLoading">{{$t('confirm')}}</a-button>
|
<a-button @click="handleSubmit" v-else type="primary" :loading="confirmLoading">{{$t('confirm')}}</a-button>
|
||||||
|
|||||||
Reference in New Issue
Block a user