fix(445721 未符合项整改--历史数据页面,点击标准编号、标准名称应跳转至详情页面,且历史数据页面的查询功能无作用 ):

This commit is contained in:
liuhuaizhi
2021-07-23 17:48:39 +08:00
parent 7fc9c31495
commit 1cff3561c1
@@ -25,7 +25,7 @@
:maxlength="100"></el-input>
</el-form-item>
<el-form-item label="责任部门" class="search-item">
<el-input v-model="historySearch.responseUnit" v-show="false" />
<el-input v-model="historySearch.responseUnitShow" v-show="false" />
<el-popover
placement="bottom"
popper-class="user-dept-popper"
@@ -495,8 +495,19 @@ export default {
})
},
detailsStandard (item) {
this.$http.post('lawss/sarTestItem/validateStandNumber', {
standnumber: item.standNum
console.log(item);
let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails',
params: {
id: item.id,
pageType: 'INLAND_STAND'
// pageType: item.standType + '_STAND'
}
})
window.open(routeUrl.href, '_blank')
// 接口调用无返回值与后台商量后先行封存 使用未符合整改数据库中方法直接跳转
/*this.$http.post('lawss/sarTestItem/validateStandNumber', {
standNumber: item.standId
}, {
_this: this
}, res => {
@@ -510,7 +521,7 @@ export default {
})
window.open(routeUrl.href, '_blank')
}, e => {
})
})*/
},
getOrgTreeSource () {
this.$http.get('sys/org/getTree', {}, {_this: this},
@@ -612,8 +623,9 @@ export default {
// })
// },
treeClickSearch (treeId, treeNode) {
this.historySearch.responseUnit = treeNode.id
this.historySearch.responsibleUnit = treeNode.id
this.historySearch.responseUnitShow = treeNode.name
this.$forceUpdate()
},
// 点击清空按钮事件
clearAllSearch () {
@@ -621,7 +633,8 @@ export default {
standNumOrName: '',
quesType: '',
productName: '',
responseUnit: ''
responsibleUnit: '',
responseUnitShow:''
}
this.getTableBtn()
},