This commit is contained in:
zhutianqi
2022-01-12 17:57:24 +08:00
parent 591f3ec97d
commit fc77601542
3 changed files with 12 additions and 2 deletions
@@ -182,6 +182,7 @@ export default {
}, },
page () { page () {
this.spinShow = true this.spinShow = true
// this.$http.get('lawss/sarItemsCompareHis/page', {
this.$http.get('lawss/sarStandItemsCompareHis/page', { this.$http.get('lawss/sarStandItemsCompareHis/page', {
page: this.splitInfoPage, page: this.splitInfoPage,
pageSize: this.splitInfoPageSize, pageSize: this.splitInfoPageSize,
@@ -363,6 +363,8 @@
department: '', department: '',
responUserName: '', responUserName: '',
state: '', state: '',
source: '',
id: '',
}, },
itermsConditionsFlag: false, itermsConditionsFlag: false,
itermsConditionsTitle: '', itermsConditionsTitle: '',
@@ -454,6 +456,7 @@
this.data[a].newText = this.editForm.newText this.data[a].newText = this.editForm.newText
this.data[a].reason = this.editForm.reason this.data[a].reason = this.editForm.reason
this.data[a].cause = this.editForm.cause this.data[a].cause = this.editForm.cause
this.$set(this.data, a, this.editForm);
} }
} }
this.modalshowflag2 = false this.modalshowflag2 = false
@@ -473,7 +476,9 @@
cause: row.cause, cause: row.cause,
department: row.department, department: row.department,
responUserName: row.responUserName, responUserName: row.responUserName,
state: row.state state: row.state,
source: row.source,
id: row.id,
} }
}, },
itermsConditionsClose () { itermsConditionsClose () {
@@ -592,6 +597,7 @@
pId: this.pId pId: this.pId
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg); let data = JSON.parse(res.mesg);
console.log(data);
this.commentText5 = data.commentText5 || '' this.commentText5 = data.commentText5 || ''
this.form.fjList = data.form ? data.form.fjList : (data.fjList ? data.fjList : [] ) this.form.fjList = data.form ? data.form.fjList : (data.fjList ? data.fjList : [] )
this.form.modelList = data.form ? data.form.modelList : (data.modelList ? data.modelList : [] ) this.form.modelList = data.form ? data.form.modelList : (data.modelList ? data.modelList : [] )
@@ -573,7 +573,6 @@
:data="standSystemOptions" :data="standSystemOptions"
show-checkbox show-checkbox
node-key="id" node-key="id"
default-expand-all
check-strictly check-strictly
:default-checked-keys="TXJGList" :default-checked-keys="TXJGList"
:props="defaultProps"> :props="defaultProps">
@@ -729,6 +728,10 @@
this.TXJGmodal = false this.TXJGmodal = false
}, },
TXJGenterDrawer () { TXJGenterDrawer () {
if (this.$refs.TXJGTree.getCheckedNodes().length > 1) {
this.$message.warning('仅能选择一个体系结构')
return;
}
let list = this.$refs.TXJGTree.getCheckedNodes() let list = this.$refs.TXJGTree.getCheckedNodes()
let id = '' let id = ''
let name = '' let name = ''