|
@@ -74,8 +74,7 @@ import { onLoad, onShow, onReady, onHide, onLaunch, onNavigationBarButtonTap, on
|
|
|
import { ref, reactive, computed, getCurrentInstance, toRefs, inject } from "vue";
|
|
|
import { publicStores, useStores } from "@/store/modules/index";
|
|
|
|
|
|
-import { page } from "@/api/business/fireIot/repairManage.js";
|
|
|
-import { baseAlarmList, baseAlarm } from "@/api/business/fireIot/alarmManage.js";
|
|
|
+import { page, fill } from "@/api/business/fireIot/repairManage.js";
|
|
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
|
|
@@ -157,10 +156,11 @@ function handleSubmit(type) {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- baseAlarm({
|
|
|
+ fill({
|
|
|
+ id: dataArray.value.id,
|
|
|
handleName: handleName.value,
|
|
|
handleContent: handleContent.value,
|
|
|
- }).then((requset) => {
|
|
|
+ }).then((res) => {
|
|
|
if (requset.status === "SUCCESS") {
|
|
|
proxy.$tab.navigateTo(`/pages/common/success/index?codeName=提交成功`);
|
|
|
}
|