| | |
| | | sortName: "id", |
| | | }); |
| | | const editFormFields = ref({ |
| | | locationCode:"", |
| | | locationName:"", |
| | | row: "", |
| | | column: "", |
| | | layer: "", |
| | | roadwayNo:"", |
| | | depth: "", |
| | | locationType: "", |
| | | locationStatus: "", |
| | |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { |
| | | title: "è´§ä½ç¼å·", |
| | | required: true, |
| | | field: "locationCode", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "è´§ä½åç§°", |
| | | required: true, |
| | | field: "locationName", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "å··éç¼å·", |
| | | required: true, |
| | | field: "roadwayNo", |
| | | type: "string", |
| | | }, |
| | | |
| | | { |
| | | title: "è´§ä½æ·±åº¦", |
| | | field: "depth", |
| | | type: "string", |
| | | hidden: true, |
| | | }, |
| | | |
| | | { |
| | | title: "夿³¨", |
| | | field: "remark", |
| | | type: "string", |
| | | hidden: true, |
| | | }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "è´§ä½è¡", |
| | | required: true, |
| | | field: "row", |
| | |
| | | field: "layer", |
| | | type: "string", |
| | | }, |
| | | // { |
| | | // title: "è´§ä½æ·±åº¦", |
| | | // required: true, |
| | | // field: "depth", |
| | | // type: "string", |
| | | // }, |
| | | ], |
| | | [ |
| | | { |
| | |
| | | required: true, |
| | | field: "locationType", |
| | | type: "select", |
| | | dataKey:"", |
| | | data:[ |
| | | {key:1,value:'æ£å¸¸è´§ä½'}, |
| | | {key:2,value:'æåä½'}, |
| | | {key:3,value:'æåæº'}, |
| | | {key:4,value:'è¾é线'}, |
| | | {key:5,value:'ç»ç«æº'}, |
| | | ] |
| | | dataKey: "locationTypeEnum", |
| | | data: [], |
| | | }, |
| | | { |
| | | { |
| | | title: "ç¦ç¨ç¶æ", |
| | | required: true, |
| | | field: "enableStatus", |
| | | type: "select", |
| | | dataKey:"", |
| | | data:[ |
| | | {key:0,value:'æ£å¸¸'}, |
| | | {key:1,value:'ç¦ç¨'}, |
| | | ] |
| | | dataKey: "enableStatusEnum", |
| | | data: [], |
| | | }, |
| | | { |
| | | title: "åºå主é®", |
| | | required: true, |
| | | //required: true, |
| | | field: "areaId", |
| | | type: "string", |
| | | hidden:true, |
| | | hidden: true, |
| | | }, |
| | | // { |
| | | // title: "å··éç¼å·", |
| | | // required: true, |
| | | // field: "roadwayNo", |
| | | // type: "string", |
| | | // }, |
| | | |
| | | ], |
| | | ]); |
| | | const searchFormFields = ref({ |
| | |
| | | dataKey: "locationTypeEnum", |
| | | data: [], |
| | | }, |
| | | { |
| | | { |
| | | title: "è´§ä½ç¶æ", |
| | | field: "locationStatus", |
| | | type: "selectList", |
| | |
| | | title: "åºå主é®", |
| | | type: "string", |
| | | width: 90, |
| | | hidden:true, |
| | | hidden: true, |
| | | align: "left", |
| | | bind: { |
| | | key: "areainfo", |
| | | data: [] |
| | | } |
| | | data: [], |
| | | }, |
| | | }, |
| | | { |
| | | field: "locationCode", |
| | |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | bind:{key: "locationTypeEnum", data: []} |
| | | bind: { key: "locationTypeEnum", data: [] }, |
| | | }, |
| | | { |
| | | field: "locationStatus", |