| | |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'historyId', |
| | | key: 'id', |
| | | footer: "Foots", |
| | | cnName: 'åå²å
¥åºå', |
| | | name: 'CabinOrderHty', |
| | | url: "/CabinOrderHty/", |
| | | sortName: "historyId" |
| | | sortName: "id" |
| | | }); |
| | | const editFormFields = ref({}); |
| | | const editFormOptions = ref([]); |
| | |
| | | ]); |
| | | const columns = ref([ |
| | | { |
| | | field: 'historyId', |
| | | field: 'id', |
| | | title: 'åå²è®°å½ä¸»é®', |
| | | type: 'int', |
| | | width: 120, |
| | |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'id', |
| | | field: 'sourceId', |
| | | title: 'å主é®', |
| | | type: 'int', |
| | | width: 100, |
| | |
| | | url: "/CabinOrderDetailHty/", |
| | | columns: [ |
| | | { |
| | | field: 'historyId', |
| | | field: 'id', |
| | | title: 'åå²è®°å½ä¸»é®', |
| | | type: 'int', |
| | | width: 120, |
| | |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'id', |
| | | field: 'sourceId', |
| | | title: 'å主é®', |
| | | type: 'int', |
| | | width: 100, |
| | |
| | | sort: true |
| | | } |
| | | ], |
| | | sortName: "historyId", |
| | | key: "historyId" |
| | | sortName: "id", |
| | | key: "id" |
| | | }); |
| | | return { |
| | | table, |