| | |
| | | /> |
| | | <el-table-column width="160" prop="ecCreator" label="创建人" /> |
| | | <!-- <el-table-column prop="ecPicurl" label="图片" /> --> |
| | | <!-- <el-table-column prop="ecReceiverid" label="签收人" /> --> |
| | | <el-table-column prop="ecReceiverid" label="签收人" /> |
| | | </el-table> |
| | | <!-- <el-affix :offset="0" position="bottom"> --> |
| | | <el-pagination |
| | | class="el-pagination" |
| | | v-model:current-page="currentPage" |
| | | v-model:page-size="pageSize" |
| | | :page-sizes="[10, 20, 50, 100]" |
| | | :background="true" |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | :total="total" |
| | | /> |
| | | <el-pagination |
| | | class="el-pagination" |
| | | v-model:current-page="currentPage" |
| | | v-model:page-size="pageSize" |
| | | :page-sizes="[10, 20, 50, 100]" |
| | | :background="true" |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | :total="total" |
| | | /> |
| | | <!-- </el-affix> --> |
| | | <CompNoticeAddDrawer |
| | | v-model:drawer="drawer" |
| | |
| | | // } |
| | | currentPage(nValue, oValue) { |
| | | if (nValue != oValue) { |
| | | this.onNoticeType() |
| | | this.onNoticeType(); |
| | | } |
| | | }, |
| | | pageSize(nValue, oValue) { |
| | | if (nValue != oValue) { |
| | | this.onNoticeType() |
| | | this.onNoticeType(); |
| | | } |
| | | }, |
| | | }, |
| | |
| | | type: noticeType, |
| | | subtype: noticeSubType, |
| | | page: this.currentPage, |
| | | perPage: this.pageSize |
| | | perPage: this.pageSize, |
| | | }) |
| | | .then((res) => { |
| | | if (res.success) { |
| | | this.tableData = res.data; |
| | | this.currentPage = res.head.page |
| | | this.total = res.head.totalCount |
| | | this.currentPage = res.head.page; |
| | | this.total = res.head.totalCount; |
| | | } |
| | | }) |
| | | .finally(() => { |
| | |
| | | // noticeApi.getNotification().then() |
| | | }, |
| | | districtFormatter(row) { |
| | | let district = '未设置'; |
| | | this.districts.forEach((d) => { |
| | | if (d.value == row.ecExtension1) { |
| | | district = d.label; |
| | | return; |
| | | } |
| | | }); |
| | | if (row.ecExtension1 == null) { |
| | | let district = ''; |
| | | if (row.ecExtension1 == null || row.ecExtension1 == '0;') { |
| | | district = '全部'; |
| | | } else if (row.ecExtension1 == '-1') { |
| | | district = '未设置'; |
| | | } else { |
| | | row.ecExtension1.split(';').forEach((t) => { |
| | | this.districts.forEach((d) => { |
| | | if (t == d.value) { |
| | | district += d.label + '、'; |
| | | return; |
| | | } |
| | | }); |
| | | }); |
| | | district = district.slice(0, district.length - 1) |
| | | } |
| | | return district; |
| | | }, |
| | |
| | | } |
| | | }); |
| | | }); |
| | | scene = scene.slice(0, scene.length - 1) |
| | | } |
| | | return scene; |
| | | }, |