|
@@ -109,7 +109,7 @@
|
|
|
:on-success="onSuccess"
|
|
|
:on-error="onError"
|
|
|
:before-upload="beforeUpload"
|
|
|
- action="http://192.168.1.18:9002/case/upload/file"
|
|
|
+ action="http://192.168.1.82:9002/case/upload/file"
|
|
|
accept=".xls,.xlsx"
|
|
|
>
|
|
|
<button class="btn" @click="importFile">
|
|
@@ -588,7 +588,7 @@ export default {
|
|
|
|
|
|
await that.API.requestData({
|
|
|
method: "GET",
|
|
|
- baseURL: "http://192.168.1.18:9002/",
|
|
|
+ baseURL: "http://192.168.1.82:9002/",
|
|
|
subUrl: "/know/fault/type/all",
|
|
|
success(res) {
|
|
|
let widgetArr = [],
|
|
@@ -607,7 +607,7 @@ export default {
|
|
|
|
|
|
await that.API.requestData({
|
|
|
method: "GET",
|
|
|
- baseURL: "http://192.168.1.18:9002/",
|
|
|
+ baseURL: "http://192.168.1.82:9002/",
|
|
|
subUrl: "basic/station/all",
|
|
|
success(res) {
|
|
|
that.ChangZhan = res.data;
|
|
@@ -643,7 +643,7 @@ export default {
|
|
|
//传感点
|
|
|
that.API.requestData({
|
|
|
method: "GET",
|
|
|
- baseURL: "http://192.168.1.18:9002/",
|
|
|
+ baseURL: "http://192.168.1.82:9002/",
|
|
|
subUrl: "point/list",
|
|
|
data: {
|
|
|
wtId: row.wtId,
|
|
@@ -741,7 +741,7 @@ export default {
|
|
|
that.API.requestData({
|
|
|
showLoading: true,
|
|
|
method: "GET",
|
|
|
- baseURL: "http://192.168.1.18:9002/",
|
|
|
+ baseURL: "http://192.168.1.82:9002/",
|
|
|
subUrl: "case/fault/list",
|
|
|
data: {
|
|
|
widget: widget ? widget : that.widget,
|
|
@@ -826,7 +826,7 @@ export default {
|
|
|
if (action === "confirm") {
|
|
|
that.API.requestData({
|
|
|
method: "GET",
|
|
|
- baseURL: "http://192.168.1.18:9002/",
|
|
|
+ baseURL: "http://192.168.1.82:9002/",
|
|
|
subUrl: "case/fault/delete",
|
|
|
data: {
|
|
|
id: row.id,
|
|
@@ -942,7 +942,7 @@ export default {
|
|
|
data.time && delete data.time;
|
|
|
axios({
|
|
|
method: "post",
|
|
|
- url: `http://192.168.1.18:9002/case/fault/${
|
|
|
+ url: `http://192.168.1.82:9002/case/fault/${
|
|
|
that.addDialogTitle === "新增" ? "insert" : "edit"
|
|
|
}`,
|
|
|
data: that.addDialogTitle === "新增" ? [data] : data,
|
|
@@ -1005,7 +1005,7 @@ export default {
|
|
|
},
|
|
|
downloadTemplate() {
|
|
|
window.open(
|
|
|
- "http://192.168.1.18:9002/case/download/template?template=fault"
|
|
|
+ "http://192.168.1.82:9002/case/download/template?template=fault"
|
|
|
);
|
|
|
},
|
|
|
},
|