update 征求意见流程
add 外部其他流程vue文件
This commit is contained in:
@@ -85,18 +85,18 @@
|
||||
<!--标准文本-->
|
||||
<a-form-item :label="$t('workCenter.standardConsultationProcess.standardText')"
|
||||
:class="{'add-required': basicServiceInfoDisabled}">
|
||||
<div class="box-title-text">
|
||||
<div class="box-title-text" v-if="!basicServiceInfoDisabled">
|
||||
<a-input class="box-input disabled-white-input"
|
||||
v-decorator="['standardTextFileName', validatorRules.standardText]"
|
||||
readonly
|
||||
disabled
|
||||
v-if="!basicServiceInfoDisabled"
|
||||
|
||||
:placeholder="$t('pleaseSelect') + $t('workCenter.standardConsultationProcess.standardText')" />
|
||||
<a-button type="primary" class="button-box" @click="chooseStandardText" v-if="!basicServiceInfoDisabled">
|
||||
<a-button type="primary" class="button-box" @click="chooseStandardText">
|
||||
{{ this.$t('workCenter.standardConsultationProcess.selectText') }}
|
||||
</a-button>
|
||||
<file-echo :file-ids="basicServiceInfo.standardTextFileId" v-if="basicServiceInfoDisabled" />
|
||||
</div>
|
||||
<file-echo :file-ids="basicServiceInfo.standardTextFileId" v-else />
|
||||
</a-form-item>
|
||||
</div>
|
||||
<div class="form-flex-item custom-flex-form-item">
|
||||
@@ -760,6 +760,10 @@ export default {
|
||||
}
|
||||
},
|
||||
created () {
|
||||
// 获取人员信息数据
|
||||
this.getPersonInfoStructure(ProcessKey.CONSULTATION.value, () => {
|
||||
this.initPersonInfoData(this.currentNode.indexOf(ConsultationProcess.initiate.value) === 0)
|
||||
})
|
||||
// 有流程id或者草稿id点进来的
|
||||
if (this.$route.query.processInstanceId || this.$route.query.draftId) {
|
||||
this.currentNode = this.$route.query.nodeId
|
||||
@@ -768,8 +772,7 @@ export default {
|
||||
// 找不到这个节点默认使用审批节点页面及按钮,发起除外
|
||||
this.nodeEnumsKey = this.currentNode ? ConsultationProcess.keyOfValue(this.currentNode) || 'regulatoryEngineerApproval' : 'initiate'
|
||||
this.btnList = ConsultationProcess[this.nodeEnumsKey].btn
|
||||
// 获取人员信息数据
|
||||
this.getPersonInfoStructure(ProcessKey.CONSULTATION.value)
|
||||
|
||||
},
|
||||
methods: {
|
||||
initProcessDetailData () {
|
||||
@@ -1058,6 +1061,7 @@ export default {
|
||||
* 驳回
|
||||
*/
|
||||
handleReject () {
|
||||
this.validatorRules.handleText.rules[0].required = true
|
||||
const formData = this.dealFormData()
|
||||
if (!formData) {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user