Browse Source

通知记录添加状态

test
jiangyy 3 years ago
parent
commit
571fe1566c
  1. 760
      src/views/modules/base/epidemic/natFocus/natFocusList.vue
  2. 2
      src/views/modules/base/epidemic/natFocus/natFocusListHistory.vue
  3. 27
      src/views/modules/base/epidemic/natFocus/nfNoticeList.vue
  4. 11
      src/views/modules/base/epidemic/natFocus/nfVisiteList.vue
  5. 2
      src/views/modules/base/epidemic/veroFocus/veroFocusList.vue
  6. 17
      src/views/modules/base/epidemic/veroFocus/vfNoticeList.vue

760
src/views/modules/base/epidemic/natFocus/natFocusList.vue

File diff suppressed because it is too large

2
src/views/modules/base/epidemic/natFocus/natFocusListHistory.vue

@ -840,7 +840,7 @@ export default {
handleNoticeList(row) { handleNoticeList(row) {
this.noticeListFormShow = true; this.noticeListFormShow = true;
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.ref_noticelist.initTable(row.idCard, "2"); this.$refs.ref_noticelist.initTable(row.realIdCard, "2");
}); });
}, },
handleVisiteList(row) { handleVisiteList(row) {

27
src/views/modules/base/epidemic/natFocus/nfNoticeList.vue

@ -38,6 +38,13 @@
min-width="380"> min-width="380">
</el-table-column> </el-table-column>
<el-table-column prop="sendResShow"
header-align="center"
align="center"
label="状态"
min-width="180">
</el-table-column>
</el-table> </el-table>
<div> <div>
@ -66,7 +73,7 @@ export default {
return { return {
tableLoading: false, tableLoading: false,
total: 0, total: 0,
idCard: '', realIdCard: '',
tableData: [], tableData: [],
pageSize: 20, pageSize: 20,
pageNo: 1, pageNo: 1,
@ -80,8 +87,8 @@ export default {
methods: { methods: {
async initTable (idCard, origin) { async initTable (realIdCard, origin) {
this.idCard = idCard this.realIdCard = realIdCard
this.origin = origin this.origin = origin
await this.loadTable() await this.loadTable()
@ -93,7 +100,7 @@ export default {
const url = "/epmetuser/icNotice/page" const url = "/epmetuser/icNotice/page"
// const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/icNotice/page" // const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/icNotice/page"
let params = { let params = {
idCard: this.idCard, idCard: this.realIdCard,
pageNo: this.pageNo, pageNo: this.pageNo,
pageSize: this.pageSize, pageSize: this.pageSize,
origin: this.origin origin: this.origin
@ -105,15 +112,9 @@ export default {
this.total = data.total this.total = data.total
this.tableData = data.list this.tableData = data.list
// data.list.forEach(item => { this.tableData.forEach(item => {
// item.isEdit = false item.sendResShow = item.sendRes === '1' ? '成功' : item.sendRes === '0' ? '失败' : ''
// item.isNew = false });
// let arrayInspectors = item.inspectors.split(',')
// item.inspectorArray = [...arrayInspectors]
// let arrayReviewTime = item.reviewTime.split(' ')
// item.reviewTime = arrayReviewTime[0]
// });
// this.tableData = [...data.list] // this.tableData = [...data.list]

11
src/views/modules/base/epidemic/natFocus/nfVisiteList.vue

@ -55,7 +55,8 @@
title="新增" title="新增"
append-to-body append-to-body
@closed="handleCancle"> @closed="handleCancle">
<div v-if="dialogVisible" class="epidemic-form"> <div v-if="dialogVisible"
class="epidemic-form">
<el-form ref="ref_form" <el-form ref="ref_form"
:inline="true" :inline="true"
:model="formData" :model="formData"
@ -130,7 +131,7 @@ export default {
formData: { formData: {
visitTime: '',//访 visitTime: '',//访
content: '',// content: '',//
idCard: '', realIdCard: '',
name: '', name: '',
mobile: '', mobile: '',
origin: '' origin: ''
@ -149,7 +150,7 @@ export default {
async initTable (row, origin) { async initTable (row, origin) {
this.formData.idCard = row.idCard this.formData.realIdCard = row.realIdCard
this.formData.name = row.name this.formData.name = row.name
this.formData.mobile = row.mobile this.formData.mobile = row.mobile
this.formData.origin = origin this.formData.origin = origin
@ -166,7 +167,7 @@ export default {
// const url = 'http://yapi.elinkservice.cn/mock/245/epmetuser/followup/page' // const url = 'http://yapi.elinkservice.cn/mock/245/epmetuser/followup/page'
let params = { let params = {
name: this.formData.name, name: this.formData.name,
idCard: this.formData.idCard, idCard: this.formData.realIdCard,
pageNo: this.pageNo, pageNo: this.pageNo,
pageSize: this.pageSize, pageSize: this.pageSize,
origin: this.formData.origin origin: this.formData.origin
@ -224,7 +225,7 @@ export default {
const url = "/epmetuser/followup/export" const url = "/epmetuser/followup/export"
let params = { let params = {
idCard: this.formData.idCard, idCard: this.formData.realIdCard,
name: this.formData.name, name: this.formData.name,
origin: this.formData.origin origin: this.formData.origin
} }

2
src/views/modules/base/epidemic/veroFocus/veroFocusList.vue

@ -713,7 +713,7 @@ export default {
handleNoticeList (row) { handleNoticeList (row) {
this.noticeListFormShow = true; this.noticeListFormShow = true;
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.ref_noticelist.initTable(row.idCard); this.$refs.ref_noticelist.initTable(row.realIdCard);
}); });
}, },
handleVisiteList (row) { handleVisiteList (row) {

17
src/views/modules/base/epidemic/veroFocus/vfNoticeList.vue

@ -38,6 +38,13 @@
min-width="380"> min-width="380">
</el-table-column> </el-table-column>
<el-table-column prop="sendResShow"
header-align="center"
align="center"
label="状态"
min-width="180">
</el-table-column>
</el-table> </el-table>
<div> <div>
@ -80,8 +87,8 @@ export default {
methods: { methods: {
async initTable (idCard) { async initTable (realIdCard) {
this.idCard = idCard this.realIdCard = realIdCard
await this.loadTable() await this.loadTable()
}, },
@ -92,7 +99,7 @@ export default {
const url = "/epmetuser/icNotice/page" const url = "/epmetuser/icNotice/page"
// const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/icNotice/page" // const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/icNotice/page"
let params = { let params = {
idCard: this.idCard, idCard: this.realIdCard,
pageNo: this.pageNo, pageNo: this.pageNo,
pageSize: this.pageSize, pageSize: this.pageSize,
origin: '1' origin: '1'
@ -103,7 +110,9 @@ export default {
if (code === 0) { if (code === 0) {
this.total = data.total this.total = data.total
this.tableData = data.list this.tableData = data.list
this.tableData.forEach(item => {
item.sendResShow = item.sendRes === '1' ? '成功' : item.sendRes === '0' ? '失败' : ''
});
// data.list.forEach(item => { // data.list.forEach(item => {
// item.isEdit = false // item.isEdit = false
// item.isNew = false // item.isNew = false

Loading…
Cancel
Save