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

fix 重置数据

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