提交 735db8e2 编写于 作者: zhentian.jia's avatar zhentian.jia

fix 重置数据

上级 199c6d8f
......@@ -757,7 +757,7 @@ export default {
};
},
computed: {
...mapGetters(["_token", "idType"])
...mapGetters(["_token"])
},
created() {
vm = this;
......@@ -767,8 +767,8 @@ export default {
this.changeOnStep(this.active);
this.getComponentInfo();
//this.editManager();
this.idTypeValue = vm.idType;
//console.log('this.idType:'+vm.idType);
vm.idType = localStorage.getItem('storageIdType');
console.log('this.idType:'+vm.idType);
if (vm.idType == 2) {
this.activeName = "second";
}
......@@ -1529,7 +1529,6 @@ export default {
let organizationArea = operationData.treeHandler(allTree,changedTags);
console.log('多级树:',organizationArea);
this.organizationRegion = organizationArea;
//debugger;
//改
// this.organizationRegion = operationData.getOrganizationList(
// this.tagsRegion
......@@ -2025,7 +2024,7 @@ export default {
idList[0] = row.id;
let intersect = operationData.getIntersect(idList,this.changedOrganization);
let intersect2 = operationData.getIntersect(idList,this.changedOrganization2);
debugger;
//debugger;
if(intersect.length > 0) {
//选中
this.$refs.multipleOrganization.toggleRowSelection(row);
......
......@@ -273,8 +273,9 @@ export default {
},
created() {
vm = this;
vm.idType = localStorage.getItem('storageIdType')
vm.masterAdministratorFlag = localStorage.getItem('storageMaster')
vm.idType = localStorage.getItem('storageIdType');
vm.masterAdministratorFlag = localStorage.getItem('storageMaster');
console.log('idType:',vm.idType);
this.$nextTick(function() {;
this.getProjectList();
});
......
......@@ -130,10 +130,12 @@ export default {
};
},
computed: {
...mapGetters(["_token", "idType"])
...mapGetters(["_token"])
},
created() {
vm = this;
vm.idType = localStorage.getItem('storageIdType');
console.log('idType:',vm.idType);
this.search();
},
// 挂载到Dom完成时
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册