[update] 修改企标流程用例评审的bug
This commit is contained in:
+3
-1
@@ -91,7 +91,9 @@ export default {
|
||||
data () {
|
||||
return {
|
||||
loading: false,
|
||||
formInline: {},
|
||||
formInline: {
|
||||
distributeFlag: '1'
|
||||
},
|
||||
rules: {
|
||||
// 是否下发联络人
|
||||
distributeFlag: [
|
||||
|
||||
@@ -600,8 +600,9 @@ export default {
|
||||
// 回显部分节点选人
|
||||
this.userFormModel = {
|
||||
newMainDraftUserLeader_dictText: this.model.dataList[0].newMainDraftUserLeader_dictText,
|
||||
relatedUserList_dictText: this.model.dataList[0].relatedUserList_dictText
|
||||
relatedUserList_dictText: this.model.dataList[0].relatedUserList_dictText || this.model.dataList[0].newMainDraftingUser_dictText
|
||||
}
|
||||
this.model.dataList[0].relatedUserList = this.model.dataList[0].relatedUserList || this.model.dataList[0].newMainDraftingUser
|
||||
this.userForm.setFieldsValue(pick(this.model.dataList[0], 'newMainDraftUserLeader', 'relatedUserList'))
|
||||
})
|
||||
}
|
||||
|
||||
@@ -629,8 +629,10 @@ export default {
|
||||
// 初始化主起草人信息
|
||||
formInline.mainDraftingUser = userInfo.id
|
||||
formInline.mainDraftingUser_dictText = userInfo.realname
|
||||
// 初始化主起草单位信息
|
||||
formInline.mainDraftingUnit = userInfo.departIds
|
||||
// 初始化主起草单位信息,只有一个部门时才带入
|
||||
if (userInfo.departIds && userInfo.departIds.split(',').length === 1) {
|
||||
formInline.mainDraftingUnit = userInfo.departIds
|
||||
}
|
||||
// 重置年代号
|
||||
formInline.decadeCode = new Date().getFullYear() + ''
|
||||
formInline.enStandardSystem = []
|
||||
@@ -859,7 +861,9 @@ export default {
|
||||
formInline.mainDraftingUser = userInfo.id
|
||||
formInline.mainDraftingUser_dictText = userInfo.realname
|
||||
// 初始化主起草单位信息
|
||||
formInline.mainDraftingUnit = userInfo.departIds
|
||||
if (userInfo.departIds && userInfo.departIds.split(',').length === 1) {
|
||||
formInline.mainDraftingUnit = userInfo.departIds
|
||||
}
|
||||
// 初始化年代号
|
||||
formInline.decadeCode = new Date().getFullYear() + ''
|
||||
this.formInline = Object.assign({}, formInline)
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
<!-- 人员信息 -->
|
||||
<div v-show="switchValue === 'user'" class="detail-page-scroll-content p-0">
|
||||
<process-detail-list :processKey="ProcessKey.ES_RECHECK.value">
|
||||
<personnel-info slot="personnelInfo" ref="personnelInfo" :data="personnelInfoData" :currentNode="currentNodeName"></personnel-info>
|
||||
<personnel-info slot="personnelInfo" ref="personnelInfo" :data="personnelInfoData" :currentNode="currentNodeName" :notPermissField="notPermissField"></personnel-info>
|
||||
</process-detail-list>
|
||||
</div>
|
||||
<!-- 操作按钮 -->
|
||||
@@ -159,6 +159,14 @@ export default {
|
||||
computed: {
|
||||
pageTitle () {
|
||||
return this.$t('flowCenter') + this.$route.meta.title + '(' + this.currentNodeName + ')'
|
||||
},
|
||||
notPermissField () {
|
||||
if (this.currentNode === 1) {
|
||||
// 说明是标准化选联络人节点
|
||||
return ['mainDraftUser', 'mainDraftUserLeader', 'finalStandardEngineer']
|
||||
} else {
|
||||
return []
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
<a-input class="box-input"
|
||||
disabled
|
||||
v-model="formInline.englishName"
|
||||
:maxLength="50"
|
||||
:maxLength="500"
|
||||
@change="event => event.target.value = event.target.value.trim()"
|
||||
:placeholder="$t('pleaseEnter')+$t('workCenter.enterpriseInitChangePlan.standardEnglishName')" />
|
||||
</a-form-model-item>
|
||||
|
||||
@@ -53,9 +53,9 @@
|
||||
<div slot="action" slot-scope="{record}" class="action-span-cell">
|
||||
<!-- 查看 -->
|
||||
<a @click="handleDetail(record)" class="table-ope-btn">{{ $t('view') }}</a>
|
||||
<a-divider type="vertical" />
|
||||
<a-divider v-if="record.prcStatus !== 2" v-has="'workCenter:monitorList:withdrawal'" type="vertical" />
|
||||
<!-- 强制撤回 -->
|
||||
<a @click="handleWithdrawal(record)" class="table-ope-btn">{{ $t('compulsoryWithdrawal') }}</a>
|
||||
<a v-if="record.prcStatus !== 2" v-has="'workCenter:monitorList:withdrawal'" @click="handleWithdrawal(record)" class="table-ope-btn">{{ $t('compulsoryWithdrawal') }}</a>
|
||||
</div>
|
||||
|
||||
</j-table>
|
||||
|
||||
@@ -69,9 +69,9 @@
|
||||
<div slot="action" slot-scope="{record}" class="action-span-cell">
|
||||
<!-- 查看 -->
|
||||
<a @click="handleDetail(record)" class="table-ope-btn">{{ $t('view') }}</a>
|
||||
<a-divider type="vertical" />
|
||||
<a-divider v-if="record.prcStatus !== 2" type="vertical" />
|
||||
<!-- 强制撤回 -->
|
||||
<a @click="handleWithdrawal(record)" class="table-ope-btn">{{ $t('compulsoryWithdrawal') }}</a>
|
||||
<a v-if="record.prcStatus !== 2" @click="handleWithdrawal(record)" class="table-ope-btn">{{ $t('compulsoryWithdrawal') }}</a>
|
||||
</div>
|
||||
|
||||
</j-table>
|
||||
|
||||
Reference in New Issue
Block a user