Commit a7cb372a by zhangzhijie

调整页面

parent c8afe2df
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<el-col :span="6"> <el-col :span="6">
<div class="grid-content bg-purple">{{ ajmc }}</div> <div class="grid-content bg-purple">{{ ajmc }}</div>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="6">
<div class="grid-content bg-purple">{{ asjbh }}</div> <div class="grid-content bg-purple">{{ asjbh }}</div>
</el-col> </el-col>
<el-col :span="3" v-if="ajlbdmStr"> <el-col :span="3" v-if="ajlbdmStr">
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<el-tag>{{ ajlbdmStr }}</el-tag> <el-tag>{{ ajlbdmStr }}</el-tag>
</div> </div>
</el-col> </el-col>
<el-col :span="3" v-if="ajxzlbStr"> <el-col :span="5" v-if="ajxzlbStr">
<div class="grid-content bg-purple"> <div class="grid-content bg-purple">
<el-tag>{{ ajxzlbStr }}</el-tag> <el-tag>{{ ajxzlbStr }}</el-tag>
</div> </div>
...@@ -1031,7 +1031,6 @@ export default { ...@@ -1031,7 +1031,6 @@ export default {
setTimeout(() => { setTimeout(() => {
this.$refs.tree2.setCurrentKey(this.ajxlb); this.$refs.tree2.setCurrentKey(this.ajxlb);
}, 500); }, 500);
} else {
} }
} else { } else {
// let ajxzId = this.ajzlb + "0000"; // let ajxzId = this.ajzlb + "0000";
...@@ -1054,7 +1053,6 @@ export default { ...@@ -1054,7 +1053,6 @@ export default {
} else { } else {
this.getQuery(); this.getQuery();
} }
console.log(this.parentLb);
}, },
bjBack() { bjBack() {
var self = this; var self = this;
...@@ -1119,7 +1117,7 @@ export default { ...@@ -1119,7 +1117,7 @@ export default {
type: "success", type: "success",
}) })
.then(() => { .then(() => {
window.opener.location.reload(); //window.opener.location.reload();
window.close(); window.close();
}) })
.catch(() => { .catch(() => {
...@@ -1499,10 +1497,16 @@ export default { ...@@ -1499,10 +1497,16 @@ export default {
} }
}, },
hanldTableBar() { hanldTableBar() {
this.zaData = []; //this.zaData = [];
this.laData = []; this.laData = [];
this.xaData = []; this.xaData = [];
this.getQuery(); axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
if (response.success === true) {
this.laData = response.data.rows.filter((val) => {
return val.parentId == `${this.ajzlb}0000`;
});
}
});
// if (this.selectIndex1 == val) { // if (this.selectIndex1 == val) {
// this.selectIndex1 = 0; // this.selectIndex1 = 0;
// //
...@@ -1569,13 +1573,13 @@ export default { ...@@ -1569,13 +1573,13 @@ export default {
// }, // },
xaHandleNodeClick(data) { xaHandleNodeClick(data) {
this.parentLb.childId = data.id; this.parentLb.childId = data.id;
axios.get(`JsonData/CODE_AJXZ.json`).then((response) => { // axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
if (response.success === true) { // if (response.success === true) {
this.laData = response.data.rows.filter((val) => { // this.laData = response.data.rows.filter((val) => {
return val.id == data.parentId; // return val.id == data.parentId;
}); // });
} // }
}); // });
setTimeout(() => { setTimeout(() => {
this.$refs.tree3.setCurrentKey(data.parentId); this.$refs.tree3.setCurrentKey(data.parentId);
}, 50); }, 50);
......
...@@ -37,7 +37,7 @@ export default { ...@@ -37,7 +37,7 @@ export default {
ajlbdm: [], ajlbdm: [],
jyaq: "", jyaq: "",
asjfsddDzmc: "", asjfsddDzmc: "",
zbrXm:"", zbrXm: "",
}, },
panelList: [ panelList: [
{ {
...@@ -267,15 +267,7 @@ export default { ...@@ -267,15 +267,7 @@ export default {
cxUrl: "/newAsjbz/esAsjQuery", cxUrl: "/newAsjbz/esAsjQuery",
}; };
}, },
methods: { methods: {},
// getAj() {
// getAsjxxDetail({
// asjbh: "A1501000000AAAAAAA22201",
// }).then((res) => {
// console.log(res);
// });
// },
},
created() { created() {
// this.getAj() // this.getAj()
var thisYear = new Date().getFullYear(); var thisYear = new Date().getFullYear();
......
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