diff --git a/src/api/fishery/callNotice/index.ts b/src/api/fishery/callNotice/index.ts new file mode 100644 index 0000000..cb8e0b0 --- /dev/null +++ b/src/api/fishery/callNotice/index.ts @@ -0,0 +1,63 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +import { CallNoticeVO, CallNoticeForm, CallNoticeQuery } from '@/api/fishery/callNotice/types'; + +/** + * 查询告警电话通知记录列表 + * @param query + * @returns {*} + */ + +export const listCallNotice = (query?: CallNoticeQuery): AxiosPromise => { + return request({ + url: '/fishery/callNotice/list', + method: 'get', + params: query + }); +}; + +/** + * 查询告警电话通知记录详细 + * @param id + */ +export const getCallNotice = (id: string | number): AxiosPromise => { + return request({ + url: '/fishery/callNotice/' + id, + method: 'get' + }); +}; + +/** + * 新增告警电话通知记录 + * @param data + */ +export const addCallNotice = (data: CallNoticeForm) => { + return request({ + url: '/fishery/callNotice', + method: 'post', + data: data + }); +}; + +/** + * 修改告警电话通知记录 + * @param data + */ +export const updateCallNotice = (data: CallNoticeForm) => { + return request({ + url: '/fishery/callNotice', + method: 'put', + data: data + }); +}; + +/** + * 删除告警电话通知记录 + * @param id + */ +export const delCallNotice = (id: string | number | Array) => { + return request({ + url: '/fishery/callNotice/' + id, + method: 'delete' + }); +}; diff --git a/src/api/fishery/callNotice/types.ts b/src/api/fishery/callNotice/types.ts new file mode 100644 index 0000000..bde6697 --- /dev/null +++ b/src/api/fishery/callNotice/types.ts @@ -0,0 +1,235 @@ +export interface CallNoticeVO { + /** + * 主键id + */ + id: string | number; + + /** + * 用户id + */ + userId: string | number; + + /** + * 通知手机号 + */ + mobilePhone: string; + + /** + * 设备id + */ + deviceId: string | number; + + /** + * 呼叫状态 + */ + callStatus: number; + + /** + * 主叫号码 + */ + caller: string; + + /** + * 通话时长 + */ + duration: string; + + /** + * 通话结束时间 + */ + endTime: string; + + /** + * 挂断方向 + */ + hangupDirection: string; + + /** + * 呼叫发起时间 + */ + originateTime: string; + + /** + * 扩展字段回传 + */ + outId: string | number; + + /** + * 被叫响铃时间 + */ + ringTime: string; + + /** + * 通话接通时间 + */ + startTime: string; + + /** + * 呼叫结果状态码 + */ + statusCode: string; + + /** + * 结果描述 + */ + statusMsg: string; + + /** + * 通话类型 + */ + tollType: string; + + /** + * 话单类型 + */ + voiceType: string; + +} + +export interface CallNoticeForm extends BaseEntity { + /** + * 主键id + */ + id?: string | number; + + /** + * 用户id + */ + userId?: string | number; + + /** + * 通知手机号 + */ + mobilePhone?: string; + + /** + * 设备id + */ + deviceId?: string | number; + + /** + * 设定的呼叫时间 + */ + callTime?: string; + + /** + * 呼叫的CallId + */ + callId?: string | number; + + /** + * 呼叫状态 + */ + callStatus?: number; + + /** + * 主叫号码 + */ + caller?: string; + + /** + * 通话时长 + */ + duration?: string; + + /** + * 通话结束时间 + */ + endTime?: string; + + /** + * 挂断方向 + */ + hangupDirection?: string; + + /** + * 呼叫发起时间 + */ + originateTime?: string; + + /** + * 扩展字段回传 + */ + outId?: string | number; + + /** + * 被叫响铃时间 + */ + ringTime?: string; + + /** + * 通话接通时间 + */ + startTime?: string; + + /** + * 呼叫结果状态码 + */ + statusCode?: string; + + /** + * 结果描述 + */ + statusMsg?: string; + + /** + * 通话类型 + */ + tollType?: string; + + /** + * 话单类型 + */ + voiceType?: string; + + /** + * 塘口名称 + */ + pondName?: string; + +} + +export interface CallNoticeQuery extends PageQuery { + + /** + * 用户id + */ + userId?: string | number; + + callStatus?: string | number; + + /** + * 通知手机号 + */ + mobilePhone?: string; + + /** + * 设备id + */ + deviceId?: string | number; + + /** + * 通话时长 + */ + duration?: string; + + /** + * 通话结束时间 + */ + endTime?: string; + + /** + * 挂断方向 + */ + hangupDirection?: string; + + /** + * 通话类型 + */ + tollType?: string; + + /** + * 日期范围参数 + */ + params?: any; +} diff --git a/src/api/fishery/mapMessageWarnCallNotice/index.ts b/src/api/fishery/mapMessageWarnCallNotice/index.ts new file mode 100644 index 0000000..e0bc6db --- /dev/null +++ b/src/api/fishery/mapMessageWarnCallNotice/index.ts @@ -0,0 +1,63 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +import { MapMessageWarnCallNoticeVO, MapMessageWarnCallNoticeForm, MapMessageWarnCallNoticeQuery } from '@/api/fishery/mapMessageWarnCallNotice/types'; + +/** + * 查询告警消息和电话告警通知关系表列表 + * @param query + * @returns {*} + */ + +export const listMapMessageWarnCallNotice = (query?: MapMessageWarnCallNoticeQuery): AxiosPromise => { + return request({ + url: '/fishery/mapMessageWarnCallNotice/list', + method: 'get', + params: query + }); +}; + +/** + * 查询告警消息和电话告警通知关系表详细 + * @param id + */ +export const getMapMessageWarnCallNotice = (id: string | number): AxiosPromise => { + return request({ + url: '/fishery/mapMessageWarnCallNotice/' + id, + method: 'get' + }); +}; + +/** + * 新增告警消息和电话告警通知关系表 + * @param data + */ +export const addMapMessageWarnCallNotice = (data: MapMessageWarnCallNoticeForm) => { + return request({ + url: '/fishery/mapMessageWarnCallNotice', + method: 'post', + data: data + }); +}; + +/** + * 修改告警消息和电话告警通知关系表 + * @param data + */ +export const updateMapMessageWarnCallNotice = (data: MapMessageWarnCallNoticeForm) => { + return request({ + url: '/fishery/mapMessageWarnCallNotice', + method: 'put', + data: data + }); +}; + +/** + * 删除告警消息和电话告警通知关系表 + * @param id + */ +export const delMapMessageWarnCallNotice = (id: string | number | Array) => { + return request({ + url: '/fishery/mapMessageWarnCallNotice/' + id, + method: 'delete' + }); +}; diff --git a/src/api/fishery/mapMessageWarnCallNotice/types.ts b/src/api/fishery/mapMessageWarnCallNotice/types.ts new file mode 100644 index 0000000..0502cb7 --- /dev/null +++ b/src/api/fishery/mapMessageWarnCallNotice/types.ts @@ -0,0 +1,63 @@ +export interface MapMessageWarnCallNoticeVO { + /** + * 主键id + */ + id: string | number; + + /** + * 告警消息Id + */ + messageWarnId: string | number; + + /** + * 电话通知id + */ + callNoticeId: string | number; + + /** + * 备注 + */ + remark: string; + +} + +export interface MapMessageWarnCallNoticeForm extends BaseEntity { + /** + * 主键id + */ + id?: string | number; + + /** + * 告警消息Id + */ + messageWarnId?: string | number; + + /** + * 电话通知id + */ + callNoticeId?: string | number; + + /** + * 备注 + */ + remark?: string; + +} + +export interface MapMessageWarnCallNoticeQuery extends PageQuery { + + /** + * 告警消息Id + */ + messageWarnId?: string | number; + + /** + * 电话通知id + */ + callNoticeId?: string | number; + + /** + * 日期范围参数 + */ + params?: any; +} diff --git a/src/api/fishery/messageWarn/index.ts b/src/api/fishery/messageWarn/index.ts new file mode 100644 index 0000000..4e7ce30 --- /dev/null +++ b/src/api/fishery/messageWarn/index.ts @@ -0,0 +1,63 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +import { MessageWarnVO, MessageWarnForm, MessageWarnQuery } from '@/api/fishery/messageWarn/types'; + +/** + * 查询设备告警记录列表 + * @param query + * @returns {*} + */ + +export const listMessageWarn = (query?: MessageWarnQuery): AxiosPromise => { + return request({ + url: '/fishery/messageWarn/list', + method: 'get', + params: query + }); +}; + +/** + * 查询设备告警记录详细 + * @param id + */ +export const getMessageWarn = (id: string | number): AxiosPromise => { + return request({ + url: '/fishery/messageWarn/' + id, + method: 'get' + }); +}; + +/** + * 新增设备告警记录 + * @param data + */ +export const addMessageWarn = (data: MessageWarnForm) => { + return request({ + url: '/fishery/messageWarn', + method: 'post', + data: data + }); +}; + +/** + * 修改设备告警记录 + * @param data + */ +export const updateMessageWarn = (data: MessageWarnForm) => { + return request({ + url: '/fishery/messageWarn', + method: 'put', + data: data + }); +}; + +/** + * 删除设备告警记录 + * @param id + */ +export const delMessageWarn = (id: string | number | Array) => { + return request({ + url: '/fishery/messageWarn/' + id, + method: 'delete' + }); +}; diff --git a/src/api/fishery/messageWarn/types.ts b/src/api/fishery/messageWarn/types.ts new file mode 100644 index 0000000..f397574 --- /dev/null +++ b/src/api/fishery/messageWarn/types.ts @@ -0,0 +1,183 @@ +export interface MessageWarnVO { + /** + * 主键id + */ + id: string | number; + + /** + * 用户id + */ + userId: string | number; + + /** + * 设备id + */ + deviceId: string | number; + + /** + * 消息标题 + */ + title: string; + + /** + * 消息内容 + */ + message: string; + + /** + * 是否已读 + */ + isRead: number; + + /** + * 告警类型 + */ + warnType: number; + + /** + * 塘口名称 + */ + pondName: string; + + /** + * 备注 + */ + remark: string; + + /** + * 用户名 + */ + userName?: string; + + /** + * 手机号 + */ + mobilePhone?: string; + + /** + * 设备编号 + */ + serialNum?: string; + + /** + * 设备名称 + */ + deviceName?: string; + + /** + * 创建时间 + */ + createTime?: string; + +} + +export interface MessageWarnForm extends BaseEntity { + /** + * 主键id + */ + id?: string | number; + + /** + * 用户id + */ + userId?: string | number; + + /** + * 设备id + */ + deviceId?: string | number; + + /** + * 消息标题 + */ + title?: string; + + /** + * 消息内容 + */ + message?: string; + + /** + * 是否已读 + */ + isRead?: number; + + /** + * 告警类型 + */ + warnType?: number; + + /** + * 塘口名称 + */ + pondName?: string; + + /** + * 备注 + */ + remark?: string; + + /** + * 用户名 + */ + userName?: string; + + /** + * 手机号 + */ + mobilePhone?: string; + + /** + * 设备编号 + */ + serialNum?: string; + + /** + * 设备名称 + */ + deviceName?: string; + +} + +export interface MessageWarnQuery extends PageQuery { + + /** + * 用户id + */ + userId?: string | number; + + /** + * 设备id + */ + deviceId?: string | number; + + /** + * 消息标题 + */ + title?: string; + + /** + * 消息内容 + */ + message?: string; + + /** + * 是否已读 + */ + isRead?: number; + + /** + * 告警类型 + */ + warnType?: number; + + /** + * 塘口名称 + */ + pondName?: string; + + /** + * 日期范围参数 + */ + params?: any; +} diff --git a/src/types/components.d.ts b/src/types/components.d.ts index a8d3273..abfacc7 100644 --- a/src/types/components.d.ts +++ b/src/types/components.d.ts @@ -36,7 +36,6 @@ declare module 'vue' { ElForm: typeof import('element-plus/es')['ElForm'] ElFormItem: typeof import('element-plus/es')['ElFormItem'] ElIcon: typeof import('element-plus/es')['ElIcon'] - ElImage: typeof import('element-plus/es')['ElImage'] ElInput: typeof import('element-plus/es')['ElInput'] ElInputNumber: typeof import('element-plus/es')['ElInputNumber'] ElLink: typeof import('element-plus/es')['ElLink'] @@ -57,7 +56,6 @@ declare module 'vue' { ElTabPane: typeof import('element-plus/es')['ElTabPane'] ElTabs: typeof import('element-plus/es')['ElTabs'] ElTag: typeof import('element-plus/es')['ElTag'] - ElText: typeof import('element-plus/es')['ElText'] ElTooltip: typeof import('element-plus/es')['ElTooltip'] ElTree: typeof import('element-plus/es')['ElTree'] ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect'] @@ -69,7 +67,6 @@ declare module 'vue' { IconSelect: typeof import('./../components/IconSelect/index.vue')['default'] IEpCaretBottom: typeof import('~icons/ep/caret-bottom')['default'] IEpCaretTop: typeof import('~icons/ep/caret-top')['default'] - IEpUploadFilled: typeof import('~icons/ep/upload-filled')['default'] IFrame: typeof import('./../components/iFrame/index.vue')['default'] ImagePreview: typeof import('./../components/ImagePreview/index.vue')['default'] ImageUpload: typeof import('./../components/ImageUpload/index.vue')['default'] diff --git a/src/views/demo/demo/index.vue b/src/views/demo/demo/index.vue index e064f40..f58c811 100644 --- a/src/views/demo/demo/index.vue +++ b/src/views/demo/demo/index.vue @@ -222,7 +222,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: DemoVO) => { const _ids = row?.id || ids.value; - await proxy?.$modal.confirm('是否确认删除测试单编号为"' + _ids + '"的数据项?').finally(() => (loading.value = false)); + await proxy?.$modal.confirm('是否确认删除选中的数据项?').finally(() => (loading.value = false)); await delDemo(_ids); proxy?.$modal.msgSuccess('删除成功'); await getList(); diff --git a/src/views/demo/tree/index.vue b/src/views/demo/tree/index.vue index ef923be..67c22bf 100644 --- a/src/views/demo/tree/index.vue +++ b/src/views/demo/tree/index.vue @@ -246,7 +246,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row: TreeVO) => { - await proxy?.$modal.confirm('是否确认删除测试树编号为"' + row.id + '"的数据项?'); + await proxy?.$modal.confirm('是否确认删除选中的数据项?'); loading.value = true; await delTree(row.id).finally(() => (loading.value = false)); await getList(); diff --git a/src/views/fishery/aquUser/index.vue b/src/views/fishery/aquUser/index.vue index c14c4e8..ee01768 100644 --- a/src/views/fishery/aquUser/index.vue +++ b/src/views/fishery/aquUser/index.vue @@ -961,7 +961,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: AquUserVO) => { const _ids = row?.id || ids.value; - await proxy?.$modal.confirm('是否确认删除养殖账号编号为"' + _ids + '"的数据项?').finally(() => (loading.value = false)); + await proxy?.$modal.confirm('是否确认删除选中的数据项?').finally(() => (loading.value = false)); await delAquUser(_ids); proxy?.$modal.msgSuccess('删除成功'); await getList(); diff --git a/src/views/fishery/callNotice/index.vue b/src/views/fishery/callNotice/index.vue new file mode 100644 index 0000000..ec9d6a1 --- /dev/null +++ b/src/views/fishery/callNotice/index.vue @@ -0,0 +1,392 @@ + + + diff --git a/src/views/fishery/device/index.vue b/src/views/fishery/device/index.vue index 3ac046d..faac47b 100644 --- a/src/views/fishery/device/index.vue +++ b/src/views/fishery/device/index.vue @@ -1207,7 +1207,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: DeviceVO) => { const _ids = row?.id || ids.value; - await proxy?.$modal.confirm('是否确认删除设备管理编号为"' + _ids + '"的数据项?').finally(() => loading.value = false); + await proxy?.$modal.confirm('是否确认删除选中的数据项?').finally(() => loading.value = false); await delDevice(_ids); proxy?.$modal.msgSuccess("删除成功"); await getList(); diff --git a/src/views/fishery/deviceBindRecord/index.vue b/src/views/fishery/deviceBindRecord/index.vue index 75cfd93..cb73477 100644 --- a/src/views/fishery/deviceBindRecord/index.vue +++ b/src/views/fishery/deviceBindRecord/index.vue @@ -393,7 +393,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: DeviceBindRecordVO) => { const _ids = row?.id || ids.value; - await proxy?.$modal.confirm('是否确认删除设备绑定记录编号为"' + _ids + '"的数据项?').finally(() => loading.value = false); + await proxy?.$modal.confirm('是否确认删除选中的数据项?').finally(() => loading.value = false); await delDeviceBindRecord(_ids); proxy?.$modal.msgSuccess("删除成功"); await getList(); diff --git a/src/views/fishery/deviceCorrectRecord/index.vue b/src/views/fishery/deviceCorrectRecord/index.vue index 3482ff6..283048e 100644 --- a/src/views/fishery/deviceCorrectRecord/index.vue +++ b/src/views/fishery/deviceCorrectRecord/index.vue @@ -705,7 +705,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: DeviceCorrectRecordVO) => { const _ids = row?.id || ids.value; - await proxy?.$modal.confirm('是否确认删除设备校准记录编号为"' + _ids + '"的数据项?').finally(() => loading.value = false); + await proxy?.$modal.confirm('是否确认删除选中的数据项?').finally(() => loading.value = false); await delDeviceCorrectRecord(_ids); proxy?.$modal.msgSuccess("删除成功"); await getList(); diff --git a/src/views/fishery/deviceErrorCode/index.vue b/src/views/fishery/deviceErrorCode/index.vue index 4e5ec22..3846cbd 100644 --- a/src/views/fishery/deviceErrorCode/index.vue +++ b/src/views/fishery/deviceErrorCode/index.vue @@ -497,7 +497,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: DeviceErrorCodeVO) => { const _ids = row?.id || ids.value; - await proxy?.$modal.confirm('是否确认删除设备故障码编号为"' + _ids + '"的数据项?').finally(() => loading.value = false); + await proxy?.$modal.confirm('是否确认删除选中的数据项?').finally(() => loading.value = false); await delDeviceErrorCode(_ids); proxy?.$modal.msgSuccess("删除成功"); await getList(); diff --git a/src/views/fishery/deviceSwitch/index.vue b/src/views/fishery/deviceSwitch/index.vue index 1ab2a73..f3f0283 100644 --- a/src/views/fishery/deviceSwitch/index.vue +++ b/src/views/fishery/deviceSwitch/index.vue @@ -535,7 +535,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: DeviceSwitchVO) => { const _ids = row?.id || ids.value; - await proxy?.$modal.confirm('是否确认删除测控一体机开关编号为"' + _ids + '"的数据项?').finally(() => loading.value = false); + await proxy?.$modal.confirm('是否确认删除选中的数据项?').finally(() => loading.value = false); await delDeviceSwitch(_ids); proxy?.$modal.msgSuccess("删除成功"); await getList(); diff --git a/src/views/fishery/deviceThreshold/index.vue b/src/views/fishery/deviceThreshold/index.vue index cea7121..9b5a600 100644 --- a/src/views/fishery/deviceThreshold/index.vue +++ b/src/views/fishery/deviceThreshold/index.vue @@ -235,7 +235,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: DeviceThresholdVO) => { const _ids = row?.id || ids.value; - await proxy?.$modal.confirm('是否确认删除设备阈值编号为"' + _ids + '"的数据项?').finally(() => (loading.value = false)); + await proxy?.$modal.confirm('是否确认删除选中的数据项?').finally(() => (loading.value = false)); await delDeviceThreshold(_ids); proxy?.$modal.msgSuccess('删除成功'); await getList(); diff --git a/src/views/fishery/deviceWarnOne/index.vue b/src/views/fishery/deviceWarnOne/index.vue index 15f9b70..9a19abd 100644 --- a/src/views/fishery/deviceWarnOne/index.vue +++ b/src/views/fishery/deviceWarnOne/index.vue @@ -291,7 +291,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: DeviceWarnOneVO) => { const _ids = row?.id || ids.value; - await proxy?.$modal.confirm('是否确认删除设备报警明细编号为"' + _ids + '"的数据项?').finally(() => loading.value = false); + await proxy?.$modal.confirm('是否确认删除选中的数据项?').finally(() => loading.value = false); await delDeviceWarnOne(_ids); proxy?.$modal.msgSuccess("删除成功"); await getList(); diff --git a/src/views/fishery/fish/index.vue b/src/views/fishery/fish/index.vue index 527b1bd..69040a1 100644 --- a/src/views/fishery/fish/index.vue +++ b/src/views/fishery/fish/index.vue @@ -215,7 +215,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: FishVO) => { const _ids = row?.id || ids.value; - await proxy?.$modal.confirm('是否确认删除鱼类编号为"' + _ids + '"的数据项?').finally(() => (loading.value = false)); + await proxy?.$modal.confirm('是否确认删除选中的数据项?').finally(() => (loading.value = false)); await delFish(_ids); proxy?.$modal.msgSuccess('删除成功'); await getList(); diff --git a/src/views/fishery/linkedCtrl/index.vue b/src/views/fishery/linkedCtrl/index.vue index 3ec297e..a161c64 100644 --- a/src/views/fishery/linkedCtrl/index.vue +++ b/src/views/fishery/linkedCtrl/index.vue @@ -456,7 +456,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: LinkedCtrlVO) => { const _ids = row?.id || ids.value; - await proxy?.$modal.confirm('是否确认删除溶解氧联动控制编号为"' + _ids + '"的数据项?').finally(() => loading.value = false); + await proxy?.$modal.confirm('是否确认删除选中的数据项?').finally(() => loading.value = false); await delLinkedCtrl(_ids); proxy?.$modal.msgSuccess("删除成功"); await getList(); diff --git a/src/views/fishery/mapMessageWarnCallNotice/index.vue b/src/views/fishery/mapMessageWarnCallNotice/index.vue new file mode 100644 index 0000000..413c6c1 --- /dev/null +++ b/src/views/fishery/mapMessageWarnCallNotice/index.vue @@ -0,0 +1,231 @@ + + + diff --git a/src/views/fishery/messageOpRecord/index.vue b/src/views/fishery/messageOpRecord/index.vue index 4f19048..5f087a0 100644 --- a/src/views/fishery/messageOpRecord/index.vue +++ b/src/views/fishery/messageOpRecord/index.vue @@ -255,7 +255,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: MessageOpRecordVO) => { const _ids = row?.id || ids.value; - await proxy?.$modal.confirm('是否确认删除用户操作记录编号为"' + _ids + '"的数据项?').finally(() => loading.value = false); + await proxy?.$modal.confirm('是否确认删除选中的数据项?').finally(() => loading.value = false); await delMessageOpRecord(_ids); proxy?.$modal.msgSuccess("删除成功"); await getList(); diff --git a/src/views/fishery/messageWarn/index.vue b/src/views/fishery/messageWarn/index.vue new file mode 100644 index 0000000..9d326a2 --- /dev/null +++ b/src/views/fishery/messageWarn/index.vue @@ -0,0 +1,405 @@ + + + diff --git a/src/views/fishery/payDevice/index.vue b/src/views/fishery/payDevice/index.vue index 6e52bac..909bf79 100644 --- a/src/views/fishery/payDevice/index.vue +++ b/src/views/fishery/payDevice/index.vue @@ -652,7 +652,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: PayDeviceVO) => { const _ids = row?.id || ids.value; - await proxy?.$modal.confirm('是否确认删除设备充值记录编号为"' + _ids + '"的数据项?').finally(() => loading.value = false); + await proxy?.$modal.confirm('是否确认删除选中的数据项?').finally(() => loading.value = false); await delPayDevice(_ids); proxy?.$modal.msgSuccess("删除成功"); await getList(); diff --git a/src/views/fishery/pond/index.vue b/src/views/fishery/pond/index.vue index 31d9ce0..6495f1b 100644 --- a/src/views/fishery/pond/index.vue +++ b/src/views/fishery/pond/index.vue @@ -852,7 +852,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: PondVO) => { const _ids = row?.id || ids.value; - await proxy?.$modal.confirm('是否确认删除塘口编号为"' + _ids + '"的数据项?').finally(() => (loading.value = false)); + await proxy?.$modal.confirm('是否确认删除选中的数据项?').finally(() => (loading.value = false)); await delPond(_ids); proxy?.$modal.msgSuccess('删除成功'); await getList(); diff --git a/src/views/fishery/tecentUserCache/index.vue b/src/views/fishery/tecentUserCache/index.vue index fc187d8..eff3ed2 100644 --- a/src/views/fishery/tecentUserCache/index.vue +++ b/src/views/fishery/tecentUserCache/index.vue @@ -205,7 +205,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: TecentUserCacheVO) => { const _ids = row?.id || ids.value; - await proxy?.$modal.confirm('是否确认删除公众号用户缓存编号为"' + _ids + '"的数据项?').finally(() => loading.value = false); + await proxy?.$modal.confirm('是否确认删除选中的数据项?').finally(() => loading.value = false); await delTecentUserCache(_ids); proxy?.$modal.msgSuccess("删除成功"); await getList(); diff --git a/src/views/fishery/timingCtrl/index.vue b/src/views/fishery/timingCtrl/index.vue index 1626fd6..52a4c76 100644 --- a/src/views/fishery/timingCtrl/index.vue +++ b/src/views/fishery/timingCtrl/index.vue @@ -445,7 +445,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: TimingCtrlVO) => { const _ids = row?.id || ids.value; - await proxy?.$modal.confirm('是否确认删除开关定时控制编号为"' + _ids + '"的数据项?').finally(() => loading.value = false); + await proxy?.$modal.confirm('是否确认删除选中的数据项?').finally(() => loading.value = false); await delTimingCtrl(_ids); proxy?.$modal.msgSuccess("删除成功"); await getList(); diff --git a/src/views/fishery/userRelation/index.vue b/src/views/fishery/userRelation/index.vue index 8fc03d5..8e9d346 100644 --- a/src/views/fishery/userRelation/index.vue +++ b/src/views/fishery/userRelation/index.vue @@ -212,7 +212,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: UserRelationVO) => { const _ids = row?.id || ids.value; - await proxy?.$modal.confirm('是否确认删除养殖用户子账号编号为"' + _ids + '"的数据项?').finally(() => loading.value = false); + await proxy?.$modal.confirm('是否确认删除选中的数据项?').finally(() => loading.value = false); await delUserRelation(_ids); proxy?.$modal.msgSuccess("删除成功"); await getList(); diff --git a/src/views/system/client/index.vue b/src/views/system/client/index.vue index 0354d0d..0734a6f 100644 --- a/src/views/system/client/index.vue +++ b/src/views/system/client/index.vue @@ -281,7 +281,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: ClientVO) => { const _ids = row?.id || ids.value; - await proxy?.$modal.confirm('是否确认删除客户端管理编号为"' + _ids + '"的数据项?').finally(() => (loading.value = false)); + await proxy?.$modal.confirm('是否确认删除选中的数据项?').finally(() => (loading.value = false)); await delClient(_ids); proxy?.$modal.msgSuccess('删除成功'); await getList(); diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue index 7331950..db26291 100644 --- a/src/views/system/config/index.vue +++ b/src/views/system/config/index.vue @@ -234,7 +234,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: ConfigVO) => { const configIds = row?.configId || ids.value; - await proxy?.$modal.confirm('是否确认删除参数编号为"' + configIds + '"的数据项?'); + await proxy?.$modal.confirm('是否确认删除选中的数据项?'); await delConfig(configIds); await getList(); proxy?.$modal.msgSuccess('删除成功'); diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue index 5e6e540..e02d385 100644 --- a/src/views/system/dict/index.vue +++ b/src/views/system/dict/index.vue @@ -218,7 +218,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: DictTypeVO) => { const dictIds = row?.dictId || ids.value; - await proxy?.$modal.confirm('是否确认删除字典编号为"' + dictIds + '"的数据项?'); + await proxy?.$modal.confirm('是否确认删除选中的数据项?'); await delType(dictIds); getList(); proxy?.$modal.msgSuccess('删除成功'); diff --git a/src/views/system/notice/index.vue b/src/views/system/notice/index.vue index b9a4473..5254901 100644 --- a/src/views/system/notice/index.vue +++ b/src/views/system/notice/index.vue @@ -255,7 +255,7 @@ const submitForm = () => { /** 删除按钮操作 */ const handleDelete = async (row?: NoticeVO) => { const noticeIds = row?.noticeId || ids.value; - await proxy?.$modal.confirm('是否确认删除公告编号为"' + noticeIds + '"的数据项?'); + await proxy?.$modal.confirm('是否确认删除选中的数据项?'); await delNotice(noticeIds); await getList(); proxy?.$modal.msgSuccess('删除成功');