From 1536703a1961567f9e32446467c09afa4e48559b Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 29 二月 2024 23:05:02 +0800
Subject: [PATCH] 编码规则,流水算法修改

---
 Source/UBCS-WEB/src/const/code/codebasic.js |  154 +++++++-------------------------------------------
 1 files changed, 23 insertions(+), 131 deletions(-)

diff --git a/Source/UBCS-WEB/src/const/code/codebasic.js b/Source/UBCS-WEB/src/const/code/codebasic.js
index af80706..120556d 100644
--- a/Source/UBCS-WEB/src/const/code/codebasic.js
+++ b/Source/UBCS-WEB/src/const/code/codebasic.js
@@ -1,165 +1,57 @@
 export default {
-    height:'200',
-    with: '60%',
-    calcHeight: 30,
+
     tip: false,
     editBtn: false,
     addBtn: false,
-    searchShow: true,
+    searchShow: false,
+    height:218,
     searchMenuSpan: 5,
     disablePage: false,
     border: true,
     index: true,
     viewBtn: false,
+    delBtn: false,
     selection: true,
+    menuWidth:260,
     dialogClickModal: false,
+    refreshBtn: true,
+    columnBtn: false,
+    highlightCurrentRow: true, //琛岄�変腑鏃堕珮浜�
+    rowKey: "oid", //琛屾暟鎹殑 Key锛岀敤鏉ヤ紭鍖� Table 鐨勬覆鏌�
     column: [
       {
         label: "鐮佹缂栧彿",
         prop: "id",
         search: true,
         searchLabelWidth: 80,
-        searchSpan: 5,
-        rules: [{
-          required: true,
-          message: "璇疯緭鍏ョ爜娈电紪鐮�",
-          trigger: "blur",
-        }]
+        searchSpan: 6,
+        sortable: true,
       },
       {
         label: "鐮佹鍚嶇О",
         prop: "name",
         search: true,
         searchLabelWidth: 80,
-        searchSpan: 5,
-        rules: [{
-          required: true,
-          message: "璇疯緭鍏ョ爜娈靛悕绉�",
-          trigger: "blur"
-        }]
+        searchSpan: 6,
+        sortable: true,
       },
       {
         label: "鐮佹鎻忚堪",
         prop: "description",
         search: false,
-        type: "textarea",
         span: 24,
-        rules: [{
-            required: false,
-            message: "璇疯緭鍏ョ爜娈靛悕绉�",
-            trigger: "blur"
-        }]
       },
       {
         label: "鐮佹绫诲瀷",
         prop: "secTypeText",
-        search: false,
-        type: "select",
-        rules: [{
-          required: true,
-          message: "璇烽�夋嫨鐮佹绫诲瀷",
-          trigger: "blur"
-        }],
-      }
-      //   dicData: [
-      //     {
-      //       label: "灞炴�х爜娈�",
-      //       value: 'codeattrsec'
-      //     },
-      //     {
-      //       label: "娴佹按鐮佹",
-      //       value: 'codeserialsec'
-      //     },
-      //     {
-      //       label: "灞傜骇鐮佹",
-      //       value: 'codelevelsec'
-      //     },
-      //     {
-      //       label: "寮曠敤鐮佹",
-      //       value: 'coderefersec'
-      //     },
-      //     {
-      //       label: "鏃ユ湡鐮佹",
-      //       value: 'codedatasec'
-      //     },
-      //     {
-      //       label: "鍒嗙被鐮佹",
-      //       value: 'codeclassifysec'
-      //     },
-      //     {
-      //       label: "鍥哄畾鐮佹",
-      //       value: 'codefixed'
-      //     },
-      //     {
-      //       label: "鍙彉鐮佹",
-      //       value: 'codevariablesec'
-      //     },
-      //   ]
-      // },
-      // {
-      //   label: "鐮佹闀垮害绫诲瀷",
-      //   prop: "secTypeText",
-      //   search: false,
-      //   type: "select",
-      //   hide:true,
-      //   labelWidth: 110,
-      //   rules: [{
-      //     required: true,
-      //     message: "璇烽�夋嫨鐮佹闀垮害绫诲瀷",
-      //     trigger: "blur"
-      //   }],
-      //   dicData: [
-      //     {
-      //       label: "鍙彉闀垮害",
-      //       value: 'variableLen'
-      //     },
-      //     {
-      //       label: "鍥哄畾闀垮害",
-      //       value: 'fixedLen'
-      //     },
-      //   ]
-      // },
-      // {
-      //   label: "鐮佹鐨勯暱搴�",
-      //   prop: "secTypeText",
-      //   search: false,
-      //   labelWidth: 100,
-      //   hide:true,
-      //   rules: [{
-      //     required: true,
-      //     message: "璇疯緭鍏ョ爜娈电殑闀垮害",
-      //     trigger: "blur"
-      //   }]
-      // },
-      // {
-      //   label: "鏄惁娴佹按渚濊禆",
-      //   prop: "is",
-      //   search: false,
-      //   hide:true,
-      //   type: "switch",
-      //   labelWidth: 100,
-      //   dicData:[{
-      //     label:'鏄�',
-      //     value:0
-      //   },{
-      //     label:'鍚�',
-      //     value:1
-      //   }]
-      // },
-      // {
-      //   label: "鏄惁涓虹┖",
-      //   prop: "isNull",
-      //   search: false,
-      //   hide:true,
-      //   type: "switch",
-      //   labelWidth: 100,
-      //   dicData:[{
-      //     label:'鏄�',
-      //     value:0
-      //   },{
-      //     label:'鍚�',
-      //     value:1
-      //   }]
-      // },
+      },
+      {
+        label: "鍓嶇紑",
+        prop: "prefixCode",
+      },
+      {
+        label: "鍚庣紑",
+        prop: "suffixCode",
+      },
     ]
-}
\ No newline at end of file
+}

--
Gitblit v1.9.3