From 05d45bd440ffc92e14e6c8728ac8956a0488c0ab Mon Sep 17 00:00:00 2001 From: xiejun <xj@2023> Date: 星期四, 07 十二月 2023 17:20:26 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/UBCS-WEB/src/const/code/codebasic.js | 153 +++++++------------------------------------------- 1 files changed, 22 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..511f52b 100644 --- a/Source/UBCS-WEB/src/const/code/codebasic.js +++ b/Source/UBCS-WEB/src/const/code/codebasic.js @@ -1,165 +1,56 @@ export default { - height:'200', - with: '60%', - calcHeight: 30, + tip: false, editBtn: false, addBtn: false, - searchShow: true, + searchShow: false, 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