lcw
This commit is contained in:
@ -9,15 +9,7 @@
|
||||
:searchArr="searchConfiger"
|
||||
@submit="onSearch"
|
||||
:key="pageData.keyCount"
|
||||
>
|
||||
<!-- <template #defaultSlot>
|
||||
<div>
|
||||
<el-input-number v-model="queryFrom.xqy"></el-input-number>
|
||||
<span class="ml10 mr10" style="color: #000">至</span>
|
||||
<el-input-number v-model="queryFrom.dqy"></el-input-number>
|
||||
</div>
|
||||
</template> -->
|
||||
</Search>
|
||||
/>
|
||||
</div>
|
||||
<!-- 表格 -->
|
||||
<div class="tabBox">
|
||||
@ -30,6 +22,13 @@
|
||||
:controlsWidth="pageData.controlsWidth"
|
||||
@chooseData="chooseData"
|
||||
>
|
||||
<template #xzqy="{ row }">
|
||||
<dict-tag
|
||||
:options="D_BZ_XZQHDM"
|
||||
:value="row.xzqy"
|
||||
:tag="false"
|
||||
/>
|
||||
</template>
|
||||
<!-- 操作 -->
|
||||
<template #controls="{ row }">
|
||||
<el-link type="primary" @click="addEdit('detail', row)">详情</el-link>
|
||||
@ -46,7 +45,7 @@
|
||||
></Pages>
|
||||
</div>
|
||||
<!-- 详情 -->
|
||||
<DetailForm ref="detailDiloag" title="公交线路详情" />
|
||||
<DetailForm ref="detailDiloag" title="公交线路详情" :dict="{D_BZ_XZQHDM}"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -59,7 +58,7 @@ import DetailForm from "./components/detailForm.vue";
|
||||
import { tbGjclXlxxselectPage } from "@/api/mosty-zhgj.js";
|
||||
import { reactive, ref, onMounted, getCurrentInstance } from "vue";
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
const {D_BZ_XZQHDM}=proxy.$dict('D_BZ_XZQHDM')
|
||||
const detailDiloag = ref();
|
||||
const searchBox = ref(); //搜索框
|
||||
const searchConfiger = ref([
|
||||
@ -67,7 +66,8 @@ const searchConfiger = ref([
|
||||
label: "行政区划",
|
||||
prop: "xzqy",
|
||||
placeholder: "行政区划",
|
||||
showType: "input"
|
||||
showType: "select",
|
||||
options: D_BZ_XZQHDM,
|
||||
},
|
||||
{
|
||||
label: "公交线路起点站",
|
||||
@ -99,10 +99,10 @@ const pageData = reactive({
|
||||
},
|
||||
controlsWidth: 200,
|
||||
tableColumn: [
|
||||
{ label: "公交线路名称", prop: "placeName" },
|
||||
{ label: "公交线路起点站", prop: "operationStatus" },
|
||||
{ label: "公交线路终点站", prop: "jurisdiction" },
|
||||
{ label: "行政区划", prop: "legalPersonName" }
|
||||
{ label: "公交线路名称", prop: "xlmc" },
|
||||
{ label: "公交线路起点站", prop: "xlqdz" },
|
||||
{ label: "公交线路终点站", prop: "xlzdz" },
|
||||
{ label: "行政区划", prop: "xzqy",showSolt:true }
|
||||
]
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user