|
|
@ -269,7 +269,7 @@ export default { |
|
|
|
res: "data", |
|
|
|
res: "data", |
|
|
|
}, |
|
|
|
}, |
|
|
|
tip: "请上传 .xls,.xlsx 标准格式文件", |
|
|
|
tip: "请上传 .xls,.xlsx 标准格式文件", |
|
|
|
action: "/api/iot-system/user/import-user", |
|
|
|
action: "/api/iot-sim/device/import-device", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: "数据覆盖", |
|
|
|
label: "数据覆盖", |
|
|
@ -311,7 +311,7 @@ export default { |
|
|
|
"excelForm.isCovered"() { |
|
|
|
"excelForm.isCovered"() { |
|
|
|
if (this.excelForm.isCovered !== "") { |
|
|
|
if (this.excelForm.isCovered !== "") { |
|
|
|
const column = this.findObject(this.excelOption.column, "excelFile"); |
|
|
|
const column = this.findObject(this.excelOption.column, "excelFile"); |
|
|
|
column.action = `${this.baseUrl}/${this.apis}/iot-sim/device/import-device?isCovered=${this.excelForm.isCovered}`; |
|
|
|
column.action = `${this.baseUrl}/${this.apis}iot-sim/device/import-device?isCovered=${this.excelForm.isCovered}`; |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
@ -439,7 +439,6 @@ export default { |
|
|
|
this.excelBox = true; |
|
|
|
this.excelBox = true; |
|
|
|
}, |
|
|
|
}, |
|
|
|
uploadAfter(res, done, loading, column) { |
|
|
|
uploadAfter(res, done, loading, column) { |
|
|
|
window.console.log(column); |
|
|
|
|
|
|
|
this.excelBox = false; |
|
|
|
this.excelBox = false; |
|
|
|
this.refreshChange(); |
|
|
|
this.refreshChange(); |
|
|
|
done(); |
|
|
|
done(); |
|
|
|