|
|
@@ -9,7 +9,7 @@
|
|
|
<el-button type="primary" size="small">表格导入</el-button>
|
|
|
</el-upload>
|
|
|
<el-link type="primary" target="_blank"
|
|
|
- href="https://jtishfw.ncjti.edu.cn/jxch-smartmp/HotWaters/download/模板.xls">
|
|
|
+ href="https://chtech.ncjti.edu.cn/shuidian/HotWaters/download/模板.xls">
|
|
|
模板下载</el-link>
|
|
|
</span>
|
|
|
</el-col>
|
|
|
@@ -249,7 +249,7 @@
|
|
|
rows: this.pageRows
|
|
|
}
|
|
|
// 更新表格
|
|
|
- this.updateTable('/jxch-smartmp/HotWaters/waterlist.action', params)
|
|
|
+ this.updateTable('/shuidian/HotWaters/waterlist.action', params)
|
|
|
// 取得楼栋号,填充下拉列表
|
|
|
this.getBuildsFillSelect()
|
|
|
},
|
|
|
@@ -271,7 +271,7 @@
|
|
|
form.append('file', param.file);
|
|
|
this.$axios({
|
|
|
method: "post",
|
|
|
- url: "/jxch-smartmp/HotWaters/upload",
|
|
|
+ url: "/shuidian/HotWaters/upload",
|
|
|
headers: {
|
|
|
'Content-type': 'multipart/form-data'
|
|
|
},
|
|
|
@@ -289,7 +289,7 @@
|
|
|
*/
|
|
|
getBuilds(url) {
|
|
|
var _this = this
|
|
|
- this.$axios.get('/jxch-smartmp/HotWaters/watergetBuilds.action')
|
|
|
+ this.$axios.get('/shuidian/HotWaters/watergetBuilds.action')
|
|
|
.then(res => {
|
|
|
// console.log(res.data);
|
|
|
if (typeof(res.data.builds) != 'undefined' && res.data.builds != '' && JSON.stringify(res
|
|
|
@@ -367,7 +367,7 @@
|
|
|
}
|
|
|
}
|
|
|
// 查询该栋的信息
|
|
|
- this.updateTable('/jxch-smartmp/HotWaters/waterquerylist.action', params)
|
|
|
+ this.updateTable('/shuidian/HotWaters/waterquerylist.action', params)
|
|
|
},
|
|
|
/**
|
|
|
* 改变页码
|
|
|
@@ -389,7 +389,7 @@
|
|
|
}
|
|
|
}
|
|
|
// 查询该栋的信息
|
|
|
- this.updateTable('/jxch-smartmp/HotWaters/waterquerylist.action', params)
|
|
|
+ this.updateTable('/shuidian/HotWaters/waterquerylist.action', params)
|
|
|
},
|
|
|
/**
|
|
|
* 导出表格
|
|
|
@@ -406,12 +406,12 @@
|
|
|
} else {
|
|
|
params = ''
|
|
|
}
|
|
|
- this.$axios.post('/jxch-smartmp/HotWaters/watertoExcel.action', params)
|
|
|
+ this.$axios.post('/shuidian/HotWaters/watertoExcel.action', params)
|
|
|
.then(res => {
|
|
|
console.log(res.data.downurl);
|
|
|
if (typeof(res.data.downurl) != 'undefined' && res.data.downurl != '' && JSON.stringify(res
|
|
|
.data) != '{}') {
|
|
|
- window.open('https://jtishfw.ncjti.edu.cn/jxch-smartmp' + res.data.downurl)
|
|
|
+ window.open('https://chtech.ncjti.edu.cn/shuidian' + res.data.downurl)
|
|
|
} else {
|
|
|
_this.$message.error('【未获得】表格!');
|
|
|
}
|
|
|
@@ -436,7 +436,7 @@
|
|
|
*/
|
|
|
handleDelRow() {
|
|
|
var _this = this
|
|
|
- this.$axios.get('/jxch-smartmp/HotWaters/waterdelBuild.action', {
|
|
|
+ this.$axios.get('/shuidian/HotWaters/waterdelBuild.action', {
|
|
|
params: {
|
|
|
id: this.delRowId
|
|
|
}
|
|
|
@@ -450,7 +450,7 @@
|
|
|
page: this.currentPage,
|
|
|
rows: this.pageRows
|
|
|
}
|
|
|
- this.updateTable('/jxch-smartmp/HotWaters/waterlist.action', params)
|
|
|
+ this.updateTable('/shuidian/HotWaters/waterlist.action', params)
|
|
|
// 取得楼栋号,填充下拉列表
|
|
|
this.getBuildsFillSelect()
|
|
|
} else {
|
|
|
@@ -501,7 +501,7 @@
|
|
|
_this.$message.error('请输入宿舍号')
|
|
|
return
|
|
|
}
|
|
|
- _this.$axios.get('/jxch-smartmp/HotWaters/wateraddBuild.action', {
|
|
|
+ _this.$axios.get('/shuidian/HotWaters/wateraddBuild.action', {
|
|
|
params: {
|
|
|
user_id: String(_this.addform.user_id).trim(),
|
|
|
dom: String(_this.addform.dom).trim(),
|
|
|
@@ -560,8 +560,8 @@
|
|
|
_this.$message.error('请输入宿舍号')
|
|
|
return
|
|
|
}
|
|
|
-
|
|
|
- _this.$axios.get('/jxch-smartmp/HotWaters/waterupdateBuild.action', {
|
|
|
+
|
|
|
+ _this.$axios.get('/shuidian/HotWaters/waterupdateBuild.action', {
|
|
|
params: {
|
|
|
id: _this.modifyForm.id,
|
|
|
user_id: String(_this.modifyForm.user_id).trim(),
|
|
|
@@ -579,7 +579,7 @@
|
|
|
page: _this.currentPage,
|
|
|
rows: _this.pageRows
|
|
|
}
|
|
|
- _this.updateTable('/jxch-smartmp/HotWaters/waterlist.action', params)
|
|
|
+ _this.updateTable('/shuidian/HotWaters/waterlist.action', params)
|
|
|
// 取得楼栋号,填充下拉列表
|
|
|
_this.getBuildsFillSelect()
|
|
|
} else {
|
|
|
@@ -630,7 +630,7 @@
|
|
|
rows: this.pageRows
|
|
|
}
|
|
|
}
|
|
|
- this.updateTable('/jxch-smartmp/HotWaters/waterquerylist.action', params)
|
|
|
+ this.updateTable('/shuidian/HotWaters/waterquerylist.action', params)
|
|
|
this.$message.success('水表id包含:' + this.query_shuibiaoId + ' 查询完成!')
|
|
|
} else {
|
|
|
if (this.form_select.value == 0) {
|
|
|
@@ -645,7 +645,7 @@
|
|
|
page: 1,
|
|
|
rows: this.pageRows
|
|
|
}
|
|
|
- this.updateTable('/jxch-smartmp/HotWaters/waterquerylist.action', params)
|
|
|
+ this.updateTable('/shuidian/HotWaters/waterquerylist.action', params)
|
|
|
}
|
|
|
// this.$message.error('请输入水表id 或 选择 楼栋号')
|
|
|
}
|