[update 标准解读流程] 完善条款解读表

This commit is contained in:
danshihao
2024-07-12 18:12:40 +08:00
parent ea770681ea
commit 78d4c73ac2
7 changed files with 218 additions and 23 deletions
@@ -39,7 +39,7 @@
:colon="formItemColon">
<a-date-picker :placeholder="$t('pleaseSelect') + $t('expirationDate')"
style="width: 100%"
:disabled="disabled || !this.isInitiate"
:disabled="disabled || !isInitiate"
value-format="YYYY-MM-DD hh:mm:ss"
v-decorator="['dueTime']" />
</a-form-item>
@@ -54,10 +54,20 @@
<a-textarea :placeholder="$t('pleaseEnter') + $t('processExplain')"
:maxLength="500"
:rows="4"
:disabled="disabled || !this.isInitiate"
:disabled="disabled || !isInitiate"
v-decorator="['prcMes']" />
</a-form-item>
</a-col>
<a-col v-if="!isInitiate && info.data && info.data.processStandardInterpret" :span="24">
<!-- 标准编号/标准名称 -->
<a-form-item
:labelCol="$i18n.locale === EN ? longLabelColEn : longLabelCol"
:wrapperCol="$i18n.locale === EN ? longWrapperColEn : longWrapperCol"
:label="$t('standardNumber') + '/' + $t('standardName')"
:colon="formItemColon">
<a @click.capture="toStandardDetail">{{info.data.processStandardInterpret.standardNumber}} {{info.data.processStandardInterpret.standardName}}</a>
</a-form-item>
</a-col>
</a-row>
</a-form>
@@ -100,6 +110,8 @@
</div>
<!-- 操作按钮 -->
<div class="detail-page-bottom-operate-box">
<!-- 加签 -->
<a-button v-if="btn.includes('countersign')" type="primary" ghost :loading="loading" @click="handleCountersign" icon="arrow-up">{{ $t('countersign') }}</a-button>
<!-- 转办 -->
<a-button v-if="btn.includes('transfer')" type="primary" ghost :loading="loading" @click="handleTurnTo" icon="arrow-up">{{ $t('turnTo') }}</a-button>
<!-- 保存 -->
@@ -252,6 +264,16 @@ export default {
interpretGetProjectId().then(id => { this.projectId = (id + '') })
},
methods: {
// 跳转详情
toStandardDetail () {
const { standardId } = this.info.data.processStandardInterpret
this.$openPageNewSheet({
path: '/standardRegulationLibrary/foreignStandardDetailPage',
query: {
id: standardId
}
})
},
/**
* 获取页面详情
*/