修改搜索中心细节问题
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
||||
<span style="line-height: 66px;display: inline-block;float: left;cursor: pointer" @click="backClick">
|
||||
<a-icon type="arrow-left" style="margin-right: 6px;"/>
|
||||
</span>
|
||||
{{$t('newlyAdded')}}
|
||||
{{this.$route.query.id ? $t('edit') :$t('newlyAdded')}}
|
||||
</div>
|
||||
</div>
|
||||
<div style="padding-top: 68px;background: #fff">
|
||||
|
||||
+11
-4
@@ -365,14 +365,21 @@
|
||||
::v-deep .ant-tag {
|
||||
padding: 2px 4px;
|
||||
background: #9B9DA9;
|
||||
color: #fff!important;
|
||||
color: #fff !important;
|
||||
}
|
||||
::v-deep .ant-tag-checkable:not(.ant-tag-checkable-checked):hover{
|
||||
color: #fff!important;
|
||||
|
||||
::v-deep .ant-tag-checkable:not(.ant-tag-checkable-checked):hover {
|
||||
color: #fff !important;
|
||||
}
|
||||
::v-deep .ant-tag-checkable-checked{
|
||||
|
||||
::v-deep .ant-tag-checkable-checked {
|
||||
background: #21c9cc;
|
||||
}
|
||||
|
||||
::v-deep p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
.box-content-left .ant-tag {
|
||||
|
||||
+2
-2
@@ -6,7 +6,7 @@
|
||||
<span style="line-height: 66px;display: inline-block;float: left">
|
||||
<a-icon type="arrow-left" style="margin-right: 6px;"/>
|
||||
</span>
|
||||
{{$t('applicableInstructionsMarketList')}}
|
||||
{{queryForm.title}}
|
||||
</div>
|
||||
<div class="doc-detail-right">
|
||||
<div @click="forwardClick" class="operator-text-text" :title="$t('forward')">
|
||||
@@ -123,7 +123,7 @@
|
||||
value: 'standNumber'
|
||||
},
|
||||
{
|
||||
title: this.$t('standardName'),
|
||||
title: this.$t('title'),
|
||||
value: 'title'
|
||||
},
|
||||
{
|
||||
|
||||
@@ -666,6 +666,11 @@
|
||||
postAction(this.url.getParagraphInfoList, query).then((res) => {
|
||||
if (res.success) {
|
||||
this.conList = res.result.records
|
||||
if (this.conList && this.conList.length > 0) {
|
||||
this.conList.forEach(val => {
|
||||
val.content = val.content.replace(/<img .*?>/g, '')
|
||||
})
|
||||
}
|
||||
this.total = res.result.total
|
||||
this.loading = false
|
||||
} else {
|
||||
@@ -934,6 +939,11 @@
|
||||
word-break: break-all
|
||||
}
|
||||
|
||||
::v-deep p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/*::v-deep .ant-select {*/
|
||||
/* max-width: calc(100% - 126px) !important;*/
|
||||
/*}*/
|
||||
|
||||
@@ -191,6 +191,11 @@
|
||||
postAction(this.url.getInfoList, query).then((res) => {
|
||||
if (res.success) {
|
||||
this.conList = res.result.records
|
||||
if (this.conList && this.conList.length > 0) {
|
||||
this.conList.forEach(val => {
|
||||
val.content = val.content.replace(/<img .*?>/g, '')
|
||||
})
|
||||
}
|
||||
this.total = res.result.total
|
||||
this.loading = false
|
||||
} else {
|
||||
@@ -305,4 +310,8 @@
|
||||
text-align: center;
|
||||
line-height: 10;
|
||||
}
|
||||
::v-deep p{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
@@ -220,7 +220,9 @@
|
||||
return words.replace(/\s/g, '') //这里是去除空格
|
||||
},
|
||||
getParagraphInfoList() {
|
||||
let queryParamOne = Object.assign(this.queryParam, this.queryParamOne)
|
||||
let queryParamIndex = JSON.parse(JSON.stringify(this.queryParam))
|
||||
let queryParamAdmin = JSON.parse(JSON.stringify(this.queryParamOne))
|
||||
let queryParamOne = Object.assign(queryParamIndex, queryParamAdmin)
|
||||
let queryParam = JSON.parse(JSON.stringify(queryParamOne))
|
||||
Object.keys(queryParam).forEach(val => {
|
||||
if (queryParam[val] instanceof Array) {
|
||||
@@ -238,6 +240,11 @@
|
||||
postAction(this.url.getParagraphInfoList, query).then((res) => {
|
||||
if (res.success) {
|
||||
this.conList = res.result.records
|
||||
if (this.conList && this.conList.length > 0) {
|
||||
this.conList.forEach(val => {
|
||||
val.content = val.content.replace(/<img .*?>/g, '')
|
||||
})
|
||||
}
|
||||
this.total = res.result.total
|
||||
this.loading = false
|
||||
} else {
|
||||
@@ -482,4 +489,8 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
::v-deep p{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
@@ -213,6 +213,11 @@
|
||||
postAction(this.url.getInfoList, query).then((res) => {
|
||||
if (res.success) {
|
||||
this.conList = res.result.records
|
||||
if (this.conList && this.conList.length > 0) {
|
||||
this.conList.forEach(val => {
|
||||
val.content = val.content.replace(/<img .*?>/g, '')
|
||||
})
|
||||
}
|
||||
this.total = res.result.total
|
||||
} else {
|
||||
this.conList = []
|
||||
@@ -351,4 +356,8 @@
|
||||
text-align: center;
|
||||
line-height: 10;
|
||||
}
|
||||
::v-deep p{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
@@ -65,10 +65,10 @@
|
||||
<a-tab-pane :key="$t('whole')" :tab="$t('whole')"></a-tab-pane>
|
||||
<a-tab-pane :key="$t('DocumentLibrary')" :tab="$t('DocumentLibrary')" force-render>
|
||||
</a-tab-pane>
|
||||
<!-- <a-tab-pane :key="$t('problemKnowledgeBase')" :tab="$t('problemKnowledgeBase')" force-render>-->
|
||||
<!-- </a-tab-pane>-->
|
||||
<!-- <a-tab-pane :key="$t('monthlyReportRegulations')" :tab="$t('monthlyReportRegulations')" force-render>-->
|
||||
<!-- </a-tab-pane>-->
|
||||
<a-tab-pane :key="$t('problemKnowledgeBase')" :tab="$t('problemKnowledgeBase')" force-render>
|
||||
</a-tab-pane>
|
||||
<a-tab-pane :key="$t('monthlyReportRegulations')" :tab="$t('monthlyReportRegulations')" force-render>
|
||||
</a-tab-pane>
|
||||
</a-tabs>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user