Commit 03b7ca74 authored by dupengyu's avatar dupengyu

设置参数

parent ee0839c9
......@@ -126,7 +126,7 @@
<el-form-item label="方向" prop="direction">
<el-select
v-model="leakyCableForm.direction"
placeholder="菜单状态"
placeholder="方向"
clearable
>
<el-option
......@@ -175,6 +175,7 @@ export default {
curInfo: {
immediate: true,
handler(newV) {
newV.direction = String(newV.direction);
this.leakyCableForm = formInit(newV);
},
},
......@@ -261,6 +262,10 @@ export default {
},
mounted() {
this.getAllWay();
this.changerailWay();
this.changesite();
this.changefsu();
this.changesite();
},
methods: {
// 编辑的确认
......
......@@ -121,7 +121,7 @@
<el-form-item label="方向" prop="direction">
<el-select
v-model="leakyCableForm.direction"
placeholder="菜单状态"
placeholder="方向"
clearable
>
<el-option
......@@ -170,6 +170,7 @@ export default {
curInfo: {
immediate: true,
handler(newV) {
newV.direction = String(newV.direction);
this.leakyCableForm = formInit(newV);
},
},
......@@ -253,6 +254,9 @@ export default {
},
mounted() {
this.getAllWay();
this.changerailWay();
this.changesite();
this.changefsu();
},
methods: {
// 编辑的确认
......
......@@ -245,6 +245,7 @@ export default {
methods: {
toEdit(row) {
this.visible = true;
console.log(row);
this.curInfo = row;
},
update(data) {
......
......@@ -270,8 +270,8 @@ export default {
let res = await selectParam({ equipId: row.id });
if (res && res.paramsJson) {
this.paramsJson = JSON.parse(res.paramsJson);
this.openSetting = true;
}
this.openSetting = true;
},
async handleSetting(row) {
this.rowData = row;
......
......@@ -9,8 +9,8 @@ function resolve(dir) {
const name = defaultSettings.title || '漏缆故障定位监测系统' // page title
const port = process.env.port || process.env.npm_config_port || 8890 // dev port
// const href = 'http://101.126.159.207'
const href = 'http://127.0.0.1'
// const href = 'http://192.168.0.115'
// const href = 'http://127.0.0.1'
const href = 'http://192.168.0.114'
const rewriteDefaultConfig = {
changeOrigin: true,
......
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