This commit is contained in:
zhutianqi
2022-03-15 15:28:29 +08:00
parent f20882666c
commit 5513983954
8 changed files with 77 additions and 117 deletions
@@ -954,7 +954,6 @@
</el-table>
<loading :loading="tableLoading">数据加载中...</loading>
</div>
<pagination
:page="page7"
:total="total7"
@@ -2790,18 +2789,16 @@ export default {
this.$refs.multipleTable.toggleRowSelection(row, true)
},
selectAllStand(alldata) {
this.selectedItemList = []
this.selectedItemList.push(alldata[alldata.length - 1])
this.selectedItemList = alldata
},
editResolveList() {
if (this.selectedItemList.length > 0) {
this.editResolveListShowflag = true
let editItem = JSON.parse(JSON.stringify(this.selectedItemList[0]))
this.resolveListForm = editItem
this.resolveListForm = JSON.parse(JSON.stringify(this.selectedItemList[0]))
this.resolveListForm.termsConditions = this.resolveListForm.termsConditions ? this.resolveListForm.termsConditions.replace(/<.*?>/ig, ' ') : ''
// this.resolveListForm.readContent = this.readContent?this.readContent.replace(/<.*?>/ig, ' '):''
this.resolveListForm.xccssrq = this.resolveListForm.xccssrq ? this.resolveListForm.xccssrq.split(',') : ''
this.resolveListForm.zccssrq = this.resolveListForm.zccssrq ? this.resolveListForm.zccssrq.split(',') : ''
this.editResolveListShowflag = true
} else {
this.$message.warning('请选择一条数据')
}
@@ -2832,6 +2829,8 @@ export default {
)
},
resetEditResolveListForm() {
this.resolveListForm.applyArctic = ''
this.resolveListForm.dutyEngineer = ''
this.editResolveListShowflag = false
},
// 分页点击后方法
@@ -2851,7 +2850,6 @@ export default {
this.$http.get('sarStandardsInfo/sar-standards-info/getStandInfoById', {id: this.sarStandardsInfoEO.id}, {
_this: this
}, res => {
console.log(res.data);
this.sarStandardsInfoEO = res.data || {}
this.itemExistList = this.sarStandardsInfoEO.attrInfoMap.itemExistList;
if (this.sarStandardsInfoEO.issueTime != null && this.sarStandardsInfoEO.issueTime !== '') {
@@ -3114,7 +3112,9 @@ export default {
}
},
showItemsModel(attField) {
this.fileType = attField
if (attField) {
this.fileType = attField
}
this.getOrgTreeSource()
this.selectedItemList = []
this.selectSarStandItems()
@@ -3846,7 +3846,6 @@ export default {
}
})
this.dynamicFormField = displayLocation
console.log(displayLocation);
})
sessionStorage.setItem('displayLocation', JSON.stringify(displayLocation))
this.loading = false