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