Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage
This commit is contained in:
@@ -475,7 +475,7 @@ module.exports = {
|
|||||||
away: 'Collapse',
|
away: 'Collapse',
|
||||||
toDoProcess: 'To Do',
|
toDoProcess: 'To Do',
|
||||||
processDone: 'Completed',
|
processDone: 'Completed',
|
||||||
sentProcess: 'Create',
|
sentProcess: 'Initiated',
|
||||||
monitoringProcess: 'Monitor',
|
monitoringProcess: 'Monitor',
|
||||||
ConfirmDeployment: 'Confirm Deployment?',
|
ConfirmDeployment: 'Confirm Deployment?',
|
||||||
terminationProcess: 'Termination Process',
|
terminationProcess: 'Termination Process',
|
||||||
|
|||||||
+3
-2
@@ -62,7 +62,8 @@
|
|||||||
<span slot="content" slot-scope="text,record,index">
|
<span slot="content" slot-scope="text,record,index">
|
||||||
<a-input class="box-input"
|
<a-input class="box-input"
|
||||||
v-if="record.lableType == 8"
|
v-if="record.lableType == 8"
|
||||||
v-model="record.content"
|
v-model.trim="record.content"
|
||||||
|
:maxLength="100"
|
||||||
:placeholder="$t('PleaseEnter')"/>
|
:placeholder="$t('PleaseEnter')"/>
|
||||||
<a-select :placeholder="$t('PleaseSelect')"
|
<a-select :placeholder="$t('PleaseSelect')"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
@@ -126,7 +127,7 @@
|
|||||||
},
|
},
|
||||||
visible: false,
|
visible: false,
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
dataList: [{}],
|
dataList: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
index: '',
|
index: '',
|
||||||
|
|||||||
+12
-5
@@ -92,7 +92,7 @@
|
|||||||
contentList: [],
|
contentList: [],
|
||||||
displayList: [],
|
displayList: [],
|
||||||
queryCountryList: [],
|
queryCountryList: [],
|
||||||
countryCardViewList:[],
|
countryCardViewList: [],
|
||||||
applyMarkets: '',
|
applyMarkets: '',
|
||||||
url: {
|
url: {
|
||||||
list: '/problemKnowledgeBase/countryCardTempEO/list',
|
list: '/problemKnowledgeBase/countryCardTempEO/list',
|
||||||
@@ -182,10 +182,17 @@
|
|||||||
res.countryCardManageReleaseDetailEOList.forEach((val, index1) => {
|
res.countryCardManageReleaseDetailEOList.forEach((val, index1) => {
|
||||||
this.contentList.forEach(res1 => {
|
this.contentList.forEach(res1 => {
|
||||||
if (res1.name == val.lableName) {
|
if (res1.name == val.lableName) {
|
||||||
res1.list.push({
|
if (val.lableType == 3) {
|
||||||
lableName: val.content,
|
res1.list.push({
|
||||||
lableType: val.lableType
|
lableName: val.contentDropDownValue,
|
||||||
})
|
lableType: val.lableType
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
res1.list.push({
|
||||||
|
lableName: val.content,
|
||||||
|
lableType: val.lableType
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
+6
-2
@@ -133,8 +133,9 @@
|
|||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="title-text-text">{{$t('content')}}</span>
|
<span class="title-text-text">{{$t('content')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item style="height: 300px" class="itemModel" prop="content">
|
<a-form-model-item style="height: 357px" class="itemModel itemModel-explain" prop="content">
|
||||||
<quill-editor
|
<quill-editor
|
||||||
|
v-model="formInline.content"
|
||||||
style="height: 300px"
|
style="height: 300px"
|
||||||
:content="formInline.content"
|
:content="formInline.content"
|
||||||
:options="editorOption"
|
:options="editorOption"
|
||||||
@@ -245,7 +246,7 @@
|
|||||||
{
|
{
|
||||||
max: 5000,
|
max: 5000,
|
||||||
message: this.$t('content') + this.$t('cannotExceed') + 5000 + this.$t('Characters'),
|
message: this.$t('content') + this.$t('cannotExceed') + 5000 + this.$t('Characters'),
|
||||||
trigger: 'change'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -582,4 +583,7 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::v-deep .itemModel-explain .ant-form-explain {
|
||||||
|
margin-top: 60px
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
+2
-2
@@ -391,8 +391,8 @@
|
|||||||
this.formInline = { ...this.formInline }
|
this.formInline = { ...this.formInline }
|
||||||
} else {
|
} else {
|
||||||
this.formInline = {}
|
this.formInline = {}
|
||||||
this.formInline.lawsContact = this.userInfo().username
|
this.formInline.lawsContact = this.userInfo().id
|
||||||
this.formInline.lawsContactName = this.userInfo().id
|
this.formInline.lawsContactName = this.userInfo().username
|
||||||
this.formInline = { ...this.formInline }
|
this.formInline = { ...this.formInline }
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -384,4 +384,21 @@
|
|||||||
height: 38px;
|
height: 38px;
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::v-deep .ant-select-tree-treenode-switcher-close {
|
||||||
|
width: 255px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep .ant-select-tree-node-content-wrapper {
|
||||||
|
float: right;
|
||||||
|
margin-top: -2px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep .ant-select-tree-title {
|
||||||
|
width: 100%;
|
||||||
|
display: block;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
+3
-2
@@ -84,12 +84,13 @@
|
|||||||
title: this.$t('chineseTitle'),
|
title: this.$t('chineseTitle'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'titleCn',
|
dataIndex: 'titleCn',
|
||||||
width: 210
|
ellipsis: true,
|
||||||
|
width: 320
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('englishTitle'),
|
title: this.$t('englishTitle'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 210,
|
width: 320,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'titleEn'
|
dataIndex: 'titleEn'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -100,8 +100,8 @@
|
|||||||
v-if="record.createBy == userInfoQuery.username && record.releaseCondition == 'draft'"
|
v-if="record.createBy == userInfoQuery.username && record.releaseCondition == 'draft'"
|
||||||
@click="deleteData(record)">{{$t('delete')}}</a>
|
@click="deleteData(record)">{{$t('delete')}}</a>
|
||||||
</span>
|
</span>
|
||||||
<span slot="title" slot-scope="text,record" :title="text">
|
<span slot="standardTitle" slot-scope="text,record" :title="text">
|
||||||
{{ text && text.length > 15 ? text.slice(0, 14) + '...' : text }}
|
{{ text}}
|
||||||
</span>
|
</span>
|
||||||
<span slot="translationLanguage" slot-scope="text,record"
|
<span slot="translationLanguage" slot-scope="text,record"
|
||||||
:title="record.sourceLanguage_dictText +' -- '+record.targetLanguage_dictText">
|
:title="record.sourceLanguage_dictText +' -- '+record.targetLanguage_dictText">
|
||||||
@@ -150,7 +150,7 @@
|
|||||||
},
|
},
|
||||||
toggleSearchStatus: false,
|
toggleSearchStatus: false,
|
||||||
loading: false,
|
loading: false,
|
||||||
dataSource: [{}],
|
dataSource: [],
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
total: 0,
|
total: 0,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
@@ -164,14 +164,16 @@
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'serialNumber',
|
dataIndex: 'serialNumber',
|
||||||
width: 170,
|
width: 170,
|
||||||
scopedSlots: { customRender: 'title' }
|
ellipsis: true,
|
||||||
|
scopedSlots: { customRender: 'standardTitle' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('title'),
|
title: this.$t('title'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'title',
|
dataIndex: 'title',
|
||||||
width: 170,
|
width: 170,
|
||||||
scopedSlots: { customRender: 'title' }
|
ellipsis: true,
|
||||||
|
scopedSlots: { customRender: 'standardTitle' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('TextStatus'),
|
title: this.$t('TextStatus'),
|
||||||
@@ -254,7 +256,7 @@
|
|||||||
this.pageNo = page
|
this.pageNo = page
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
SizeChange(page,pageSize) {
|
SizeChange(page, pageSize) {
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
this.pageSize = pageSize
|
this.pageSize = pageSize
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
<span v-else :title="title">
|
<span v-else :title="title">
|
||||||
{{title && title.length > 18?title.slice(0,17)+'...':title}}
|
{{title && title.length > 18?title.slice(0,17)+'...':title}}
|
||||||
</span>
|
</span>
|
||||||
<template #overlay >
|
<template #overlay v-if='manager'>
|
||||||
<a-menu @click="({ key: menuKey }) => onContextMenuClick(treeKey, menuKey, record)">
|
<a-menu @click="({ key: menuKey }) => onContextMenuClick(treeKey, menuKey, record)">
|
||||||
<a-menu-item key="1" @click="orgAdd" v-has="'externalReports:folder'">{{$t('Addingfolder')}}</a-menu-item>
|
<a-menu-item key="1" @click="orgAdd" v-has="'externalReports:folder'">{{$t('Addingfolder')}}</a-menu-item>
|
||||||
<a-menu-item key="4" @click="orgAdds" v-has="'externalReports:folder'" v-if="deleteNode">{{$t('Addingsubfolders')}}</a-menu-item>
|
<a-menu-item key="4" @click="orgAdds" v-has="'externalReports:folder'" v-if="deleteNode">{{$t('Addingsubfolders')}}</a-menu-item>
|
||||||
@@ -296,7 +296,9 @@ export default {
|
|||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
disabled:false,
|
disabled:false,
|
||||||
|
manager:false,
|
||||||
total: 0,
|
total: 0,
|
||||||
|
addSub:true,
|
||||||
tableData: [],
|
tableData: [],
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
@@ -503,8 +505,9 @@ export default {
|
|||||||
getAction(`extRepo/extRepoFolder/list`, {}).then(res => {
|
getAction(`extRepo/extRepoFolder/list`, {}).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
// this.data = this.toTree(res.result)
|
// this.data = this.toTree(res.result)
|
||||||
this.data = res.result
|
this.data = res.result.list
|
||||||
this.menuId = this.data[0].key
|
this.menuId = this.data[0].key
|
||||||
|
this.manager = res.result.manager
|
||||||
console.log(this.menuId)
|
console.log(this.menuId)
|
||||||
let queryParam = {
|
let queryParam = {
|
||||||
supFolder: this.menuId
|
supFolder: this.menuId
|
||||||
@@ -613,6 +616,7 @@ export default {
|
|||||||
this.form = {}
|
this.form = {}
|
||||||
let supFolder = ''
|
let supFolder = ''
|
||||||
this.supFolder = this.nodeItem.key
|
this.supFolder = this.nodeItem.key
|
||||||
|
this.addSub = false
|
||||||
this.menuRightVisible = true
|
this.menuRightVisible = true
|
||||||
|
|
||||||
},
|
},
|
||||||
@@ -622,6 +626,7 @@ export default {
|
|||||||
this.form = {}
|
this.form = {}
|
||||||
let supFolder = ''
|
let supFolder = ''
|
||||||
this.supFolder = this.nodeItem.key
|
this.supFolder = this.nodeItem.key
|
||||||
|
this.addSub = true
|
||||||
this.menuRightVisible = true
|
this.menuRightVisible = true
|
||||||
},
|
},
|
||||||
//树形修改
|
//树形修改
|
||||||
@@ -680,6 +685,7 @@ export default {
|
|||||||
if (!this.isEdit) {
|
if (!this.isEdit) {
|
||||||
let params = {
|
let params = {
|
||||||
supFolder: this.supFolder,
|
supFolder: this.supFolder,
|
||||||
|
addSub: this.addSub,
|
||||||
...this.form
|
...this.form
|
||||||
}
|
}
|
||||||
this.$refs.ruleForm.validate(valid => {
|
this.$refs.ruleForm.validate(valid => {
|
||||||
|
|||||||
Reference in New Issue
Block a user