| | |
| | | const editFormFields = ref({ "locationStatus": "" }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { "title": "è´§ä½ç¶æ", "field": "locationStatus", "type": "select", dataKey: "LocationState", data: [] }, |
| | | { "title": "æ¯å¦ç¦ç¨", "field": "enalbeStatus", "type": "select", dataKey: "EnalbeStatus", data: [] }, |
| | | { "title": "è´§ä½ç¶æ", "field": "locationStatus", "type": "select", dataKey: "LocationState", data: [] }, |
| | | { "title": "æ¯å¦ç¦ç¨", "field": "enalbeStatus", "type": "select", dataKey: "EnalbeStatus", data: [] }, |
| | | ] |
| | | ]); |
| | | const searchFormFields = ref({ "LocationID": "",roadWayNO:"","column":"","row":"","layer":"" }); |
| | | const searchFormFields = ref({ |
| | | locationCode:"", |
| | | locationStatus:"", |
| | | roadWayNO:"", |
| | | column:"", |
| | | enalbeStatus:"", |
| | | depth:"", |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { "title": "è´§ä½ç¼å·", "field": "locationCode", type: "text" }, |
| | |
| | | { "title": "å··éç¼å·", "field": "roadWayNO", type: "text" }, |
| | | ], |
| | | [ |
| | | { "title": "è¡", "field": "row", type: "int" }, |
| | | { "title": "å", "field": "column", type: "int" }, |
| | | { "title": "å±", "field": "layer", type: "int" }, |
| | | { "title": "è¡", "field": "row", type: "text" }, |
| | | { "title": "å", "field": "column", type: "text" }, |
| | | { "title": "å±", "field": "layer", type: "text" }, |
| | | ], |
| | | [ |
| | | { "title": "æ¯å¦ç¦ç¨", "field": "enalbeStatus", "type": "select", dataKey: "EnalbeStatus", data: [] }, |
| | |
| | | const columns = ref([{ field: 'id', title: 'è´§ä½ID', type: 'int', width: 110, hidden: true, readonly: true, require: true, align: 'left' }, |
| | | { field: 'locationCode', title: 'è´§ä½ç¼å·', type: 'string', width: 110, require: true, align: 'left' }, |
| | | { field: 'locationName', title: 'è´§ä½åç§°', type: 'string', width: 120, align: 'left' }, |
| | | { field: 'roadwayNo', title: 'å··éå·', type: 'string', width: 110, require: true, align: 'left'}, |
| | | { field: 'roadwayNo', title: 'å··éå·', type: 'string', width: 110, require: true, align: 'left' }, |
| | | { field: 'row', title: 'è¡', type: 'int', width: 70, align: 'left' }, |
| | | { field: 'column', title: 'å', type: 'int', width: 70, align: 'left' }, |
| | | { field: 'layer', title: 'å±', type: 'int', width: 70, align: 'left' }, |
| | | { field: 'depth', title: '深度', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'scNo', title: '对åºå åæºå·', type: 'string', width: 110, align: 'left', hidden: true }, |
| | | { field: 'locationType', title: 'è´§ä½ç±»å', type: 'int', width: 110, align: 'left',bind: { key: "LocationType", data: [] } }, |
| | | { field: 'locationType', title: 'è´§ä½ç±»å', type: 'int', width: 110, align: 'left', bind: { key: "LocationType", data: [] } }, |
| | | { field: 'locationStatus', title: 'è´§ä½ç¶æ', type: 'int', width: 110, align: 'left', bind: { key: "LocationState", data: [] } }, |
| | | { field: 'enalbeStatus', title: 'æ¯å¦ç¦ç¨', type: 'int', width: 75, align: 'left', bind: { key: "EnalbeStatus", data: [] }}, |
| | | { field: 'enalbeStatus', title: 'æ¯å¦ç¦ç¨', type: 'int', width: 75, align: 'left', bind: { key: "EnalbeStatus", data: [] } }, |
| | | // { field: 'isLocked', title: 'æ¯å¦éå®', type: 'bool', width: 110, align: 'left', bind: { key: "IsLocked", data: [] } }, |
| | | { field: 'locationDesc', title: 'è´§ä½æè¿°', type: 'string', width: 110, align: 'left', hidden: true }, |
| | | { field: 'remark', title: '夿³¨', type: 'string', width: 110, align: 'left' ,bind: { key: "AllowStatus", data: [] }}, |
| | | { field: 'remark', title: '夿³¨', type: 'string', width: 110, align: 'left', bind: { key: "AllowStatus", 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' }, |
| | | { field: 'modifyDate', title: 'ä¿®æ¹æ¶é´', type: 'datetime', sort: true, width: 150, align: 'left', sort: true }, |
| | | ]); |
| | | ]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | | table: "#detailTable", |