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

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

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

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

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

Loading…
Cancel
Save