| | |
| | | |
| | | <template> |
| | | <!--å ä¸ :extend="extend" å¯ä»¥åºç°æ¥çæç»é项--> |
| | | <view-grid |
| | | ref="grid" |
| | | :columns="columns" |
| | |
| | | :searchFormFields="searchFormFields" |
| | | :searchFormOptions="searchFormOptions" |
| | | :table="table" |
| | | :extend="extend" |
| | | ></view-grid> |
| | | </template> |
| | | <script> |
| | |
| | | cnName: "è´§ä½ä¿¡æ¯", |
| | | name: "locationInfo", |
| | | url: "/LocationInfo/", |
| | | sortName: "id" |
| | | sortName: "createDate" |
| | | }); |
| | | const editFormFields = ref({ |
| | | locationStatus: "" |
| | | }); |
| | | const editFormFields = ref({}); |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { |
| | |
| | | field: "locationStatus", |
| | | type: "select", |
| | | dataKey: "locationStatusEnum", |
| | | data: [] |
| | | }, |
| | | { |
| | | title: "ç¦ç¨ç¶æ", |
| | | field: "enableStatus", |
| | | type: "select", |
| | | dataKey: "enableStatusEnum", |
| | | } |
| | | ] |
| | | ]); |
| | |
| | | require: true, |
| | | align: "left" |
| | | }, |
| | | // { |
| | | // field: "areaId", |
| | | // title: "åºå主é®", |
| | | // type: "string", |
| | | // width: 90, |
| | | // align: "left", |
| | | // bind: {key: "areainfo",data: []} |
| | | // }, |
| | | { |
| | | field: "locationCode", |
| | | title: "è´§ä½ç¼å·", |
| | |
| | | align: "left" |
| | | }, |
| | | { |
| | | field: "roadwayNo", |
| | | title: "å··éç¼å·", |
| | | type: "decimal", |
| | | width: 100, |
| | | align: "left" |
| | | }, |
| | | { |
| | | field: "row", |
| | | title: "è´§ä½è¡", |
| | | type: "string", |
| | | type: "int", |
| | | width: 90, |
| | | align: "left", |
| | | hidden: true |
| | | align: "left" |
| | | }, |
| | | { |
| | | field: "column", |
| | | title: "è´§ä½å", |
| | | type: "int", |
| | | width: 120, |
| | | align: "left", |
| | | hidden: true |
| | | align: "left" |
| | | }, |
| | | { |
| | | field: "depth", |
| | | title: "å·¥ä½", |
| | | type: "int", |
| | | width: 120, |
| | | align: "left" |
| | | }, |
| | | { |
| | | field: "roadwayNo", |
| | | title: "å··éç¼å·", |
| | | type: "decimal", |
| | | width: 100, |
| | | align: "left" |
| | | }, |
| | | { |
| | | field: "layer", |
| | |
| | | width: 160, |
| | | align: "left", |
| | | sort: true |
| | | }, |
| | | { |
| | | field: "remark", |
| | | title: "夿³¨", |
| | | type: "string", |
| | | width: 100, |
| | | align: "left", |
| | | hidden: true |
| | | } |
| | | ]); |
| | | const detail = ref({ |