[update] 修改bug81785和81768
This commit is contained in:
+3
-2
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<a-drawer
|
||||
:title="$t('standardSelect.standardSelection')"
|
||||
:title="title"
|
||||
:maskClosable="false"
|
||||
:width="1000"
|
||||
placement="right"
|
||||
@@ -557,6 +557,7 @@ export default {
|
||||
visible: false,
|
||||
confirmLoading: false,
|
||||
disabled: false,
|
||||
title: '',
|
||||
model: {},
|
||||
formInline: {},
|
||||
rules: {
|
||||
@@ -841,7 +842,7 @@ export default {
|
||||
const formInline = {}
|
||||
// 初始化主起草人信息
|
||||
formInline.mainDraftingUser = userInfo.id
|
||||
formInline.mainDraftingUser_dictText = userInfo.realname
|
||||
formInline.mainDraftingUser_dictText = userInfo.realname + '(' + userInfo.username + ')'
|
||||
// 初始化主起草单位信息,需要翻译当前登录用户的部门,因为表格回显
|
||||
formInline.mainDraftingUnit = userInfo.departIds
|
||||
formInline.mainDraftingUnit_dictText = userInfo.departIds_dictText
|
||||
|
||||
@@ -222,13 +222,13 @@ export default {
|
||||
dataIndex: 'cooperationUnit_dictText',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
},
|
||||
// { // 主起草人
|
||||
// title: this.$t('enterpriseStandardLibrary.plan.principalDrafter'),
|
||||
// align: 'center',
|
||||
// width: 180,
|
||||
// dataIndex: 'mainDraftingUser_dictText',
|
||||
// scopedSlots: { customRender: 'text' }
|
||||
// },
|
||||
{ // 主起草人
|
||||
title: this.$t('enterpriseStandardLibrary.plan.principalDrafter'),
|
||||
align: 'center',
|
||||
width: 180,
|
||||
dataIndex: 'mainDraftingUser_dictText',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
},
|
||||
{ // 主起草单位
|
||||
title: this.$t('enterpriseStandardLibrary.plan.mainDraftingUnit'),
|
||||
align: 'center',
|
||||
@@ -375,6 +375,7 @@ export default {
|
||||
handleAdd () {
|
||||
this.modalType = 'add'
|
||||
this.$refs.contactEnterSendTaskModal.add()
|
||||
this.$refs.contactEnterSendTaskModal.title = this.$t('newlyAdded')
|
||||
},
|
||||
// 导入
|
||||
handleImportExcel (info) {
|
||||
@@ -467,6 +468,7 @@ export default {
|
||||
handleEdit (record) {
|
||||
this.modalType = 'edit' + ',' + record.uid
|
||||
this.$refs.contactEnterSendTaskModal.edit(record)
|
||||
this.$refs.contactEnterSendTaskModal.title = this.$t('edit')
|
||||
},
|
||||
// 查看
|
||||
handleLook (record) {
|
||||
|
||||
+3
-2
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<a-drawer
|
||||
:title="$t('standardSelect.standardSelection')"
|
||||
:title="title"
|
||||
:maskClosable="false"
|
||||
:width="1000"
|
||||
placement="right"
|
||||
@@ -560,6 +560,7 @@ export default {
|
||||
standardSystemOptions: [], // 企标体系下拉框数据
|
||||
visible: false,
|
||||
confirmLoading: false,
|
||||
title: '',
|
||||
disabled: false,
|
||||
draftPlanFinishDateDisabled: false, // 草稿计划完成日期是否不可修改
|
||||
exposureDraftPlanFinishDateDisabled: false, // 征求意见稿计划完成日期是否不可修改
|
||||
@@ -857,7 +858,7 @@ export default {
|
||||
const formInline = {}
|
||||
// 初始化主起草人信息
|
||||
formInline.mainDraftingUser = userInfo.id
|
||||
formInline.mainDraftingUser_dictText = userInfo.realname
|
||||
formInline.mainDraftingUser_dictText = userInfo.realname + '(' + userInfo.username + ')'
|
||||
// 初始化主起草单位信息
|
||||
formInline.mainDraftingUnit = userInfo.departIds
|
||||
// 初始化起草单位负责人 todo: 看怎么获取当前登录人的上级
|
||||
|
||||
+2
@@ -390,6 +390,7 @@ export default {
|
||||
handleAdd () {
|
||||
this.modalType = 'add'
|
||||
this.$refs.baseInfoTableModal.add()
|
||||
this.$refs.baseInfoTableModal.title = this.$t('newlyAdded')
|
||||
},
|
||||
// 导入
|
||||
handleImportExcel (info) {
|
||||
@@ -482,6 +483,7 @@ export default {
|
||||
handleEdit (record) {
|
||||
this.modalType = 'edit' + ',' + record.uid
|
||||
this.$refs.baseInfoTableModal.edit(record)
|
||||
this.$refs.baseInfoTableModal.title = this.$t('edit')
|
||||
},
|
||||
// 查看
|
||||
handleLook (record) {
|
||||
|
||||
@@ -297,6 +297,7 @@ export default {
|
||||
handleEdit (record, index) {
|
||||
this.editId = record.id
|
||||
this.$refs.baseInfoTableModal.edit(record)
|
||||
this.$refs.baseInfoTableModal.title = this.$t('edit')
|
||||
},
|
||||
// 删除
|
||||
handleDelete (id, index) {
|
||||
|
||||
Reference in New Issue
Block a user