From 3c75ba788897a524771bfde12feddcc94aaf14c6 Mon Sep 17 00:00:00 2001 From: huanghongfeng <huanghongfeng@hnkhzn.com> Date: 星期二, 22 四月 2025 11:26:02 +0800 Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/MeiXinLaiRui/LunDuiYa --- 项目代码/WMS/WIDESEA_WMSClient/src/views/quartzJob/dispatchInfo.vue | 247 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 247 insertions(+), 0 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/quartzJob/dispatchInfo.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/quartzJob/dispatchInfo.vue" new file mode 100644 index 0000000..3e88503 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/quartzJob/dispatchInfo.vue" @@ -0,0 +1,247 @@ + +<template> + <view-grid + ref="grid" + :columns="columns" + :detail="detail" + :editFormFields="editFormFields" + :editFormOptions="editFormOptions" + :searchFormFields="searchFormFields" + :searchFormOptions="searchFormOptions" + :table="table" + :extend="extend" + > + </view-grid> +</template> + <script> +import extend from "@/extension/quartzJob/dispatchInfo.js"; +import { ref, defineComponent } from "vue"; +export default defineComponent({ + setup() { + const table = ref({ + key: "id", + footer: "Foots", + cnName: "璋冨害鏈嶅姟閰嶇疆淇℃伅", + name: "dispatchInfo", + url: "/DispatchInfo/", + sortName: "createDate", + }); + const editFormFields = ref({ + name: "", + jobGroup: "", + assemblyName: "", + className: "", + intervalSecond: "", + beginTime: "", + endTime: "", + remark: "", + }); + const editFormOptions = ref([ + [ + { + title: "浠诲姟鍚嶇О", + required: true, + field: "name", + type: "string", + }, + { + title: "浠诲姟鍒嗙粍", + required: true, + field: "jobGroup", + type: "select", + dataKey: "deviceType", + data: [], + }, + { + title: "绋嬪簭闆嗗悕绉�", + required: true, + field: "assemblyName", + type: "string", + type: "select", + dataKey: "jobAssembly", + data: [], + }, + { + title: "浠诲姟鎵�鍦ㄧ被", + required: true, + field: "className", + type: "string", + type: "select", + dataKey: "jobClassName", + data: [], + }, + ], + [ + { + title: "闂撮殧鏃堕棿", + required: true, + field: "intervalSecond", + type: "number", + }, + { + title: "寮�濮嬫椂闂�", + field: "beginTime", + type: "datetime", + }, + { + title: "缁撴潫鏃堕棿", + field: "endTime", + type: "datetime", + }, + { + title: "澶囨敞", + field: "remark", + type: "string", + }, + ], + ]); + const searchFormFields = ref({ + name: "", + jobGroup: "", + assemblyName: "", + className: "", + }); + const searchFormOptions = ref([ + [ + { + title: "浠诲姟鍚嶇О", + field: "name", + type: "like", + }, + { + title: "浠诲姟鍒嗙粍", + field: "jobGroup", + type: "select", + dataKey: "deviceType", + data: [], + }, + { + title: "绋嬪簭闆嗗悕绉�", + field: "assemblyName", + type: "like", + }, + { + title: "浠诲姟鎵�鍦ㄧ被", + field: "className", + type: "like", + }, + ], + ]); + const columns = ref([ + { + field: "id", + title: "Id", + type: "int", + width: 90, + hidden: true, + readonly: true, + require: true, + align: "left", + }, + { + field: "name", + title: "浠诲姟鍚嶇О", + type: "string", + width: 90, + align: "left", + }, + { + field: "jobGroup", + title: "浠诲姟鍒嗙粍", + type: "string", + width: 180, + align: "left", + bind: { key: "deviceType", data: [] }, + }, + { + field: "assemblyName", + title: "绋嬪簭闆嗗悕绉�", + type: "string", + width: 180, + align: "left", + }, + { + field: "className", + title: "浠诲姟鎵�鍦ㄧ被", + type: "int", + width: 200, + align: "left", + }, + { + field: "intervalSecond", + title: "鎵ц闂撮殧鏃堕棿", + type: "int", + width: 120, + align: "left", + }, + { + field: "beginTime", + title: "寮�濮嬫椂闂�", + type: "datetime", + width: 150, + align: "left", + }, + { + field: "endTime", + title: "缁撴潫鏃堕棿", + type: "int", + width: 150, + align: "left", + }, + { + field: "creater", + title: "鍒涘缓浜�", + type: "string", + width: 90, + align: "left", + }, + { + field: "createDate", + title: "鍒涘缓鏃堕棿", + type: "datetime", + width: 160, + align: "left", + }, + { + field: "modifier", + title: "淇敼浜�", + type: "string", + width: 100, + align: "left", + }, + { + field: "modifyDate", + title: "淇敼鏃堕棿", + type: "datetime", + width: 160, + align: "left", + }, + { + field: "remark", + title: "澶囨敞", + type: "string", + width: 100, + align: "left", + }, + ]); + const detail = ref({ + cnName: "", + table: "", + columns: [], + sortName: "", + key: "", + }); + return { + table, + extend, + editFormFields, + editFormOptions, + searchFormFields, + searchFormOptions, + columns, + detail, + }; + }, +}); +</script> + \ No newline at end of file -- Gitblit v1.9.3