1.修改三期优化点

This commit is contained in:
sunFlower
2022-09-26 09:23:58 +08:00
parent edad4c8c80
commit 827afe009e
4 changed files with 16 additions and 3 deletions
+1
View File
@@ -1309,4 +1309,5 @@ module.exports = {
importLocalDisassemblyOrder:'Import local disassembly order', importLocalDisassemblyOrder:'Import local disassembly order',
notExport:'Not export', notExport:'Not export',
hasBeenExport:'Has been export', hasBeenExport:'Has been export',
firstLevelDirectory:'First level directory',
} }
+1
View File
@@ -1410,4 +1410,5 @@ module.exports = {
importLocalDisassemblyOrder:'导入本地拆解单', importLocalDisassemblyOrder:'导入本地拆解单',
notExport:'未导出', notExport:'未导出',
hasBeenExport:'已导出', hasBeenExport:'已导出',
firstLevelDirectory:'一级目录',
} }
@@ -136,6 +136,13 @@
pageNo: 1, pageNo: 1,
queryParam: {}, queryParam: {},
columns: [ columns: [
{
title: this.$t('firstLevelDirectory'),
align: 'center',
dataIndex: 'memoriesChapterOneName',
ellipsis: true,
width: 170
},
{ {
title: this.$t('chapterContents'), title: this.$t('chapterContents'),
align: 'center', align: 'center',
@@ -260,6 +260,9 @@
if (value.length > 1) { if (value.length > 1) {
value.shift() value.shift()
} }
if (extra.triggerNode.dataRef && extra.triggerNode.dataRef.parentId) {
this.formInline.memoriesChapterOne = extra.triggerNode.dataRef.parentId
}
this.formInline.memoriesChapter = value this.formInline.memoriesChapter = value
this.formInline = { ...this.formInline } this.formInline = { ...this.formInline }
}, },
@@ -273,7 +276,7 @@
text = 'solicitOpinionsRef' text = 'solicitOpinionsRef'
} else if (this.$refs.releaseStandardRef) { } else if (this.$refs.releaseStandardRef) {
text = 'releaseStandardRef' text = 'releaseStandardRef'
}else if (this.$refs.industryTemplateRef) { } else if (this.$refs.industryTemplateRef) {
text = 'industryTemplateRef' text = 'industryTemplateRef'
} }
this.$refs[text].getData((val) => { this.$refs[text].getData((val) => {
@@ -293,7 +296,8 @@
let query = Object.assign(val, { let query = Object.assign(val, {
month: formInline.month, month: formInline.month,
memoriesChapter: formInline.memoriesChapter, memoriesChapter: formInline.memoriesChapter,
contentTemplate: formInline.contentTemplate contentTemplate: formInline.contentTemplate,
memoriesChapterOne:formInline.memoriesChapterOne
}) })
postAction(url, query).then((res) => { postAction(url, query).then((res) => {
if (res.success) { if (res.success) {
@@ -400,7 +404,7 @@
::v-deep .ant-select-tree-node-content-wrapper { ::v-deep .ant-select-tree-node-content-wrapper {
float: right; float: right;
margin-top: -2px!important; margin-top: -2px !important;
} }
::v-deep .ant-select-tree-title { ::v-deep .ant-select-tree-title {