feat:CN-1592 UI 新增Tag检索界面:界面样式调整
This commit is contained in:
@@ -1316,7 +1316,7 @@ $color-mousemove-cursor: #D3D0D8;
|
|||||||
}
|
}
|
||||||
|
|
||||||
.el-form-item {
|
.el-form-item {
|
||||||
margin-bottom: 12px;
|
margin-bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-form-item__content {
|
.el-form-item__content {
|
||||||
@@ -1542,8 +1542,8 @@ $color-mousemove-cursor: #D3D0D8;
|
|||||||
}
|
}
|
||||||
|
|
||||||
.el-form-item__content {
|
.el-form-item__content {
|
||||||
margin-top: -16px;
|
margin-top: 0px;
|
||||||
margin-bottom: -17px;
|
margin-bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-form-item__error {
|
.el-form-item__error {
|
||||||
@@ -1560,6 +1560,12 @@ $color-mousemove-cursor: #D3D0D8;
|
|||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
box-shadow: 0 -1px 4px 0 rgba(0, 0, 0, 0.10);
|
box-shadow: 0 -1px 4px 0 rgba(0, 0, 0, 0.10);
|
||||||
|
|
||||||
|
.tag__btn {
|
||||||
|
margin: 0 10px;
|
||||||
|
height: 30px;
|
||||||
|
min-width: 74px;
|
||||||
|
}
|
||||||
|
|
||||||
.footer__btn {
|
.footer__btn {
|
||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
|||||||
@@ -164,8 +164,8 @@ export function handleComponent (code) {
|
|||||||
return () => import('@/views/report/Report')
|
return () => import('@/views/report/Report')
|
||||||
case 'tag':
|
case 'tag':
|
||||||
return () => import('@/views/tag/Tag')
|
return () => import('@/views/tag/Tag')
|
||||||
case 'createUserDefinedLibrary':
|
case 'createTag':
|
||||||
case 'editUserDefinedLibrary':
|
case 'editTag':
|
||||||
return () => import('@/views/tag/TagForm')
|
return () => import('@/views/tag/TagForm')
|
||||||
case 'knowledgeBase':
|
case 'knowledgeBase':
|
||||||
return () => import('@/views/setting/KnowledgeBase')
|
return () => import('@/views/setting/KnowledgeBase')
|
||||||
|
|||||||
@@ -260,7 +260,7 @@ export default {
|
|||||||
},
|
},
|
||||||
add () {
|
add () {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/tag/userDefined/create',
|
path: '/tag/create',
|
||||||
query: {
|
query: {
|
||||||
t: +new Date()
|
t: +new Date()
|
||||||
}
|
}
|
||||||
@@ -284,7 +284,7 @@ export default {
|
|||||||
jumpToEditPage (id) {
|
jumpToEditPage (id) {
|
||||||
const pageNo = this.$router.currentRoute.value.query.pageNo
|
const pageNo = this.$router.currentRoute.value.query.pageNo
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/tag/userDefined/edit',
|
path: '/tag/edit',
|
||||||
query: {
|
query: {
|
||||||
t: +new Date(),
|
t: +new Date(),
|
||||||
pageNoForTable: pageNo || 1,
|
pageNoForTable: pageNo || 1,
|
||||||
|
|||||||
@@ -155,7 +155,7 @@
|
|||||||
<td class="imported-data-item" :title="d.entityValue">
|
<td class="imported-data-item" :title="d.entityValue">
|
||||||
<el-form-item v-if="(editIndex === i) || (addEditFlag && d.entityValue === '' && d.entityType === '')" prop="entityValue">
|
<el-form-item v-if="(editIndex === i) || (addEditFlag && d.entityValue === '' && d.entityType === '')" prop="entityValue">
|
||||||
<span class="imported-data-item-edit__input">
|
<span class="imported-data-item-edit__input">
|
||||||
<el-input v-model="editTagForm.entityValue" @blur="onBlurTagItem(i)" size="mini"></el-input>
|
<el-input v-model="editTagForm.entityValue" @blur="onBlurTagItem(i)" ></el-input>
|
||||||
</span>
|
</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<span v-else>{{ d.entityValue }}</span>
|
<span v-else>{{ d.entityValue }}</span>
|
||||||
@@ -858,7 +858,7 @@ export default {
|
|||||||
customClass: 'del-model'
|
customClass: 'del-model'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/tag/userDefined',
|
path: '/tag',
|
||||||
query: {
|
query: {
|
||||||
pageNo: self.pageNoForTable ? Number(self.pageNoForTable) : 1,
|
pageNo: self.pageNoForTable ? Number(self.pageNoForTable) : 1,
|
||||||
t: +new Date()
|
t: +new Date()
|
||||||
@@ -867,7 +867,7 @@ export default {
|
|||||||
}).catch(() => {})
|
}).catch(() => {})
|
||||||
} else {
|
} else {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/tag/userDefined',
|
path: '/tag',
|
||||||
query: {
|
query: {
|
||||||
pageNo: self.pageNoForTable ? Number(self.pageNoForTable) : 1,
|
pageNo: self.pageNoForTable ? Number(self.pageNoForTable) : 1,
|
||||||
t: +new Date()
|
t: +new Date()
|
||||||
@@ -932,7 +932,7 @@ export default {
|
|||||||
message: this.$t('tip.saveSuccess')
|
message: this.$t('tip.saveSuccess')
|
||||||
})
|
})
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/tag/userDefined',
|
path: '/tag',
|
||||||
query: {
|
query: {
|
||||||
pageNo: self.pageNoForTable ? Number(self.pageNoForTable) : 1,
|
pageNo: self.pageNoForTable ? Number(self.pageNoForTable) : 1,
|
||||||
t: +new Date()
|
t: +new Date()
|
||||||
@@ -960,7 +960,7 @@ export default {
|
|||||||
message: this.$t('tip.saveSuccess')
|
message: this.$t('tip.saveSuccess')
|
||||||
})
|
})
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/tag/userDefined',
|
path: '/tag',
|
||||||
query: {
|
query: {
|
||||||
pageNo: self.pageNoForTable ? Number(self.pageNoForTable) : 1,
|
pageNo: self.pageNoForTable ? Number(self.pageNoForTable) : 1,
|
||||||
t: +new Date()
|
t: +new Date()
|
||||||
@@ -1176,6 +1176,11 @@ export default {
|
|||||||
this.editTagErrorTip = ''
|
this.editTagErrorTip = ''
|
||||||
this.showImportedData[index].isValid = 1
|
this.showImportedData[index].isValid = 1
|
||||||
this.showImportedData[index].msg = this.$t('overall.success')
|
this.showImportedData[index].msg = this.$t('overall.success')
|
||||||
|
if (this.hasErrorImportedData()) {
|
||||||
|
this.previewErrorTip = this.$t('validate.pleaseCheckForErrorItem')
|
||||||
|
} else {
|
||||||
|
this.previewErrorTip = ''
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.showImportedData[index].isValid = 0
|
this.showImportedData[index].isValid = 0
|
||||||
}
|
}
|
||||||
@@ -1284,7 +1289,7 @@ export default {
|
|||||||
console.error(e)
|
console.error(e)
|
||||||
this.$message.error(this.errorMsgHandler(e))
|
this.$message.error(this.errorMsgHandler(e))
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/tag/userDefined',
|
path: '/tag',
|
||||||
query: {
|
query: {
|
||||||
pageNo: self.pageNoForTable ? Number(self.pageNoForTable) : 1,
|
pageNo: self.pageNoForTable ? Number(self.pageNoForTable) : 1,
|
||||||
t: +new Date()
|
t: +new Date()
|
||||||
|
|||||||
Reference in New Issue
Block a user