法规清单修改
This commit is contained in:
@@ -1404,4 +1404,6 @@ module.exports = {
|
|||||||
missionRejection:'Mission Rejection',
|
missionRejection:'Mission Rejection',
|
||||||
turnToDo:'Turn To Do',
|
turnToDo:'Turn To Do',
|
||||||
initiateTask:'Initiate a Task',
|
initiateTask:'Initiate a Task',
|
||||||
|
compliancereport:'Generate compliance report',
|
||||||
|
todocenter:'To-do center',
|
||||||
}
|
}
|
||||||
@@ -1505,4 +1505,6 @@ module.exports = {
|
|||||||
missionRejection:'任务拒绝',
|
missionRejection:'任务拒绝',
|
||||||
turnToDo:'转办',
|
turnToDo:'转办',
|
||||||
initiateTask:'发起任务',
|
initiateTask:'发起任务',
|
||||||
|
compliancereport:'生成合规报告',
|
||||||
|
todocenter:'待办中心',
|
||||||
}
|
}
|
||||||
@@ -11,18 +11,19 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="Virtual-detail-text-right">
|
<div class="Virtual-detail-text-right">
|
||||||
|
<!-- <div class="operator-text"-->
|
||||||
|
<!-- v-if="textTitle === $t('listOfRegulations')"-->
|
||||||
|
<!-- v-has="'projectComment:list'"-->
|
||||||
|
<!-- @click="commentClick">-->
|
||||||
|
<!-- <a-icon type="message"/>-->
|
||||||
|
<!-- {{$t('comment')}}-->
|
||||||
|
<!-- </div>-->
|
||||||
<div class="operator-text"
|
<div class="operator-text"
|
||||||
v-if="textTitle === $t('listOfRegulations')"
|
v-if="textTitle === $t('listOfRegulations')"
|
||||||
v-has="'projectComment:list'"
|
v-has="'projectComment:list'"
|
||||||
@click="commentClick">
|
@click="todocenterClick">
|
||||||
<a-icon type="message"/>
|
<a-icon type="qrcode"/>
|
||||||
{{$t('comment')}}
|
{{$t('todocenter')}}
|
||||||
</div>
|
|
||||||
<div class="operator-text" v-has="'projectHistoryVersions:list'"
|
|
||||||
v-if="textTitle === $t('listOfRegulations')"
|
|
||||||
@click="historicalVersionClick">
|
|
||||||
<a-icon type="clock-circle"/>
|
|
||||||
{{$t('historicalVersion')}}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="operator-text" v-has="'projectLawsInventoryLog:page'"
|
<div class="operator-text" v-has="'projectLawsInventoryLog:page'"
|
||||||
v-if="textTitle === $t('listOfRegulations')"
|
v-if="textTitle === $t('listOfRegulations')"
|
||||||
@@ -30,6 +31,12 @@
|
|||||||
<a-icon type="reload"/>
|
<a-icon type="reload"/>
|
||||||
{{$t('UpdateLog')}}
|
{{$t('UpdateLog')}}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="operator-text" v-has="'projectHistoryVersions:list'"
|
||||||
|
v-if="textTitle === $t('listOfRegulations')"
|
||||||
|
@click="historicalVersionClick">
|
||||||
|
<a-icon type="clock-circle"/>
|
||||||
|
{{$t('historicalVersion')}}
|
||||||
|
</div>
|
||||||
<div class="operator-text" v-has="'projectLawsInventoryLog:page'"
|
<div class="operator-text" v-has="'projectLawsInventoryLog:page'"
|
||||||
v-if="textTitle === $t('certificationList') || textTitle === $t('listOfRegulations')"
|
v-if="textTitle === $t('certificationList') || textTitle === $t('listOfRegulations')"
|
||||||
@click="roleSwitchingClick">
|
@click="roleSwitchingClick">
|
||||||
@@ -308,6 +315,10 @@
|
|||||||
text[i].classList.add('Virtual-detail-left-text-color')
|
text[i].classList.add('Virtual-detail-left-text-color')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
//待办中心跳转
|
||||||
|
todocenterClick(){
|
||||||
|
|
||||||
},
|
},
|
||||||
UpdateLogClick() {
|
UpdateLogClick() {
|
||||||
this.$refs.updateLogRef.getList({ projectLibraryId: this.$route.query.id })
|
this.$refs.updateLogRef.getList({ projectLibraryId: this.$route.query.id })
|
||||||
|
|||||||
@@ -228,30 +228,30 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter="24" v-if="formInline.roleCodeIndex == 0">
|
<a-row :gutter="24" v-if="formInline.roleCodeIndex == 0">
|
||||||
<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 == 0">*</span>-->
|
||||||
<span class="title-text-text" :title="$t('certifiedEngineer')">{{$t('certifiedEngineer')}}</span>
|
<!-- <span class="title-text-text" :title="$t('certifiedEngineer')">{{$t('certifiedEngineer')}}</span>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<a-form-model-item class="itemModel" :prop="'homologationEngineerId'">
|
<!-- <a-form-model-item class="itemModel" :prop="'homologationEngineerId'">-->
|
||||||
<a-select :placeholder="$t('PleaseSelect')+$t('certifiedEngineer')"
|
<!-- <a-select :placeholder="$t('PleaseSelect')+$t('certifiedEngineer')"-->
|
||||||
class="box-input"
|
<!-- class="box-input"-->
|
||||||
allowClear
|
<!-- allowClear-->
|
||||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
<!-- :getPopupContainer="triggerNode=> triggerNode.parentNode"-->
|
||||||
:disabled="formInline.roleCodeIndex == 0 ? false : true"
|
<!-- :disabled="formInline.roleCodeIndex == 0 ? false : true"-->
|
||||||
v-model="formInline.homologationEngineerId">
|
<!-- v-model="formInline.homologationEngineerId">-->
|
||||||
<a-select-option v-for="(item, key) in certificationEngineerList"
|
<!-- <a-select-option v-for="(item, key) in certificationEngineerList"-->
|
||||||
: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>-->
|
||||||
</a-form-model-item>
|
<!-- </a-form-model-item>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
<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">
|
||||||
@@ -277,7 +277,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter="24">
|
<!-- <a-row :gutter="24">-->
|
||||||
<!-- <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">-->
|
||||||
@@ -295,23 +295,23 @@
|
|||||||
<!-- </a-form-model-item>-->
|
<!-- </a-form-model-item>-->
|
||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
<!-- </a-col>-->
|
<!-- </a-col>-->
|
||||||
</a-row>
|
<!-- </a-row>-->
|
||||||
<!-- <a-row :gutter="24">-->
|
<a-row :gutter="24">
|
||||||
<!-- <a-col :span="24">-->
|
<a-col :span="24">
|
||||||
<!-- <div class="box-title-text">-->
|
<div class="box-title-text">
|
||||||
<!-- <div class="title-text">-->
|
<div class="title-text">
|
||||||
<!-- <span class="title-text-text" :title="$t('remarks')">{{$t('remarks')}}</span>-->
|
<span class="title-text-text" :title="$t('remarks')">{{$t('remarks')}}</span>
|
||||||
<!-- </div>-->
|
</div>
|
||||||
<!-- <a-form-model-item class="itemModel-text" :prop="'remarks'">-->
|
<a-form-model-item class="itemModel-text" :prop="'remarks'">
|
||||||
<!-- <a-textarea-->
|
<a-textarea
|
||||||
<!-- style="width: 100%"-->
|
style="width: 100%"
|
||||||
<!-- :placeholder="$t('PleaseEnter')+$t('remarks')"-->
|
:placeholder="$t('PleaseEnter')+$t('remarks')"
|
||||||
<!-- :disabled="false"-->
|
:disabled="false"
|
||||||
<!-- v-model="formInline.remark" :rows="4"/>-->
|
v-model="formInline.remark" :rows="4"/>
|
||||||
<!-- </a-form-model-item>-->
|
</a-form-model-item>
|
||||||
<!-- </div>-->
|
</div>
|
||||||
<!-- </a-col>-->
|
</a-col>
|
||||||
<!-- </a-row>-->
|
</a-row>
|
||||||
<div class="header-text" v-if="formInline.roleCodeIndex == 0 ||
|
<div class="header-text" v-if="formInline.roleCodeIndex == 0 ||
|
||||||
(formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.homologationEngineerId &&
|
(formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.homologationEngineerId &&
|
||||||
formInline.homologationEngineerId == userInfoQuery.id) ||
|
formInline.homologationEngineerId == userInfoQuery.id) ||
|
||||||
@@ -324,36 +324,6 @@
|
|||||||
formInline.homologationEngineerId == userInfoQuery.id) ||
|
formInline.homologationEngineerId == userInfoQuery.id) ||
|
||||||
(formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.regulationOwnerId &&
|
(formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.regulationOwnerId &&
|
||||||
formInline.regulationOwnerId == userInfoQuery.id)">
|
formInline.regulationOwnerId == userInfoQuery.id)">
|
||||||
<a-col :span="12">
|
|
||||||
<div class="box-title-text">
|
|
||||||
<div class="title-text">
|
|
||||||
<span class="title-text-text"
|
|
||||||
:title="$t('Sponsor')">{{$t('Sponsor')}}</span>
|
|
||||||
</div>
|
|
||||||
<a-form-model-item class="itemModel" prop="designInitiatorId">
|
|
||||||
<a-select :placeholder="$t('PleaseSelect')+$t('Sponsor')"
|
|
||||||
:disabled="formInline.roleCodeIndex == 0 ? false : true"
|
|
||||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
|
||||||
class="box-input"
|
|
||||||
allowClear
|
|
||||||
v-model="formInline.designInitiatorId">
|
|
||||||
<a-select-option v-for="(item, key) in designInitiatorList"
|
|
||||||
:key="key"
|
|
||||||
:value="item.value">
|
|
||||||
<span style="display: inline-block;width: 100%" :title=" item.name ">
|
|
||||||
{{ item.name }}
|
|
||||||
</span>
|
|
||||||
</a-select-option>
|
|
||||||
</a-select>
|
|
||||||
<!-- <j-dict-select-tag class="box-input" v-model="formInline.designInitiator"-->
|
|
||||||
<!-- :disabled="formInline.roleCode == 0 ? false : true"-->
|
|
||||||
<!-- @input="handleInput('designInitiator')"-->
|
|
||||||
<!-- :placeholder="$t('PleaseSelect')+$t('Sponsor')"-->
|
|
||||||
<!-- :type="'select'"-->
|
|
||||||
<!-- :triggerChange="false" :dictCode="'fa1_qi3_ren2'"/>-->
|
|
||||||
</a-form-model-item>
|
|
||||||
</div>
|
|
||||||
</a-col>
|
|
||||||
<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">
|
||||||
@@ -383,30 +353,77 @@
|
|||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
|
||||||
<a-row :gutter="24" v-if="formInline.roleCodeIndex == 0 ||
|
|
||||||
(formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.homologationEngineerId &&
|
|
||||||
formInline.homologationEngineerId == userInfoQuery.id) ||
|
|
||||||
(formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.regulationOwnerId &&
|
|
||||||
formInline.regulationOwnerId == userInfoQuery.id)">
|
|
||||||
<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="title-text-text"
|
<span class="title-text-text"
|
||||||
:title="$t('cutoffTime')">{{$t('cutoffTime')}}</span>
|
:title="$t('cutoffTime')">{{$t('cutoffTime')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" :prop="'designDueDate'">
|
<a-form-model-item class="itemModel" :prop="'verifyDueDate'">
|
||||||
<a-date-picker class="box-input"
|
<a-date-picker class="box-input"
|
||||||
:placeholder="$t('PleaseSelect')+$t('cutoffTime')"
|
:placeholder="$t('PleaseSelect')+$t('cutoffTime')"
|
||||||
@change="dateChange({db_field_name:'designDueDate'})"
|
@change="dateChange({db_field_name:'verifyDueDate'})"
|
||||||
format="YYYY-MM-DD"
|
format="YYYY-MM-DD"
|
||||||
:getCalendarContainer="(trigger) => trigger.parentNode"
|
:getCalendarContainer="(trigger) => trigger.parentNode"
|
||||||
v-model="formInline.designDueDate"
|
v-model="formInline.verifyDueDate"
|
||||||
style="width: 100%"/>
|
style="width: 100%"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<!-- <a-col :span="12">-->
|
||||||
|
<!-- <div class="box-title-text">-->
|
||||||
|
<!-- <div class="title-text">-->
|
||||||
|
<!-- <span class="title-text-text"-->
|
||||||
|
<!-- :title="$t('Sponsor')">{{$t('Sponsor')}}</span>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- <a-form-model-item class="itemModel" prop="designInitiatorId">-->
|
||||||
|
<!-- <a-select :placeholder="$t('PleaseSelect')+$t('Sponsor')"-->
|
||||||
|
<!-- :disabled="formInline.roleCodeIndex == 0 ? false : true"-->
|
||||||
|
<!-- :getPopupContainer="triggerNode=> triggerNode.parentNode"-->
|
||||||
|
<!-- class="box-input"-->
|
||||||
|
<!-- allowClear-->
|
||||||
|
<!-- v-model="formInline.designInitiatorId">-->
|
||||||
|
<!-- <a-select-option v-for="(item, key) in designInitiatorList"-->
|
||||||
|
<!-- :key="key"-->
|
||||||
|
<!-- :value="item.value">-->
|
||||||
|
<!-- <span style="display: inline-block;width: 100%" :title=" item.name ">-->
|
||||||
|
<!-- {{ item.name }}-->
|
||||||
|
<!-- </span>-->
|
||||||
|
<!-- </a-select-option>-->
|
||||||
|
<!-- </a-select>-->
|
||||||
|
<!-- <!– <j-dict-select-tag class="box-input" v-model="formInline.designInitiator"–>-->
|
||||||
|
<!-- <!– :disabled="formInline.roleCode == 0 ? false : true"–>-->
|
||||||
|
<!-- <!– @input="handleInput('designInitiator')"–>-->
|
||||||
|
<!-- <!– :placeholder="$t('PleaseSelect')+$t('Sponsor')"–>-->
|
||||||
|
<!-- <!– :type="'select'"–>-->
|
||||||
|
<!-- <!– :triggerChange="false" :dictCode="'fa1_qi3_ren2'"/>–>-->
|
||||||
|
<!-- </a-form-model-item>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </a-col>-->
|
||||||
</a-row>
|
</a-row>
|
||||||
|
<!-- <a-row :gutter="24" v-if="formInline.roleCodeIndex == 0 ||-->
|
||||||
|
<!-- (formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.homologationEngineerId &&-->
|
||||||
|
<!-- formInline.homologationEngineerId == userInfoQuery.id) ||-->
|
||||||
|
<!-- (formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.regulationOwnerId &&-->
|
||||||
|
<!-- formInline.regulationOwnerId == userInfoQuery.id)">-->
|
||||||
|
<!-- <a-col :span="12">-->
|
||||||
|
<!-- <div class="box-title-text">-->
|
||||||
|
<!-- <div class="title-text">-->
|
||||||
|
<!-- <span class="title-text-text"-->
|
||||||
|
<!-- :title="$t('cutoffTime')">{{$t('cutoffTime')}}</span>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- <a-form-model-item class="itemModel" :prop="'designDueDate'">-->
|
||||||
|
<!-- <a-date-picker class="box-input"-->
|
||||||
|
<!-- :placeholder="$t('PleaseSelect')+$t('cutoffTime')"-->
|
||||||
|
<!-- @change="dateChange({db_field_name:'designDueDate'})"-->
|
||||||
|
<!-- format="YYYY-MM-DD"-->
|
||||||
|
<!-- :getCalendarContainer="(trigger) => trigger.parentNode"-->
|
||||||
|
<!-- v-model="formInline.designDueDate"-->
|
||||||
|
<!-- style="width: 100%"/>-->
|
||||||
|
<!-- </a-form-model-item>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </a-col>-->
|
||||||
|
<!-- </a-row>-->
|
||||||
<a-row :gutter="24" v-if="formInline.roleCodeIndex == 0 ||
|
<a-row :gutter="24" v-if="formInline.roleCodeIndex == 0 ||
|
||||||
(formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.homologationEngineerId &&
|
(formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.homologationEngineerId &&
|
||||||
formInline.homologationEngineerId == userInfoQuery.id) ||
|
formInline.homologationEngineerId == userInfoQuery.id) ||
|
||||||
@@ -475,171 +492,171 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<div class="header-text" v-if="formInline.roleCodeIndex == 0 ||
|
<!-- <div class="header-text" v-if="formInline.roleCodeIndex == 0 ||-->
|
||||||
(formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.homologationEngineerId &&
|
<!-- (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.homologationEngineerId &&-->
|
||||||
formInline.homologationEngineerId == userInfoQuery.id) ||
|
<!-- formInline.homologationEngineerId == userInfoQuery.id) ||-->
|
||||||
(formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.regulationOwnerId &&
|
<!-- (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.regulationOwnerId &&-->
|
||||||
formInline.regulationOwnerId == userInfoQuery.id)">
|
<!-- formInline.regulationOwnerId == userInfoQuery.id)">-->
|
||||||
{{$t('PrehomoConfirmation')}}
|
<!-- {{$t('PrehomoConfirmation')}}-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<a-row :gutter="24" v-if="formInline.roleCodeIndex == 0 ||
|
<!-- <a-row :gutter="24" v-if="formInline.roleCodeIndex == 0 ||-->
|
||||||
(formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.homologationEngineerId &&
|
<!-- (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.homologationEngineerId &&-->
|
||||||
formInline.homologationEngineerId == userInfoQuery.id) ||
|
<!-- formInline.homologationEngineerId == userInfoQuery.id) ||-->
|
||||||
(formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.regulationOwnerId &&
|
<!-- (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.regulationOwnerId &&-->
|
||||||
formInline.regulationOwnerId == userInfoQuery.id)">
|
<!-- formInline.regulationOwnerId == userInfoQuery.id)">-->
|
||||||
<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="title-text-text"
|
<!-- <span class="title-text-text"-->
|
||||||
:title="$t('Sponsor')">{{$t('Sponsor')}}</span>
|
<!-- :title="$t('Sponsor')">{{$t('Sponsor')}}</span>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<a-form-model-item class="itemModel" prop="prehomoInitiatorId">
|
<!-- <a-form-model-item class="itemModel" prop="prehomoInitiatorId">-->
|
||||||
<a-select :placeholder="$t('PleaseSelect')+$t('Sponsor')"
|
<!-- <a-select :placeholder="$t('PleaseSelect')+$t('Sponsor')"-->
|
||||||
:disabled="formInline.roleCodeIndex == 0 ? false : true"
|
<!-- :disabled="formInline.roleCodeIndex == 0 ? false : true"-->
|
||||||
class="box-input"
|
<!-- class="box-input"-->
|
||||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
<!-- :getPopupContainer="triggerNode=> triggerNode.parentNode"-->
|
||||||
allowClear
|
<!-- allowClear-->
|
||||||
v-model="formInline.prehomoInitiatorId">
|
<!-- v-model="formInline.prehomoInitiatorId">-->
|
||||||
<a-select-option v-for="(item, key) in prehomoInitiatorList"
|
<!-- <a-select-option v-for="(item, key) in prehomoInitiatorList"-->
|
||||||
: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>-->
|
||||||
<!-- <j-dict-select-tag class="box-input" v-model="formInline.prehomoInitiator"-->
|
<!-- <!– <j-dict-select-tag class="box-input" v-model="formInline.prehomoInitiator"–>-->
|
||||||
<!-- :disabled="formInline.roleCode == 0 ? false : true"-->
|
<!-- <!– :disabled="formInline.roleCode == 0 ? false : true"–>-->
|
||||||
<!-- @input="handleInput('prehomoInitiator')"-->
|
<!-- <!– @input="handleInput('prehomoInitiator')"–>-->
|
||||||
<!-- :placeholder="$t('PleaseSelect')+$t('Sponsor')"-->
|
<!-- <!– :placeholder="$t('PleaseSelect')+$t('Sponsor')"–>-->
|
||||||
<!-- :type="'select'"-->
|
<!-- <!– :type="'select'"–>-->
|
||||||
<!-- :triggerChange="false" :dictCode="'fa1_qi3_ren2'"/>-->
|
<!-- <!– :triggerChange="false" :dictCode="'fa1_qi3_ren2'"/>–>-->
|
||||||
</a-form-model-item>
|
<!-- </a-form-model-item>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
<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="title-text-text"
|
<!-- <span class="title-text-text"-->
|
||||||
:title="$t('personLiable')">{{$t('personLiable')}}</span>
|
<!-- :title="$t('personLiable')">{{$t('personLiable')}}</span>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<a-form-model-item class="itemModel" prop="prehomoDutyId">
|
<!-- <a-form-model-item class="itemModel" prop="prehomoDutyId">-->
|
||||||
<a-select :placeholder="$t('PleaseSelect')+$t('personLiable')"
|
<!-- <a-select :placeholder="$t('PleaseSelect')+$t('personLiable')"-->
|
||||||
class="box-input"
|
<!-- class="box-input"-->
|
||||||
allowClear
|
<!-- allowClear-->
|
||||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
<!-- :getPopupContainer="triggerNode=> triggerNode.parentNode"-->
|
||||||
v-model="formInline.prehomoDutyId">
|
<!-- v-model="formInline.prehomoDutyId">-->
|
||||||
<a-select-option v-for="(item, key) in prehomoDutyList"
|
<!-- <a-select-option v-for="(item, key) in prehomoDutyList"-->
|
||||||
: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>-->
|
||||||
<!-- <j-dict-select-tag class="box-input" v-model="formInline.prehomoDuty"-->
|
<!-- <!– <j-dict-select-tag class="box-input" v-model="formInline.prehomoDuty"–>-->
|
||||||
<!-- :disabled="formInline.roleCode == 0 ? false : true"-->
|
<!-- <!– :disabled="formInline.roleCode == 0 ? false : true"–>-->
|
||||||
<!-- @input="handleInput('prehomoDuty')"-->
|
<!-- <!– @input="handleInput('prehomoDuty')"–>-->
|
||||||
<!-- :placeholder="$t('PleaseSelect')+$t('personLiable')"-->
|
<!-- <!– :placeholder="$t('PleaseSelect')+$t('personLiable')"–>-->
|
||||||
<!-- :type="'select'"-->
|
<!-- <!– :type="'select'"–>-->
|
||||||
<!-- :triggerChange="false" :dictCode="'ze2_ren4_ren2'"/>-->
|
<!-- <!– :triggerChange="false" :dictCode="'ze2_ren4_ren2'"/>–>-->
|
||||||
</a-form-model-item>
|
<!-- </a-form-model-item>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
</a-row>
|
<!-- </a-row>-->
|
||||||
<a-row :gutter="24" v-if="formInline.roleCodeIndex == 0 ||
|
<!-- <a-row :gutter="24" v-if="formInline.roleCodeIndex == 0 ||-->
|
||||||
(formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.homologationEngineerId &&
|
<!-- (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.homologationEngineerId &&-->
|
||||||
formInline.homologationEngineerId == userInfoQuery.id) ||
|
<!-- formInline.homologationEngineerId == userInfoQuery.id) ||-->
|
||||||
(formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.regulationOwnerId &&
|
<!-- (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.regulationOwnerId &&-->
|
||||||
formInline.regulationOwnerId == userInfoQuery.id)">
|
<!-- formInline.regulationOwnerId == userInfoQuery.id)">-->
|
||||||
<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="title-text-text"
|
<!-- <span class="title-text-text"-->
|
||||||
:title="$t('cutoffTime')">{{$t('cutoffTime')}}</span>
|
<!-- :title="$t('cutoffTime')">{{$t('cutoffTime')}}</span>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<a-form-model-item class="itemModel" :prop="'prehomoDueDate'">
|
<!-- <a-form-model-item class="itemModel" :prop="'prehomoDueDate'">-->
|
||||||
<a-date-picker class="box-input"
|
<!-- <a-date-picker class="box-input"-->
|
||||||
:placeholder="$t('PleaseSelect')+$t('cutoffTime')"
|
<!-- :placeholder="$t('PleaseSelect')+$t('cutoffTime')"-->
|
||||||
@change="dateChange({db_field_name:'prehomoDueDate'})"
|
<!-- @change="dateChange({db_field_name:'prehomoDueDate'})"-->
|
||||||
format="YYYY-MM-DD"
|
<!-- format="YYYY-MM-DD"-->
|
||||||
:getCalendarContainer="(trigger) => trigger.parentNode"
|
<!-- :getCalendarContainer="(trigger) => trigger.parentNode"-->
|
||||||
v-model="formInline.prehomoDueDate"
|
<!-- v-model="formInline.prehomoDueDate"-->
|
||||||
style="width: 100%"/>
|
<!-- style="width: 100%"/>-->
|
||||||
</a-form-model-item>
|
<!-- </a-form-model-item>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
</a-row>
|
<!-- </a-row>-->
|
||||||
<a-row :gutter="24" v-if="formInline.roleCodeIndex == 0 ||
|
<!-- <a-row :gutter="24" v-if="formInline.roleCodeIndex == 0 ||-->
|
||||||
(formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.homologationEngineerId &&
|
<!-- (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.homologationEngineerId &&-->
|
||||||
formInline.homologationEngineerId == userInfoQuery.id) ||
|
<!-- formInline.homologationEngineerId == userInfoQuery.id) ||-->
|
||||||
(formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.regulationOwnerId &&
|
<!-- (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.regulationOwnerId &&-->
|
||||||
formInline.regulationOwnerId == userInfoQuery.id)">
|
<!-- formInline.regulationOwnerId == userInfoQuery.id)">-->
|
||||||
<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="title-text-text"
|
<!-- <span class="title-text-text"-->
|
||||||
:title="$t('typeOfDeliverables')">{{$t('typeOfDeliverables')}}</span>
|
<!-- :title="$t('typeOfDeliverables')">{{$t('typeOfDeliverables')}}</span>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<a-form-model-item class="itemModel" prop="prehomoDeliverableType">
|
<!-- <a-form-model-item class="itemModel" prop="prehomoDeliverableType">-->
|
||||||
<a-tree-select
|
<!-- <a-tree-select-->
|
||||||
tree-node-filter-prop="title"
|
<!-- tree-node-filter-prop="title"-->
|
||||||
v-model="formInline.prehomoDeliverableType"
|
<!-- v-model="formInline.prehomoDeliverableType"-->
|
||||||
:maxTagCount="1"
|
<!-- :maxTagCount="1"-->
|
||||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
<!-- :getPopupContainer="triggerNode=> triggerNode.parentNode"-->
|
||||||
class="box-input"
|
<!-- class="box-input"-->
|
||||||
style="width: 100%"
|
<!-- style="width: 100%"-->
|
||||||
:tree-data="DeliverableTreeList"
|
<!-- :tree-data="DeliverableTreeList"-->
|
||||||
tree-checkable
|
<!-- tree-checkable-->
|
||||||
:placeholder="$t('PleaseSelect')+$t('typeOfDeliverables')"
|
<!-- :placeholder="$t('PleaseSelect')+$t('typeOfDeliverables')"-->
|
||||||
/>
|
<!-- />-->
|
||||||
<!-- <j-dict-select-tag class="box-input" v-model="formInline.prehomoDeliverableType"-->
|
<!-- <!– <j-dict-select-tag class="box-input" v-model="formInline.prehomoDeliverableType"–>-->
|
||||||
<!-- :disabled="formInline.taskAffirmStatus != 'Not started' && !formInline.prehomoDeliverableType ? true : false"-->
|
<!-- <!– :disabled="formInline.taskAffirmStatus != 'Not started' && !formInline.prehomoDeliverableType ? true : false"–>-->
|
||||||
<!-- @input="handleInput('prehomoDeliverableType')"-->
|
<!-- <!– @input="handleInput('prehomoDeliverableType')"–>-->
|
||||||
<!-- :placeholder="$t('PleaseSelect')+$t('typeOfDeliverables')"-->
|
<!-- <!– :placeholder="$t('PleaseSelect')+$t('typeOfDeliverables')"–>-->
|
||||||
<!-- :type="'select'"-->
|
<!-- <!– :type="'select'"–>-->
|
||||||
<!-- :triggerChange="false" :dictCode="'deliverable_template'"/>-->
|
<!-- <!– :triggerChange="false" :dictCode="'deliverable_template'"/>–>-->
|
||||||
</a-form-model-item>
|
<!-- </a-form-model-item>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
<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="title-text-text"
|
<!-- <span class="title-text-text"-->
|
||||||
:title="$t('deliverableTemplate')">{{$t('deliverableTemplate')}}</span>
|
<!-- :title="$t('deliverableTemplate')">{{$t('deliverableTemplate')}}</span>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<a-form-model-item class="itemModel" prop="prehomoDeliverableTemplate">
|
<!-- <a-form-model-item class="itemModel" prop="prehomoDeliverableTemplate">-->
|
||||||
<a-button type="primary" class="button-text"
|
<!-- <a-button type="primary" class="button-text"-->
|
||||||
@click="clickButtonToUpload('prehomoDeliverableTemplate')">
|
<!-- @click="clickButtonToUpload('prehomoDeliverableTemplate')">-->
|
||||||
{{ (formInline.prehomoDeliverableTemplate === 'null' || formInline.prehomoDeliverableTemplate === ''
|
<!-- {{ (formInline.prehomoDeliverableTemplate === 'null' || formInline.prehomoDeliverableTemplate === ''-->
|
||||||
||
|
<!-- ||-->
|
||||||
formInline.prehomoDeliverableTemplate == null) ? $t('clickUpload') : $t('viewUploadedFiles')
|
<!-- formInline.prehomoDeliverableTemplate == null) ? $t('clickUpload') : $t('viewUploadedFiles')-->
|
||||||
}}
|
<!-- }}-->
|
||||||
</a-button>
|
<!-- </a-button>-->
|
||||||
</a-form-model-item>
|
<!-- </a-form-model-item>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
</a-row>
|
<!-- </a-row>-->
|
||||||
<a-row :gutter="24" v-if="formInline.roleCodeIndex == 0 ||
|
<!-- <a-row :gutter="24" v-if="formInline.roleCodeIndex == 0 ||-->
|
||||||
(formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.homologationEngineerId &&
|
<!-- (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.homologationEngineerId &&-->
|
||||||
formInline.homologationEngineerId == userInfoQuery.id) ||
|
<!-- formInline.homologationEngineerId == userInfoQuery.id) ||-->
|
||||||
(formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.regulationOwnerId &&
|
<!-- (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.regulationOwnerId &&-->
|
||||||
formInline.regulationOwnerId == userInfoQuery.id)">
|
<!-- formInline.regulationOwnerId == userInfoQuery.id)">-->
|
||||||
<a-col :span="24">
|
<!-- <a-col :span="24">-->
|
||||||
<div class="box-title-text">
|
<!-- <div class="box-title-text">-->
|
||||||
<div class="title-text">
|
<!-- <div class="title-text">-->
|
||||||
<span class="title-text-text"
|
<!-- <span class="title-text-text"-->
|
||||||
:title="$t('descriptionDeliverables')">{{$t('descriptionDeliverables')}}</span>
|
<!-- :title="$t('descriptionDeliverables')">{{$t('descriptionDeliverables')}}</span>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<a-form-model-item class="itemModel-text" :prop="'prehomoRemark'">
|
<!-- <a-form-model-item class="itemModel-text" :prop="'prehomoRemark'">-->
|
||||||
<a-textarea
|
<!-- <a-textarea-->
|
||||||
style="width: 100%"
|
<!-- style="width: 100%"-->
|
||||||
:placeholder="$t('PleaseEnter')+$t('descriptionDeliverables')"
|
<!-- :placeholder="$t('PleaseEnter')+$t('descriptionDeliverables')"-->
|
||||||
v-model="formInline.prehomoRemark" :rows="4"/>
|
<!-- v-model="formInline.prehomoRemark" :rows="4"/>-->
|
||||||
</a-form-model-item>
|
<!-- </a-form-model-item>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
</a-row>
|
<!-- </a-row>-->
|
||||||
<div class="header-text" v-if="formInline.roleCodeIndex == 0 ||
|
<div class="header-text" v-if="formInline.roleCodeIndex == 0 ||
|
||||||
(formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.homologationEngineerId &&
|
(formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.homologationEngineerId &&
|
||||||
formInline.homologationEngineerId == userInfoQuery.id) ||
|
formInline.homologationEngineerId == userInfoQuery.id) ||
|
||||||
@@ -652,36 +669,6 @@
|
|||||||
formInline.homologationEngineerId == userInfoQuery.id) ||
|
formInline.homologationEngineerId == userInfoQuery.id) ||
|
||||||
(formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.regulationOwnerId &&
|
(formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.regulationOwnerId &&
|
||||||
formInline.regulationOwnerId == userInfoQuery.id)">
|
formInline.regulationOwnerId == userInfoQuery.id)">
|
||||||
<a-col :span="12">
|
|
||||||
<div class="box-title-text">
|
|
||||||
<div class="title-text">
|
|
||||||
<span class="title-text-text"
|
|
||||||
:title="$t('Sponsor')">{{$t('Sponsor')}}</span>
|
|
||||||
</div>
|
|
||||||
<a-form-model-item class="itemModel" prop="verifyInitiatorId">
|
|
||||||
<a-select :placeholder="$t('PleaseSelect')+$t('Sponsor')"
|
|
||||||
class="box-input"
|
|
||||||
allowClear
|
|
||||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
|
||||||
:disabled="formInline.roleCodeIndex == 0 ? false : true"
|
|
||||||
v-model="formInline.verifyInitiatorId">
|
|
||||||
<a-select-option v-for="(item, key) in verifyInitiatorList"
|
|
||||||
:key="key"
|
|
||||||
:value="item.value">
|
|
||||||
<span style="display: inline-block;width: 100%" :title=" item.name ">
|
|
||||||
{{ item.name }}
|
|
||||||
</span>
|
|
||||||
</a-select-option>
|
|
||||||
</a-select>
|
|
||||||
<!-- <j-dict-select-tag class="box-input" v-model="formInline.verifyInitiator"-->
|
|
||||||
<!-- :disabled="formInline.roleCode == 0 ? false : true"-->
|
|
||||||
<!-- @input="handleInput('verifyInitiator')"-->
|
|
||||||
<!-- :placeholder="$t('PleaseSelect')+$t('Sponsor')"-->
|
|
||||||
<!-- :type="'select'"-->
|
|
||||||
<!-- :triggerChange="false" :dictCode="'fa1_qi3_ren2'"/>-->
|
|
||||||
</a-form-model-item>
|
|
||||||
</div>
|
|
||||||
</a-col>
|
|
||||||
<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">
|
||||||
@@ -711,12 +698,6 @@
|
|||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
|
||||||
<a-row :gutter="24" v-if="formInline.roleCodeIndex == 0 ||
|
|
||||||
(formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.homologationEngineerId &&
|
|
||||||
formInline.homologationEngineerId == userInfoQuery.id) ||
|
|
||||||
(formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.regulationOwnerId &&
|
|
||||||
formInline.regulationOwnerId == userInfoQuery.id)">
|
|
||||||
<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">
|
||||||
@@ -734,7 +715,44 @@
|
|||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<!-- <a-col :span="12">-->
|
||||||
|
<!-- <div class="box-title-text">-->
|
||||||
|
<!-- <div class="title-text">-->
|
||||||
|
<!-- <span class="title-text-text"-->
|
||||||
|
<!-- :title="$t('Sponsor')">{{$t('Sponsor')}}</span>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- <a-form-model-item class="itemModel" prop="verifyInitiatorId">-->
|
||||||
|
<!-- <a-select :placeholder="$t('PleaseSelect')+$t('Sponsor')"-->
|
||||||
|
<!-- class="box-input"-->
|
||||||
|
<!-- allowClear-->
|
||||||
|
<!-- :getPopupContainer="triggerNode=> triggerNode.parentNode"-->
|
||||||
|
<!-- :disabled="formInline.roleCodeIndex == 0 ? false : true"-->
|
||||||
|
<!-- v-model="formInline.verifyInitiatorId">-->
|
||||||
|
<!-- <a-select-option v-for="(item, key) in verifyInitiatorList"-->
|
||||||
|
<!-- :key="key"-->
|
||||||
|
<!-- :value="item.value">-->
|
||||||
|
<!-- <span style="display: inline-block;width: 100%" :title=" item.name ">-->
|
||||||
|
<!-- {{ item.name }}-->
|
||||||
|
<!-- </span>-->
|
||||||
|
<!-- </a-select-option>-->
|
||||||
|
<!-- </a-select>-->
|
||||||
|
<!-- <!– <j-dict-select-tag class="box-input" v-model="formInline.verifyInitiator"–>-->
|
||||||
|
<!-- <!– :disabled="formInline.roleCode == 0 ? false : true"–>-->
|
||||||
|
<!-- <!– @input="handleInput('verifyInitiator')"–>-->
|
||||||
|
<!-- <!– :placeholder="$t('PleaseSelect')+$t('Sponsor')"–>-->
|
||||||
|
<!-- <!– :type="'select'"–>-->
|
||||||
|
<!-- <!– :triggerChange="false" :dictCode="'fa1_qi3_ren2'"/>–>-->
|
||||||
|
<!-- </a-form-model-item>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </a-col>-->
|
||||||
</a-row>
|
</a-row>
|
||||||
|
<!-- <a-row :gutter="24" v-if="formInline.roleCodeIndex == 0 ||-->
|
||||||
|
<!-- (formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.homologationEngineerId &&-->
|
||||||
|
<!-- formInline.homologationEngineerId == userInfoQuery.id) ||-->
|
||||||
|
<!-- (formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.regulationOwnerId &&-->
|
||||||
|
<!-- formInline.regulationOwnerId == userInfoQuery.id)">-->
|
||||||
|
<!-- -->
|
||||||
|
<!-- </a-row>-->
|
||||||
<a-row :gutter="24" v-if="formInline.roleCodeIndex == 0 ||
|
<a-row :gutter="24" v-if="formInline.roleCodeIndex == 0 ||
|
||||||
(formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.homologationEngineerId &&
|
(formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.homologationEngineerId &&
|
||||||
formInline.homologationEngineerId == userInfoQuery.id) ||
|
formInline.homologationEngineerId == userInfoQuery.id) ||
|
||||||
@@ -804,95 +822,95 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<div class="header-text" v-if="rejectCauseList && rejectCauseList.length > 0">
|
<!-- <div class="header-text" v-if="rejectCauseList && rejectCauseList.length > 0">-->
|
||||||
{{$t('listConfirmationRejectionReason')}}
|
<!-- {{$t('listConfirmationRejectionReason')}}-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
|
|
||||||
<div v-if="rejectCauseList && rejectCauseList.length > 0"
|
<!-- <div v-if="rejectCauseList && rejectCauseList.length > 0"-->
|
||||||
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">-->
|
||||||
<div class="box-title-text">
|
<!-- <div class="box-title-text">-->
|
||||||
<div class="title-text">
|
<!-- <div class="title-text">-->
|
||||||
<span class="title-text-text"
|
<!-- <span class="title-text-text"-->
|
||||||
:title="$t('rejectedBy')">{{$t('rejectedBy')}}</span>
|
<!-- :title="$t('rejectedBy')">{{$t('rejectedBy')}}</span>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<div class="itemModel-reject">
|
<!-- <div class="itemModel-reject">-->
|
||||||
{{item.createBy ? item.createBy : '--'}}
|
<!-- {{item.createBy ? item.createBy : '--'}}-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
<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="title-text-text"
|
<!-- <span class="title-text-text"-->
|
||||||
:title="$t('rejectionTime')">{{$t('rejectionTime')}}</span>
|
<!-- :title="$t('rejectionTime')">{{$t('rejectionTime')}}</span>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<div class="itemModel-reject">
|
<!-- <div class="itemModel-reject">-->
|
||||||
{{item.rejectTime ? item.rejectTime : '--'}}
|
<!-- {{item.rejectTime ? item.rejectTime : '--'}}-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
</a-row>
|
<!-- </a-row>-->
|
||||||
<a-row :gutter="24">
|
<!-- <a-row :gutter="24">-->
|
||||||
<a-col :span="24">
|
<!-- <a-col :span="24">-->
|
||||||
<div class="box-title-text">
|
<!-- <div class="box-title-text">-->
|
||||||
<div class="title-text">
|
<!-- <div class="title-text">-->
|
||||||
<span class="title-text-text"
|
<!-- <span class="title-text-text"-->
|
||||||
:title="$t('rejectReason')">{{$t('rejectReason')}}</span>
|
<!-- :title="$t('rejectReason')">{{$t('rejectReason')}}</span>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<div class="itemModel-reject">
|
<!-- <div class="itemModel-reject">-->
|
||||||
{{item.rejectCause ? item.rejectCause : '--'}}
|
<!-- {{item.rejectCause ? item.rejectCause : '--'}}-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
</a-row>
|
<!-- </a-row>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
|
|
||||||
<div class="header-text" v-if="rejectCauseListOne && rejectCauseListOne.length > 0">
|
<!-- <div class="header-text" v-if="rejectCauseListOne && rejectCauseListOne.length > 0">-->
|
||||||
{{$t('taskConfirmationRejectionReason')}}
|
<!-- {{$t('taskConfirmationRejectionReason')}}-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
|
|
||||||
<div v-if="rejectCauseListOne && rejectCauseListOne.length > 0"
|
<!-- <div v-if="rejectCauseListOne && rejectCauseListOne.length > 0"-->
|
||||||
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">-->
|
||||||
<div class="box-title-text">
|
<!-- <div class="box-title-text">-->
|
||||||
<div class="title-text">
|
<!-- <div class="title-text">-->
|
||||||
<span class="title-text-text"
|
<!-- <span class="title-text-text"-->
|
||||||
:title="$t('rejectedBy')">{{$t('rejectedBy')}}</span>
|
<!-- :title="$t('rejectedBy')">{{$t('rejectedBy')}}</span>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<div class="itemModel-reject">
|
<!-- <div class="itemModel-reject">-->
|
||||||
{{item.createBy ? item.createBy : '--'}}
|
<!-- {{item.createBy ? item.createBy : '--'}}-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
<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="title-text-text"
|
<!-- <span class="title-text-text"-->
|
||||||
:title="$t('rejectionTime')">{{$t('rejectionTime')}}</span>
|
<!-- :title="$t('rejectionTime')">{{$t('rejectionTime')}}</span>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<div class="itemModel-reject">
|
<!-- <div class="itemModel-reject">-->
|
||||||
{{item.rejectTime ? item.rejectTime : '--'}}
|
<!-- {{item.rejectTime ? item.rejectTime : '--'}}-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
</a-row>
|
<!-- </a-row>-->
|
||||||
<a-row :gutter="24">
|
<!-- <a-row :gutter="24">-->
|
||||||
<a-col :span="24">
|
<!-- <a-col :span="24">-->
|
||||||
<div class="box-title-text">
|
<!-- <div class="box-title-text">-->
|
||||||
<div class="title-text">
|
<!-- <div class="title-text">-->
|
||||||
<span class="title-text-text"
|
<!-- <span class="title-text-text"-->
|
||||||
:title="$t('rejectReason')">{{$t('rejectReason')}}</span>
|
<!-- :title="$t('rejectReason')">{{$t('rejectReason')}}</span>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<div class="itemModel-reject">
|
<!-- <div class="itemModel-reject">-->
|
||||||
{{item.rejectCause ? item.rejectCause : '--'}}
|
<!-- {{item.rejectCause ? item.rejectCause : '--'}}-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
</a-row>
|
<!-- </a-row>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</a-form-model>
|
</a-form-model>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
<div class="drawer-bootom-button">
|
<div class="drawer-bootom-button">
|
||||||
|
|||||||
@@ -97,7 +97,19 @@
|
|||||||
<!-- v-if="(isRoleSwitching && !isDisplay) || (!isDisplay && roleSwitchingList.length > 1) || isDisplay"-->
|
<!-- v-if="(isRoleSwitching && !isDisplay) || (!isDisplay && roleSwitchingList.length > 1) || isDisplay"-->
|
||||||
<div class="table-operator"
|
<div class="table-operator"
|
||||||
style="overflow:hidden;margin-bottom: 20px">
|
style="overflow:hidden;margin-bottom: 20px">
|
||||||
<div style="float: right;margin-top: 1px; margin-left: 20px">
|
<div style="float: left;margin-bottom: 0px;margin-left: 20px" v-if="isDisplay">
|
||||||
|
<div @click="transferClick" class="operator-text">
|
||||||
|
<a-icon type="profile" />
|
||||||
|
{{ $t('Transfer') }}
|
||||||
|
</div>
|
||||||
|
<div class="operator-text" @click="bringInRelevantPersonnelClick">
|
||||||
|
<a-icon type="user" />
|
||||||
|
{{ $t('bringInRelevantPersonnel') }}
|
||||||
|
</div>
|
||||||
|
<div class="operator-text" @click="batSettingClick">
|
||||||
|
<a-icon type="setting" />
|
||||||
|
{{ $t('BatchSetting') }}
|
||||||
|
</div>
|
||||||
<a-popconfirm :visible="customizevisible" overlayClassName="popconfirmmize" placement="bottomRight">
|
<a-popconfirm :visible="customizevisible" overlayClassName="popconfirmmize" placement="bottomRight">
|
||||||
<template slot="title" id="popconfirmmize">
|
<template slot="title" id="popconfirmmize">
|
||||||
<div style="height:320px;overflow:scroll;overflow-x: auto;">
|
<div style="height:320px;overflow:scroll;overflow-x: auto;">
|
||||||
@@ -126,64 +138,52 @@
|
|||||||
{{ $t('customize') }}
|
{{ $t('customize') }}
|
||||||
</div>
|
</div>
|
||||||
</a-popconfirm>
|
</a-popconfirm>
|
||||||
</div>
|
|
||||||
<div style="float: left;margin-bottom: 0px;margin-left: 20px" v-if="isDisplay">
|
|
||||||
<div class="operator-text" @click="initiateListConfirmationcClick('清单')">
|
|
||||||
<a-icon type="solution" />
|
|
||||||
{{ $t('initiateListConfirmation') }}
|
|
||||||
</div>
|
|
||||||
<div class="operator-text" @click="initiateTaskConfirmationClick('任务')">
|
|
||||||
<a-icon type="file-protect" />
|
|
||||||
{{ $t('initiateTaskConfirmation') }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div style="float: right;margin-top: 1px;;margin-right: 20px" v-if="isDisplay">
|
|
||||||
<a-popconfirm overlayClassName="popconfirm" placement="bottomRight">
|
<a-popconfirm overlayClassName="popconfirm" placement="bottomRight">
|
||||||
<template slot="title" id="popconfirm">
|
<template slot="title" id="popconfirm">
|
||||||
<div style="height:320px;overflow:scroll;overflow-x: auto;">
|
<div style="height:320px;overflow:scroll;overflow-x: auto;">
|
||||||
<div class="operator-text-title">
|
<div @click="handleAdd" class="operator-text-title">
|
||||||
<ImportFile :url="url" :projectLibraryId=$route.query.id :isTrue="true" :accept="'.zip'"
|
<a-icon type="plus" />
|
||||||
@getList="getPersonnelList" />
|
{{ $t('add') }}
|
||||||
</div>
|
</div>
|
||||||
<div @click="handleModule" class="operator-text-title">
|
<div @click="copyClick" class="operator-text-title">
|
||||||
<a-icon type="download" />
|
<a-icon type="copy" />
|
||||||
{{ $t('templateDownload') }}
|
{{ $t('copy') }}
|
||||||
</div>
|
|
||||||
<div @click="handleExport" v-has="'projectLawsInventory:exportData'" class="operator-text-title">
|
|
||||||
<a-icon type="export" :rotate="-90" />
|
|
||||||
{{ $t('export') }}
|
|
||||||
</div>
|
</div>
|
||||||
<div @click="handleDel" class="operator-text-title">
|
<div @click="handleDel" class="operator-text-title">
|
||||||
<a-icon type="delete" />
|
<a-icon type="delete" />
|
||||||
{{ $t('BatchDelete') }}
|
{{ $t('BatchDelete') }}
|
||||||
</div>
|
</div>
|
||||||
<div class="operator-text-title" @click="ExportReportClick">
|
<div @click="handleModule" class="operator-text-title">
|
||||||
|
<a-icon type="download" />
|
||||||
|
{{ $t('templateDownload') }}
|
||||||
|
</div>
|
||||||
|
<div class="operator-text-title">
|
||||||
|
<ImportFile :url="url" :projectLibraryId=$route.query.id :isTrue="true" :accept="'.zip'"
|
||||||
|
@getList="getPersonnelList" />
|
||||||
|
</div>
|
||||||
|
<div @click="handleExport" v-has="'projectLawsInventory:exportData'" class="operator-text-title">
|
||||||
<a-icon type="export" :rotate="-90" />
|
<a-icon type="export" :rotate="-90" />
|
||||||
{{ $t('ExportReport') }}
|
{{ $t('export') }}
|
||||||
</div>
|
|
||||||
<div class="operator-text-title" @click="batSettingClick">
|
|
||||||
<a-icon type="setting" />
|
|
||||||
{{ $t('batchSettingInformation') }}
|
|
||||||
</div>
|
|
||||||
<div class="operator-text-title" @click="batchSettingPersonnelClick">
|
|
||||||
<a-icon type="setting" />
|
|
||||||
{{ $t('batchSettingPersonnel') }}
|
|
||||||
</div>
|
|
||||||
<div class="operator-text-title" @click="questionClick">
|
|
||||||
<a-icon type="sound" />
|
|
||||||
{{ $t('question') }}
|
|
||||||
</div>
|
|
||||||
<div class="operator-text-title" @click="alterationClick">
|
|
||||||
<a-icon type="file-search" />
|
|
||||||
{{ $t('alteration') }}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="operator-text-title" @click="fixedPlateClick">
|
<div class="operator-text-title" @click="fixedPlateClick">
|
||||||
<a-icon type="pushpin" />
|
<a-icon type="pushpin" />
|
||||||
{{ $t('fixedPlate') }}
|
{{ $t('fixedPlate') }}
|
||||||
</div>
|
</div>
|
||||||
<div @click="copyClick" class="operator-text-title">
|
<div class="operator-text-title" @click="ExportReportClick">
|
||||||
<a-icon type="copy" />
|
<a-icon type="export" :rotate="-90" />
|
||||||
{{ $t('copy') }}
|
{{ $t('compliancereport') }}
|
||||||
|
</div>
|
||||||
|
<!-- <div class="operator-text-title" @click="batSettingClick">-->
|
||||||
|
<!-- <a-icon type="setting" />-->
|
||||||
|
<!-- {{ $t('batchSettingInformation') }}-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- <div class="operator-text-title" @click="batchSettingPersonnelClick">-->
|
||||||
|
<!-- <a-icon type="setting" />-->
|
||||||
|
<!-- {{ $t('batchSettingPersonnel') }}-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<div class="operator-text-title" @click="alterationClick">
|
||||||
|
<a-icon type="file-search" />
|
||||||
|
{{ $t('processReset') }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -191,21 +191,28 @@
|
|||||||
<span style="position: absolute;left: -13px;top: -4px">...</span>{{ $t('more') }}
|
<span style="position: absolute;left: -13px;top: -4px">...</span>{{ $t('more') }}
|
||||||
</div>
|
</div>
|
||||||
</a-popconfirm>
|
</a-popconfirm>
|
||||||
|
<!-- <div class="operator-text" @click="initiateTaskConfirmationClick('任务')">-->
|
||||||
|
<!-- <a-icon type="file-protect" />-->
|
||||||
|
<!-- {{ $t('initiateTaskConfirmation') }}-->
|
||||||
|
<!-- </div>-->
|
||||||
|
</div>
|
||||||
|
<div style="float: right;margin-top: 1px;;margin-right: 20px" v-if="isDisplay">
|
||||||
|
|
||||||
<!-- <div class="operator-text" @click="customizeClick">-->
|
<!-- <div class="operator-text" @click="customizeClick">-->
|
||||||
<!-- <a-icon type="setting"/>-->
|
<!-- <a-icon type="setting"/>-->
|
||||||
<!-- {{ $t('customize') }}-->
|
<!-- {{ $t('customize') }}-->
|
||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
<div class="operator-text" @click="bringInRelevantPersonnelClick">
|
<div class="operator-text" @click="initiateListConfirmationcClick('清单')">
|
||||||
<a-icon type="user" />
|
<a-icon type="solution" />
|
||||||
{{ $t('bringInRelevantPersonnel') }}
|
{{ $t('release') }}
|
||||||
</div>
|
</div>
|
||||||
<div @click="transferClick" class="operator-text">
|
<div class="operator-text" @click="withdrawnClick">
|
||||||
<a-icon type="profile" />
|
<a-icon type="rollback" />
|
||||||
{{ $t('Transfer') }}
|
{{ $t('withdraw') }}
|
||||||
</div>
|
</div>
|
||||||
<div @click="handleAdd" class="operator-text">
|
<div class="operator-text" @click="questionClick">
|
||||||
<a-icon type="plus" />
|
<a-icon type="sound" />
|
||||||
{{ $t('add') }}
|
{{ $t('question') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="operator-text"-->
|
<!-- <div class="operator-text"-->
|
||||||
<!-- v-if="roleSwitchingList.length > 1"-->
|
<!-- v-if="roleSwitchingList.length > 1"-->
|
||||||
@@ -229,10 +236,7 @@
|
|||||||
<a-icon type="close-circle" />
|
<a-icon type="close-circle" />
|
||||||
{{ $t('overrule') }}
|
{{ $t('overrule') }}
|
||||||
</div>
|
</div>
|
||||||
<div class="operator-text" @click="batSettingClick" v-if="isRoleSwitching">
|
|
||||||
<a-icon type="setting" />
|
|
||||||
{{ $t('batchSettingInformation') }}
|
|
||||||
</div>
|
|
||||||
<!-- <div class="operator-text"-->
|
<!-- <div class="operator-text"-->
|
||||||
<!-- v-if="roleSwitchingList.length > 1"-->
|
<!-- v-if="roleSwitchingList.length > 1"-->
|
||||||
<!-- @click="roleSwitchingClick">-->
|
<!-- @click="roleSwitchingClick">-->
|
||||||
@@ -1545,7 +1549,7 @@ export default {
|
|||||||
this.$message.warning(this.$t('OnlyOneSelected'))
|
this.$message.warning(this.$t('OnlyOneSelected'))
|
||||||
} else {
|
} else {
|
||||||
let serialNumber = this.selectedRowKeysList[0].serialNumber
|
let serialNumber = this.selectedRowKeysList[0].serialNumber
|
||||||
downloadFile(this.url.ExportReportUrl, this.$t('listOfRegulations') + this.$t('ExportReport') + '-' + serialNumber + '.docx', { id: selectedRowKeys.join(',') })
|
downloadFile(this.url.ExportReportUrl, this.$t('listOfRegulations') + this.$t('compliancereport') + '-' + serialNumber + '.docx', { id: selectedRowKeys.join(',') })
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleExport() {
|
handleExport() {
|
||||||
@@ -1645,6 +1649,10 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(this.$t('selectLeastOne'))
|
this.$message.warning(this.$t('selectLeastOne'))
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
// 撤回
|
||||||
|
withdrawnClick(){
|
||||||
|
|
||||||
},
|
},
|
||||||
questionClick() {
|
questionClick() {
|
||||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user