Commit 2e6e6912 by xue_wengang

Update lazy_treeCode_components.vue

parent 90e983bf
......@@ -135,9 +135,9 @@ export default {
id: self.curFormData[self.curItem.id],
grade: "prev"
}
if(self.curItem.id == 'ladwGajgjgdm'){
parm.id = `${sessionStorage.getItem("unitcode").substring(0,6)}000000`
}
// if(self.curItem.id == 'ladwGajgjgdm'){
// parm.id = `${sessionStorage.getItem("unitcode").substring(0,6)}000000`
// }
self.doQueryRequest(parm, "/queryCodeByType").then(codeResult => {
var thisCodeOptions = [];
if (codeResult.data.success) {
......@@ -183,9 +183,9 @@ export default {
id: self.curFormData[self.curItem.id],
grade: "prev"
}
if(self.curItem.id == 'ladwGajgjgdm'){
parm.id = `${sessionStorage.getItem("unitcode").substring(0,6)}000000`
}
// if(self.curItem.id == 'ladwGajgjgdm'){
// parm.id = `${sessionStorage.getItem("unitcode").substring(0,6)}000000`
// }
self.doQueryRequest(parm, "/queryCodeByType").then(codeResult => {
var thisCodeOptions = [];
if (codeResult.data.success) {
......@@ -346,9 +346,9 @@ export default {
id: realFormLableAlign[realValueKey],
grade: "prev"
}
if(self.curItem.id == 'ladwGajgjgdm'){
parm.id = `${sessionStorage.getItem("unitcode").substring(0,6)}000000`
}
// if(self.curItem.id == 'ladwGajgjgdm'){
// parm.id = `${sessionStorage.getItem("unitcode").substring(0,6)}000000`
// }
self.doQueryRequest(parm, "/queryCodeByType").then(codeResult => {
if (codeResult.data.success) {
var codRes = codeResult.data.data.data;
......@@ -429,12 +429,14 @@ export default {
if (currentNode.level != 0) {
parm.id = currentNode.data.id;
parm.grade = "next"
}
let index = this.sjDw()
}else{
let index = this.sjDw()
let ling = '0'.repeat(12 - index)
if(self.curItem.id == 'ladwGajgjgdm'){
parm.id = `${sessionStorage.getItem("unitcode").substring(0,index)}${ling}`
}
parm.grade = "next"
}
self.doQueryRequest(parm, "/queryCodeByType").then(codeResult => {
if (codeResult.data.success) {
//判断是否有下级
......
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