Browse Source

nav跳转导入记录

feature
mk 3 years ago
parent
commit
edeade7ac2
  1. 6
      src/views/main-navbar.vue
  2. 4
      src/views/modules/importRecord/index.vue
  3. 33
      src/views/modules/shequ/chaxun.vue

6
src/views/main-navbar.vue

@ -84,7 +84,7 @@
mode="horizontal"
style="min-width: 180px"
>
<el-menu-item index="3" @click="fullscreenHandle()">
<el-menu-item index="3" @click="toImportRecord">
<div class="img-nav">
<div class="img-wrap">
<img src="~@/assets/images/main/time.png" />
@ -211,7 +211,9 @@ export default {
this.displayedNoticeList = false;
this.$router.replace("/main/home-notice");
},
toImportRecord(){
this.$router.replace("/main/importRecord-index");
},
toIndexPage() {
this.$router.replace("/index");
},

4
src/views/modules/importRecord/index.vue

@ -1,12 +1,12 @@
<template>
<div class="resi-container">
<el-card class="resi-card-table">
<el-card class="">
<el-table
:data="tableData"
border
style="width: 100%"
:height="tableHeight"
class="resi-table"
class=""
>
<el-table-column label="序号" type="index" align="center" width="50" />
<el-table-column prop="originFileName" label="文件名">

33
src/views/modules/shequ/chaxun.vue

@ -9,13 +9,13 @@
<div class="tabs">
<div
:class="{ 'z-on': searchData.type == 'jumin' }"
@click="searchData.type = 'jumin'"
@click="handelClickTab('jumin')"
>
查居民
</div>
<div
:class="{ 'z-on': searchData.type == 'fangwu' }"
@click="searchData.type = 'fangwu'"
@click="handelClickTab('fangwu')"
>
查房屋
</div>
@ -204,6 +204,12 @@
</template>
</template>
</el-table-column>
<el-table-column label="备注" align="center" :show-overflow-tooltip="true">
<template slot-scope="scope" label="备注">
{{scope.row.remark}}
</template>
</el-table-column>
<el-table-column fixed="right" label="操作" align="center">
<template slot-scope="scope">
@ -352,7 +358,7 @@ export default {
return {
searchStatus: "ini", //ing over
searchData: {
type: "jumin",
type: "fangwu",
searchKey: "",
},
@ -424,14 +430,14 @@ export default {
width: 110,
options: [],
},
{
itemId: "20220422102809_1011",
label: "备注",
columnName: "remark",
itemType: "textarea",
width: 110,
options: [],
},
// {
// itemId: "20220422102809_1011",
// label: "",
// columnName: "remark",
// itemType: "textarea",
// width: 110,
// options: [],
// },
// {
// itemId: "20220422102809_1012",
// label: "",
@ -719,6 +725,7 @@ export default {
},
methods: {
firstSearch() {
console.log(getQueryPara("type"));
this.searchData.searchKey = getQueryPara("searchKey");
this.searchData.type = getQueryPara("type");
this.handleClickSearchBtn();
@ -871,6 +878,10 @@ export default {
} else {
}
},
handelClickTab(type){
this.searchData.type = type
// this.searchData.searchKey = ''
}
},
};
</script>

Loading…
Cancel
Save