Commit f7d8846e authored by zhang's avatar zhang

feat: (首页/信息管理/检验内容库)新增章节选择功能,更新页面样式

parent 879cc6d0
...@@ -319,7 +319,6 @@ export default { ...@@ -319,7 +319,6 @@ export default {
}, },
'$store.getters.standard_type': { '$store.getters.standard_type': {
handler(newVal, oldVal) { handler(newVal, oldVal) {
console.log(this.count)
this.queryParams.type = newVal this.queryParams.type = newVal
this.count++ this.count++
if(this.count>3){ if(this.count>3){
...@@ -378,7 +377,6 @@ export default { ...@@ -378,7 +377,6 @@ export default {
}) })
.then(async res => { .then(async res => {
if (res.code === 200) { if (res.code === 200) {
console.log(res.rows)
this.modelData = res.rows // 储存原始数据 this.modelData = res.rows // 储存原始数据
// res.rows[0].carReviewStatus = 'FINISH' // res.rows[0].carReviewStatus = 'FINISH'
// res.rows[0].reviewStatus = 'SIGNED' // res.rows[0].reviewStatus = 'SIGNED'
...@@ -426,7 +424,6 @@ export default { ...@@ -426,7 +424,6 @@ export default {
await listInspection({id:tempDataItem.id}).then(res=>{// 根据tempDataItem的id搜索详细数据 await listInspection({id:tempDataItem.id}).then(res=>{// 根据tempDataItem的id搜索详细数据
if(res.code == 200){ if(res.code == 200){
let temp = res.data let temp = res.data
console.log(temp)
forEach(temp,(pointItem)=>{ forEach(temp,(pointItem)=>{
forEach(pointItem,(pointDeepItem)=>{ forEach(pointItem,(pointDeepItem)=>{
pointDeepItem.label = '审查要点' pointDeepItem.label = '审查要点'
...@@ -440,7 +437,6 @@ export default { ...@@ -440,7 +437,6 @@ export default {
} }
page.push(obj) page.push(obj)
}) })
console.log(tempDataItem)
}) })
this.tableData = page // 将临时数据容器赋给结果数据容器 this.tableData = page // 将临时数据容器赋给结果数据容器
...@@ -461,6 +457,8 @@ export default { ...@@ -461,6 +457,8 @@ export default {
}, },
reset() { reset() {
this.searchQueryParams.chapter = ''
this.searchQueryParams.text = ''
this.queryParams.chapter = '' this.queryParams.chapter = ''
this.queryParams.standard = '' this.queryParams.standard = ''
this.queryParams.testMethod = '' this.queryParams.testMethod = ''
...@@ -470,7 +468,6 @@ export default { ...@@ -470,7 +468,6 @@ export default {
this.loadData() this.loadData()
}, },
handleQuery(){ handleQuery(){
console.log(this.searchQueryParams)
this.queryParams.chapter = this.searchQueryParams.chapter this.queryParams.chapter = this.searchQueryParams.chapter
this.queryParams.standard = '' this.queryParams.standard = ''
this.queryParams.testMethod = '' this.queryParams.testMethod = ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment