| | |
| | | :searchFormFields="searchFormFields" |
| | | :searchFormOptions="searchFormOptions" |
| | | :table="table" |
| | | :extend="extend" |
| | | ></view-grid> |
| | | </template> |
| | | <script> |
| | |
| | | |
| | | const editFormFields = ref({}); |
| | | const editFormOptions = ref([]); |
| | | const searchFormFields = ref({}); |
| | | const searchFormOptions = ref([]); |
| | | const searchFormFields = ref({ |
| | | qualified:"", |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { |
| | | title: "æ¯å¦åæ ¼", |
| | | field: "qualified", |
| | | type: "select", |
| | | dataKey: "WeightThicknessEnum", |
| | | data: [ |
| | | { key: "0", value: "ä¸åæ ¼" }, |
| | | { key: "1", value: "åæ ¼" } |
| | | ] |
| | | } |
| | | ], |
| | | ]); |
| | | const columns = ref([ |
| | | { |
| | | field: "id", |
| | |
| | | type: "datetime", |
| | | width: 150, |
| | | align: "left" |
| | | }, |
| | | } |
| | | ]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | |
| | | columns: [], |
| | | sortName: "" |
| | | }); |
| | | |
| | | |
| | | |
| | | return { |
| | | table, |
| | | extend, |
| | |
| | | }); |
| | | </script> |
| | | <style scoped> |
| | | .cell el-tooltip{ |
| | | background: red; |
| | | } |
| | | .cell el-tooltip { |
| | | background: red; |
| | | } |
| | | </style> |