feat:CN-1592 UI 新增Tag检索界面:界面样式调整

This commit is contained in:
hanyuxia
2024-04-12 11:39:10 +08:00
parent a3b9ee1390
commit 6dc3ab1058
4 changed files with 24 additions and 13 deletions

View File

@@ -260,7 +260,7 @@ export default {
},
add () {
this.$router.push({
path: '/tag/userDefined/create',
path: '/tag/create',
query: {
t: +new Date()
}
@@ -284,7 +284,7 @@ export default {
jumpToEditPage (id) {
const pageNo = this.$router.currentRoute.value.query.pageNo
this.$router.push({
path: '/tag/userDefined/edit',
path: '/tag/edit',
query: {
t: +new Date(),
pageNoForTable: pageNo || 1,

View File

@@ -155,7 +155,7 @@
<td class="imported-data-item" :title="d.entityValue">
<el-form-item v-if="(editIndex === i) || (addEditFlag && d.entityValue === '' && d.entityType === '')" prop="entityValue">
<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>
</el-form-item>
<span v-else>{{ d.entityValue }}</span>
@@ -858,7 +858,7 @@ export default {
customClass: 'del-model'
}).then(() => {
this.$router.push({
path: '/tag/userDefined',
path: '/tag',
query: {
pageNo: self.pageNoForTable ? Number(self.pageNoForTable) : 1,
t: +new Date()
@@ -867,7 +867,7 @@ export default {
}).catch(() => {})
} else {
this.$router.push({
path: '/tag/userDefined',
path: '/tag',
query: {
pageNo: self.pageNoForTable ? Number(self.pageNoForTable) : 1,
t: +new Date()
@@ -932,7 +932,7 @@ export default {
message: this.$t('tip.saveSuccess')
})
this.$router.push({
path: '/tag/userDefined',
path: '/tag',
query: {
pageNo: self.pageNoForTable ? Number(self.pageNoForTable) : 1,
t: +new Date()
@@ -960,7 +960,7 @@ export default {
message: this.$t('tip.saveSuccess')
})
this.$router.push({
path: '/tag/userDefined',
path: '/tag',
query: {
pageNo: self.pageNoForTable ? Number(self.pageNoForTable) : 1,
t: +new Date()
@@ -1176,6 +1176,11 @@ export default {
this.editTagErrorTip = ''
this.showImportedData[index].isValid = 1
this.showImportedData[index].msg = this.$t('overall.success')
if (this.hasErrorImportedData()) {
this.previewErrorTip = this.$t('validate.pleaseCheckForErrorItem')
} else {
this.previewErrorTip = ''
}
} else {
this.showImportedData[index].isValid = 0
}
@@ -1284,7 +1289,7 @@ export default {
console.error(e)
this.$message.error(this.errorMsgHandler(e))
this.$router.push({
path: '/tag/userDefined',
path: '/tag',
query: {
pageNo: self.pageNoForTable ? Number(self.pageNoForTable) : 1,
t: +new Date()