Commit c4dcbba7 authored by “yiyousong”'s avatar “yiyousong”

pref:修改样表

parent aae016d0
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</a-input> </a-input>
<!-- </a-input-group> --> <!-- </a-input-group> -->
<a-range-picker <a-range-picker
format="YYYY年MM月DD日" format="YYYY-MM-DD"
valueFormat="YYYY-MM-DD" valueFormat="YYYY-MM-DD"
class="range_picker_style" class="range_picker_style"
v-model="BegindAndEndTime" v-model="BegindAndEndTime"
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
<span slot="index" slot-scope="text, record, index">{{ <span slot="index" slot-scope="text, record, index">{{
(tablePagination.current - 1) * tablePagination.pageSize + index + 1 (tablePagination.current - 1) * tablePagination.pageSize + index + 1
}}</span> }}</span>
<template slot="事项名称" slot-scope="text, record, index"> <template slot="事项名称" slot-scope="text, record">
<div> <div>
{{ record.matterName ? record.matterName : "--" }} {{ record.matterName ? record.matterName : "--" }}
</div> </div>
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
事项全称:{{ record.matterFullName ? record.matterFullName : "--" }} 事项全称:{{ record.matterFullName ? record.matterFullName : "--" }}
</div> </div>
</template> </template>
<template slot="材料名称" slot-scope="text, record, index"> <template slot="材料名称" slot-scope="text, record">
<div> <div>
{{ record.materialName ? record.materialName : "--" }} {{ record.materialName ? record.materialName : "--" }}
</div> </div>
......
...@@ -170,11 +170,16 @@ export default { ...@@ -170,11 +170,16 @@ export default {
CensusType_4, CensusType_4,
CensusType_5, CensusType_5,
} = res.data.data; } = res.data.data;
if (CensusType_1 && CensusType_1.length) this.CensusType_1 = CensusType_1; if (CensusType_1 && CensusType_1.length)
if (CensusType_2 && CensusType_2.length) this.CensusType_2 = CensusType_2; this.CensusType_1 = CensusType_1.filter((v) => v.status != 0);
if (CensusType_3 && CensusType_3.length) this.CensusType_3 = CensusType_3; if (CensusType_2 && CensusType_2.length)
if (CensusType_4 && CensusType_4.length) this.CensusType_4 = CensusType_4; this.CensusType_2 = CensusType_2.filter((v) => v.status != 0);
if (CensusType_5 && CensusType_5.length) this.CensusType_5 = CensusType_5; if (CensusType_3 && CensusType_3.length)
this.CensusType_3 = CensusType_3.filter((v) => v.status != 0);
if (CensusType_4 && CensusType_4.length)
this.CensusType_4 = CensusType_4.filter((v) => v.status != 0);
if (CensusType_5 && CensusType_5.length)
this.CensusType_5 = CensusType_5.filter((v) => v.status != 0);
}, },
// 查看数据 // 查看数据
handleCkeck(path) { handleCkeck(path) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment