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