feat: There is no way the, TO optimize the query
This commit is contained in:
@@ -2757,8 +2757,12 @@ export default {
|
|||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
},
|
},
|
||||||
// 编辑标准属性
|
// 编辑标准属性
|
||||||
selectStandardPro(item, state) {
|
selectStandardPro(row, state) {
|
||||||
this.id = item.id
|
this.id = row.id
|
||||||
|
this.$http.get('sarStandardsInfo/sar-standards-info/getStandInfoUpdateById', {id: row.id}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
const item = res.data || {}
|
||||||
this.collectId = item.collectId
|
this.collectId = item.collectId
|
||||||
this.addOrUPdateFlag = 2
|
this.addOrUPdateFlag = 2
|
||||||
this.modalshowtitle = '编辑国内标准'
|
this.modalshowtitle = '编辑国内标准'
|
||||||
@@ -2821,6 +2825,7 @@ export default {
|
|||||||
this.loading = false
|
this.loading = false
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
})
|
||||||
},
|
},
|
||||||
// 修改过程中,将resId 修改成 attid
|
// 修改过程中,将resId 修改成 attid
|
||||||
updateResidToAttid(filetype) {
|
updateResidToAttid(filetype) {
|
||||||
|
|||||||
+6
-1
@@ -2669,7 +2669,11 @@ export default {
|
|||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
},
|
},
|
||||||
// 编辑
|
// 编辑
|
||||||
selectStandardPro (item, state) {
|
selectStandardPro (row, state) {
|
||||||
|
this.$http.get('lawss/sarBussionessStand/getStandInfoUpdateById', {id: row.id}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
const item = res.data || {}
|
||||||
this.drawerTitle = '修改企业标准'
|
this.drawerTitle = '修改企业标准'
|
||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
this.resolveFormFieldList(true)
|
this.resolveFormFieldList(true)
|
||||||
@@ -2734,6 +2738,7 @@ export default {
|
|||||||
this.sarBussionessStandEO.orgName = item.responsibleUnitShow
|
this.sarBussionessStandEO.orgName = item.responsibleUnitShow
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
})
|
||||||
},
|
},
|
||||||
// 部门树结构,通过id,查出对应的树节点
|
// 部门树结构,通过id,查出对应的树节点
|
||||||
getTreeNameByid (treeid) {
|
getTreeNameByid (treeid) {
|
||||||
|
|||||||
@@ -2576,11 +2576,14 @@ export default {
|
|||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
},
|
},
|
||||||
// 编辑标准属性
|
// 编辑标准属性
|
||||||
selectStandardPro(item, state) {
|
selectStandardPro(row, state) {
|
||||||
// this.sarStandardsInfoEO.country=JSON.parse(item.country );
|
// this.sarStandardsInfoEO.country=JSON.parse(item.country );
|
||||||
|
|
||||||
// console.log(this.sarStandardsInfoEO.country);
|
// console.log(this.sarStandardsInfoEO.country);
|
||||||
|
this.$http.get('sarStandardsInfo/sar-standards-info/getStandInfoUpdateById', {id: row.id}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
const item = res.data || {}
|
||||||
this.addOrUPdateFlag = 2
|
this.addOrUPdateFlag = 2
|
||||||
this.modalshowtitle = '编辑海外标准'
|
this.modalshowtitle = '编辑海外标准'
|
||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
@@ -2645,6 +2648,8 @@ export default {
|
|||||||
this.loading = false
|
this.loading = false
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
// 查询二级菜单
|
// 查询二级菜单
|
||||||
selectChildMenu(row) {
|
selectChildMenu(row) {
|
||||||
|
|||||||
Reference in New Issue
Block a user