| | |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'areaID', |
| | | key: 'stationID', |
| | | footer: "Foots", |
| | | cnName: 'ç«å°ä¿¡æ¯', |
| | | name: 'basicinfo/Dt_StationManager', |
| | |
| | | sortName: "AreaCode" |
| | | }); |
| | | const editFormFields = ref({ |
| | | |
| | | stationStatus:"", |
| | | stationType:"", |
| | | stationPLC:"", |
| | | roadway:"", |
| | | stationChildCode:"", |
| | | stationArea:"", |
| | | remark:"", |
| | | stationRemark:"", |
| | | stationNextChildCode:"", |
| | | stationLocation:"", |
| | | stationFloor:"", |
| | | rGVName:"", |
| | | levelPointFist:"", |
| | | levelPointSecond:"" |
| | | }); |
| | | const editFormOptions = ref([ |
| | | |
| | | [ |
| | | { "title": "ç¶æ", "field": "stationStatus",type: "select",dataKey: "deviceStatus",data: [],}, |
| | | |
| | | |
| | | ], |
| | | ]); |
| | | const searchFormFields = ref({}); |
| | | const searchFormOptions = ref([ |
| | |
| | | { "title": "æå±PLC", "field": "stationPLC", type: "text" }, |
| | | { "title": "å··éå·", "field": "roadway", type: "text" }, |
| | | |
| | | ], |
| | | [ |
| | | { "title": "设å¤åºå", "field": "stationArea", type: "text" }, |
| | | { "title": "MOM设å¤ç¼å·", "field": "stationEquipMOM", type: "text" }, |
| | | { "title": "NGå设å¤ç¼å·", "field": "stationNGChildCode", type: "text" }, |
| | | |
| | | ], |
| | | [ |
| | | { "title": "NGå设å¤åæ ", "field": "remark", type: "text" }, |
| | | { "title": "线ä½ç¼å·", "field": "stationChildCode", type: "text" }, |
| | | { "title": "产线", "field": "productLine", type: "text" }, |
| | | |
| | | ] |
| | | ]); |
| | | const columns = ref([{ field: 'stationID', title: '主é®', type: 'int', sort: true, hidden: true, width: 110, readonly: true, require: true, align: 'left' }, |
| | | { field: 'stationType', title: 'ç«å°ç±»å', type: 'int', sort: true, width: 110, require: true, align: 'left', sort: true }, |
| | | { field: 'stationPLC', title: 'æå±PLC', type: 'string', sort: true, width: 110, align: 'left' }, |
| | | { field: 'roadway', title: 'å··éå·', type: 'string', sort: true, width: 110, align: 'left' }, |
| | | { field: 'roadway', title: 'å··éå·', type: 'string', sort: true, width: 110, align: 'left' }, |
| | | { field: 'stationLocation', title: 'å åæºåºå
¥åºåæ ', type: 'string', sort: true, width: 110, align: 'left' }, |
| | | { field: 'stationChildCode', title: '线ä½ç¼å·', type: 'string', sort: true, width: 110, align: 'left' }, |
| | | { field: 'stationArea', title: '设å¤åºå', type: 'int', sort: true, width: 100, align: 'left' }, |
| | | { field: 'remark', title: '夿³¨', type: 'string', sort: true, width: 110, align: 'left' }, |
| | | { field: 'stationRemark', title: '夿³¨', type: 'int', sort: true, width: 110, align: 'left', }, |
| | | { field: 'stationStatus', title: 'ç¶æ', type: 'int', sort: true, width: 110, align: 'left', }, |
| | | { field: 'stationNextChildCode', title: 'ä¸ä¸ç«å°', type: 'string', sort: true, width: 110, align: 'left' }, |
| | | { field: 'stationRemark', title: 'å·¥ä½', type: 'int', sort: true, width: 110, align: 'left', }, |
| | | { field: 'stationStatus', title: 'ç¶æ', type: 'int', sort: true, width: 110, align: 'left', bind: { key: "deviceStatus", data: [] }, }, |
| | | { field: 'creater', title: 'å建人', type: 'string', sort: true, width: 110, align: 'left' }, |
| | | { field: 'createDate', title: 'å建æ¶é´', type: 'datetime', sort: true, width: 150, align: 'left', sort: true }, |
| | | { field: 'modifier', title: 'ä¿®æ¹äºº', type: 'string', sort: true, width: 100, align: 'left' }, |