对接问题知识库的回复

This commit is contained in:
范强强
2022-09-07 16:18:43 +08:00
parent 7942472190
commit 9eb69fd0a1
2 changed files with 7 additions and 1 deletions
@@ -180,6 +180,7 @@ export default {
}, },
mounted() { mounted() {
this.getSeach() this.getSeach()
this.queryParam = {...this.queryParam}
}, },
methods: { methods: {
searchQuery() { searchQuery() {
@@ -199,6 +200,7 @@ export default {
this.searchList.forEach((item, index) => { this.searchList.forEach((item, index) => {
if(item.db_field_name === 'serialNumber') { if(item.db_field_name === 'serialNumber') {
this.queryParam[item.db_field_name] = this.searchalonesplit this.queryParam[item.db_field_name] = this.searchalonesplit
this.queryParam = {...this.queryParam}
} }
}) })
} }
@@ -209,6 +211,7 @@ export default {
// }, // },
dateChange(item) { dateChange(item) {
this.queryParam[item] = moment(this.queryParam[item]).format('YYYY-MM-DD') this.queryParam[item] = moment(this.queryParam[item]).format('YYYY-MM-DD')
}, },
onChange(item) { onChange(item) {
if (this.queryParam[item] && this.queryParam[item].length > 0) { if (this.queryParam[item] && this.queryParam[item].length > 0) {
@@ -425,7 +425,6 @@
.doc-detail { .doc-detail {
background: #fff; background: #fff;
height: 100%; height: 100%;
.doc-detail-wrap { .doc-detail-wrap {
.doc-detail-header { .doc-detail-header {
width: 100%; width: 100%;
@@ -664,6 +663,10 @@
width: 75%; width: 75%;
margin: 0 auto; margin: 0 auto;
background: #fff; background: #fff;
/*position: absolute;*/
min-height: 100vh;
/*left: 50%;*/
/*transform: translateX(-50%);*/
} }
.division { .division {