src/assets/img/systemMonitoring/图层 37.png | 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/assets/img/systemMonitoring/图层 38.png | 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/assets/img/systemMonitoring/图层 40.png | 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/utils/request.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/datamanage/SpatialData.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/datamanage/catalogueManage.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/assets/img/systemMonitoring/ͼ²ã 37.pngsrc/assets/img/systemMonitoring/ͼ²ã 38.pngsrc/assets/img/systemMonitoring/ͼ²ã 40.pngsrc/utils/request.js
@@ -9,7 +9,7 @@ import { Message } from "element-ui"; import store from "@/store"; import { getToken } from "@/utils/auth"; import router from "../router" // create an axios instance const service = axios.create({ baseURL: BASE_URL, // apiçbase_url @@ -29,14 +29,7 @@ config.headers["token"] = token; } if (config.url.indexOf("logout") != -1 && config.url.indexOf("login") != -1) { var expire = JSON.parse(window.localStorage.getItem("LFToken")).expire; var timeire = new Date().getTime(); if (timeire >= expire) { this.$router.push("logout") } } //å è½½loading store.commit("UPDATE_API_COUNT", "add"); @@ -50,6 +43,16 @@ } ); service.interceptors.response.use( (response) => { if (window.localStorage.getItem("LFToken") != null) { var expire = JSON.parse(window.localStorage.getItem("LFToken")).expire; var timeire = new Date().getTime(); if (timeire >= expire) { router.push('/login') localStorage.removeItem("LFToken"); } } store.commit("UPDATE_API_COUNT", "sub"); //console.log(response) //è¿åå æResponeType===Blob ,åå¼å¤ç src/views/datamanage/SpatialData.vue
@@ -401,6 +401,12 @@ label: 'ä¸å¡æ°æ®', value: 'BS', children: [], }, { id: 3, tabDesc: 'å æ°æ®', label: 'å æ°æ®', value: 'MD', children: [], }, ], tableAttach: [], @@ -776,7 +782,6 @@ var val; if (this.formSql.type == "long" || this.formSql.type == "integer") { val = parseInt(this.formSql.value); } else if (this.formSql.type == 'double') { src/views/datamanage/catalogueManage.vue
@@ -237,6 +237,7 @@ old_dirDat: [], //elæ æ°æ®(æå¨å) newData: [], //æå¨ååå§æ°æ® itemdetail: {}, itemaName: null, backUpData: '', formLabelWidth: '150px', delChildID: '', @@ -271,13 +272,18 @@ this.oriData = res.result; this.newData = res.result; this.dirList = this.treeData(res.result); // this.$nextTick(() => { if (this.itemdetail.id != null) { // this.expandData=[15] // this.$refs.tree.setCurrentKey(15); // }); if (this.itemaName != null) { this.$nextTick(() => { // this.expandData=[1] // this.$refs.tree.setCurrentKey(this.itemdetail.id); // document.getElementById(this.itemdetail.id).click(); this.expandData = [this.itemaName] this.$refs.tree.setCurrentKey(this.itemaName); }); } @@ -378,12 +384,10 @@ if (res == 1) {//æ°å¢å级 id = this.itemdetail.pid; orderNum = this.getMaxOrderNum(this.newNode.parent.childNodes) lever = this.itemdetail.level; } else if (res == 2) {//æ°å¢å级 id = this.itemdetail.id; orderNum = this.getMaxOrderNum(this.newNode.childNodes) lever = this.itemdetail.level + 1; } @@ -428,12 +432,13 @@ .then((res) => { setTimeout(() => { this.fullscreenLoading = false; if (res.code == 200) { this.$message({ message: 'æ·»å æå', type: 'success', }); this.itemaName = res.result; this.itemdetail = {}; this.ruleForm = {}; this.dialogFormVisible = false; @@ -456,6 +461,8 @@ }); }, remove(node, data) { this.itemaName =node.parent.data.id; this.$confirm('æ¤æä½å°å é¤è¯¥èç¹, æ¯å¦ç»§ç»?', 'æç¤º', { confirmButtonText: 'ç¡®å®', cancelButtonText: 'åæ¶', @@ -484,6 +491,7 @@ message: 'å 餿å!', }); this.itemdetail = {}; this.getDirTree(); } else if (res[0].code == 200) { this.$message.error('å 餿åï¼ä½ç½®è°æ´å¤±è´¥'); @@ -601,6 +609,7 @@ }, handleNodeClick(data, node) { // console.log(data); this.newNode = node; this.backUpData = JSON.stringify(data); this.itemdetail = JSON.parse(JSON.stringify(data));