|
@@ -364,7 +364,7 @@ export default {
|
|
|
}
|
|
|
if(!this.cruID)return
|
|
|
// 获取参数设置已有列表
|
|
|
- this.$http.get('/zoniot-water/parmsetting/findList', { companyOrgId: this.cruID}).then(({ status, data, msg }) => {
|
|
|
+ this.$http.get('/sc-zoniot-water/parmsetting/findList', { companyOrgId: this.cruID}).then(({ status, data, msg }) => {
|
|
|
if (0 === status) {
|
|
|
this.paramasUl = data.length>0?data:[{companyOrgId: e.id,parmType:"",parmValue:"",enableState:0}];
|
|
|
}
|
|
@@ -377,7 +377,7 @@ export default {
|
|
|
}
|
|
|
if(!this.cruID)return
|
|
|
// 获取参数设置已有列表
|
|
|
- this.$http.get('/zoniot-water/waterProperty/select', { companyOrgId: this.cruID}).then(({ status, data, msg }) => {
|
|
|
+ this.$http.get('/sc-zoniot-water/waterProperty/select', { companyOrgId: this.cruID}).then(({ status, data, msg }) => {
|
|
|
if (0 === status) {
|
|
|
this.waterPropertyList = data.length>0?data:[{companyOrgId: e.id,propertyName :""}];
|
|
|
}
|
|
@@ -395,7 +395,7 @@ export default {
|
|
|
},
|
|
|
delLine(item,i){
|
|
|
this.paramasUl.splice(i,1)
|
|
|
- // this.$http.postForm('/zoniot-water/parmsetting/deleteById', { id: item.id }).then(({ status, data, msg }) => {
|
|
|
+ // this.$http.postForm('/sc-zoniot-water/parmsetting/deleteById', { id: item.id }).then(({ status, data, msg }) => {
|
|
|
// if (0 === status) {
|
|
|
// this.$message.success("删除成功");
|
|
|
|
|
@@ -419,7 +419,7 @@ export default {
|
|
|
}
|
|
|
if(!isnullExist)
|
|
|
{
|
|
|
- this.$http.post('/zoniot-water/parmsetting/batchSave', this.paramasUl).then(({ status, data, msg }) => {
|
|
|
+ this.$http.post('/sc-zoniot-water/parmsetting/batchSave', this.paramasUl).then(({ status, data, msg }) => {
|
|
|
if (0 === status) {
|
|
|
this.$message.success("保存成功");
|
|
|
this.getParamsListByCompany();
|
|
@@ -438,7 +438,7 @@ export default {
|
|
|
this.waterPropertyList.push({companyOrgId: this.cruID,propertyName :""})
|
|
|
},
|
|
|
deleteWaterLine(item,i){
|
|
|
- this.$http.get('/zoniot-water/waterProperty/delete', { id: item.id }).then(({ status, data, msg }) => {
|
|
|
+ this.$http.get('/sc-zoniot-water/waterProperty/delete', { id: item.id }).then(({ status, data, msg }) => {
|
|
|
if (0 === status) {
|
|
|
this.$message.success("删除成功");
|
|
|
this.waterPropertyList.splice(i,1)
|
|
@@ -448,7 +448,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
saveWaterProperty(){
|
|
|
- this.$http.post('/zoniot-water/waterProperty/save', this.waterPropertyList).then(({ status, data, msg }) => {
|
|
|
+ this.$http.post('/sc-zoniot-water/waterProperty/save', this.waterPropertyList).then(({ status, data, msg }) => {
|
|
|
if (0 === status) {
|
|
|
this.$message.success("保存成功");
|
|
|
this.getWaterPropertyByCompany();
|
|
@@ -492,7 +492,7 @@ export default {
|
|
|
};
|
|
|
}
|
|
|
|
|
|
- this.$http.get('/zoniot-water/systemSetting/selectSystem', params).then(({ status, data, msg }) => {
|
|
|
+ this.$http.get('/sc-zoniot-water/systemSetting/selectSystem', params).then(({ status, data, msg }) => {
|
|
|
if (status === 0 && data) {
|
|
|
this.formData = data;
|
|
|
}
|
|
@@ -512,7 +512,7 @@ export default {
|
|
|
new Promise((resolve) => {
|
|
|
this.$refs.form.validate(resolve);
|
|
|
}).then(() => {
|
|
|
- this.$http.post('/zoniot-water/systemSetting/saveSystem', { ...params, ...this.formData }).then(({ status, data, msg }) => {
|
|
|
+ this.$http.post('/sc-zoniot-water/systemSetting/saveSystem', { ...params, ...this.formData }).then(({ status, data, msg }) => {
|
|
|
if (status === 0) {
|
|
|
this.$message.success('保存成功');
|
|
|
} else {
|
|
@@ -531,7 +531,7 @@ export default {
|
|
|
this.getselectGis();
|
|
|
},
|
|
|
getselectGis() {
|
|
|
- this.mixins_dataUrl = '/zoniot-water/systemSetting/selectPageGis';
|
|
|
+ this.mixins_dataUrl = '/sc-zoniot-water/systemSetting/selectPageGis';
|
|
|
this.mixins_pageset = {
|
|
|
pageNum: this.mixins_pageset.pageNum,
|
|
|
pageSize: this.mixins_pageset.pageSize
|
|
@@ -602,7 +602,7 @@ export default {
|
|
|
ids.push(v.id);
|
|
|
});
|
|
|
}
|
|
|
- this.$http.post('/zoniot-water/systemSetting/deleteByGisIds', ids).then(({ status, data, msg }) => {
|
|
|
+ this.$http.post('/sc-zoniot-water/systemSetting/deleteByGisIds', ids).then(({ status, data, msg }) => {
|
|
|
if (status === 0) {
|
|
|
this.$message.success('删除成功');
|
|
|
this.getselectGis();
|