| | |
| | | sortName: "id", |
| | | }); |
| | | const editFormFields = ref({ |
| | | row: "", |
| | | column: "", |
| | | layer: "", |
| | | depth: "", |
| | | locationType: "", |
| | | locationStatus: "", |
| | | enalbeStatus: "", |
| | | remark: "", |
| | | }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { |
| | | title: "è´§ä½è¡", |
| | | required: true, |
| | | field: "row", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "è´§ä½å", |
| | | required: true, |
| | | field: "column", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "è´§ä½å±", |
| | | required: true, |
| | | field: "layer", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "è´§ä½æ·±åº¦", |
| | | required: true, |
| | | field: "depth", |
| | | type: "string", |
| | | }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "è´§ä½ç±»å", |
| | | required: true, |
| | | field: "locationType", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "è´§ä½ç¶æ", |
| | | required: true, |
| | | field: "locationStatus", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "ç¦ç¨ç¶æ", |
| | | required: true, |
| | | field: "enalbeStatus", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "åºå主é®", |
| | | required: true, |
| | | field: "areaId", |
| | | type: "string", |
| | | }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "å··éç¼å·", |
| | | required: true, |
| | | field: "roadwayNo", |
| | | type: "string", |
| | | type: "select", |
| | | dataKey: "locationStatusEnum", |
| | | data: [], |
| | | }, |
| | | ], |
| | | ]); |
| | |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { title: "è´§ä½ç¼å·", field: "locationCode" }, |
| | | { title: "å··éç¼å·", field: "roadwayNo" }, |
| | | { title: "è´§ä½ç¼å·", field: "locationCode", type: "like" }, |
| | | { title: "å··éç¼å·", field: "roadwayNo", type: "like" }, |
| | | { |
| | | title: "è´§ä½ç±»å", |
| | | field: "locationType", |
| | | type: "select", |
| | | dataKey: "locationTypeEnum", |
| | | data: [], |
| | | }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "åºå", |
| | | field: "areaId", |
| | | type: "select", |
| | | dataKey: "locationareainfo", |
| | | data: [], |
| | | }, |
| | | { |
| | | title: "è´§ä½ç¶æ", |
| | | field: "locationStatus", |
| | | type: "selectList", |
| | | dataKey: "locationStatusEnum", |
| | | data: [], |
| | | }, |
| | | { |
| | | title: "ç¦ç¨ç¶æ", |
| | | field: "enableStatus", |
| | | type: "select", |
| | | dataKey: "enableStatusEnum", |
| | | data: [], |
| | | }, |
| | | ], |
| | | [ |
| | | { title: "æ/è¡", field: "row" }, |
| | | { title: "å", field: "column"}, |
| | | { title: "å±", field: "layer" }, |
| | | ], |
| | | ]); |
| | | const columns = ref([ |
| | |
| | | }, |
| | | { |
| | | field: "areaId", |
| | | title: "åºå主é®", |
| | | title: "åºå", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | bind: { key: "locationareainfo", data: [] }, |
| | | }, |
| | | { |
| | | field: "locationCode", |
| | |
| | | }, |
| | | { |
| | | field: "row", |
| | | title: "è´§ä½è¡", |
| | | title: "æ", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | |
| | | }, |
| | | { |
| | | field: "column", |
| | | title: "è´§ä½å", |
| | | title: "å", |
| | | type: "int", |
| | | width: 120, |
| | | align: "left", |
| | |
| | | }, |
| | | { |
| | | field: "layer", |
| | | title: "è´§ä½å±", |
| | | title: "å±", |
| | | type: "string", |
| | | width: 200, |
| | | align: "left", |
| | |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | bind: { key: "locationTypeEnum", data: [] }, |
| | | }, |
| | | { |
| | | field: "locationStatus", |
| | |
| | | type: "string", |
| | | width: 200, |
| | | align: "left", |
| | | bind: { key: "locationStatusEnum", data: [] }, |
| | | }, |
| | | { |
| | | field: "enalbeStatus", |
| | | field: "enableStatus", |
| | | title: "ç¦ç¨ç¶æ", |
| | | type: "string", |
| | | width: 180, |
| | | align: "left", |
| | | bind: { key: "enableStatusEnum", data: [] }, |
| | | }, |
| | | { |
| | | field: "creater", |
| | |
| | | type: "datetime", |
| | | width: 160, |
| | | align: "left", |
| | | sort: true, |
| | | }, |
| | | { |
| | | field: "modifier", |
| | |
| | | type: "datetime", |
| | | width: 160, |
| | | align: "left", |
| | | sort: true, |
| | | }, |
| | | { |
| | | field: "remark", |