From e0dabde622e384c2dc5849f65acab82d0b8a0adb Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期三, 16 十月 2024 14:43:51 +0800
Subject: [PATCH] 新增堆垛机封装类
---
WIDESEAWCS_Client/src/views/quartzJob/dispatchInfo.vue | 247 +++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 247 insertions(+), 0 deletions(-)
diff --git a/WIDESEAWCS_Client/src/views/quartzJob/dispatchInfo.vue b/WIDESEAWCS_Client/src/views/quartzJob/dispatchInfo.vue
index e69de29..3e88503 100644
--- a/WIDESEAWCS_Client/src/views/quartzJob/dispatchInfo.vue
+++ b/WIDESEAWCS_Client/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