| | |
| | | footer: "Foots", |
| | | cnName: "é
æ¹ä¿¡æ¯è¯¦æ
", |
| | | name: "formulaDetail", |
| | | url: "/formulaDetail/", |
| | | sortName: "createDate", |
| | | url: "/formulaDetail/", |
| | | sortName: "createDate", |
| | | }); |
| | | |
| | | const editFormFields = ref({ |
| | | id: "", |
| | | formulaId: "", |
| | | formulaId: "", |
| | | componentCode: "", |
| | | componentName: "", |
| | | }); |
| | | |
| | | |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { |
| | |
| | | field: "formulaId", |
| | | type: "input", |
| | | width: 200, |
| | | require: true |
| | | require: true, |
| | | }, |
| | | { |
| | | title: "é¶ä»¶ç¼å·", |
| | | field: "componentCode", |
| | | type: "input", |
| | | width: 200, |
| | | require: true |
| | | require: true, |
| | | }, |
| | | { |
| | | title: "é¶ä»¶åç§°", |
| | | field: "componentName", |
| | | type: "input", |
| | | width: 200, |
| | | require: true |
| | | } |
| | | require: true, |
| | | }, |
| | | { |
| | | title: "æ¯å¦æ«ç ", |
| | | field: "isScanned", |
| | | type: "select", |
| | | data: [ |
| | | { key: "0", value: "å¦" }, |
| | | { key: "1", value: "æ¯" }, |
| | | ], |
| | | }, |
| | | ], |
| | | [ |
| | | { |
| | |
| | | type: "input", |
| | | width: 100, |
| | | hidden: true, |
| | | readonly: true |
| | | } |
| | | ] |
| | | readonly: true, |
| | | }, |
| | | ], |
| | | ]); |
| | | |
| | | const searchFormFields = ref({ |
| | |
| | | { title: "é
æ¹ä¿¡æ¯ä¸»é®", field: "formulaId", type: "int" }, |
| | | { title: "é¶ä»¶ç¼å·", field: "componentCode", type: "like" }, |
| | | { title: "é¶ä»¶åç§°", field: "componentName", type: "like" }, |
| | | { |
| | | title: "æ¯å¦æ«ç ", |
| | | field: "isScanned", |
| | | type: "select", |
| | | data: [ |
| | | { key: "0", value: "å¦" }, |
| | | { key: "1", value: "æ¯" }, |
| | | ], |
| | | }, |
| | | ], |
| | | [ |
| | | { title: "å建人", field: "creater", type: "like" }, |
| | |
| | | type: "string", |
| | | width: 200, |
| | | align: "left", |
| | | }, |
| | | { |
| | | title: "æ¯å¦æ«ç ", |
| | | field: "isScanned", |
| | | type: "select", |
| | | bind: { |
| | | key: "value", |
| | | data: [ |
| | | { key: "0", value: "å¦" }, |
| | | { key: "1", value: "æ¯" }, |
| | | ], |
| | | }, |
| | | }, |
| | | { |
| | | field: "creater", |
| | |
| | | }; |
| | | }, |
| | | }); |
| | | </script> |
| | | </script> |