diff --git a/src/views/modules/base/epidemic/natFocus/natFocusAdd.vue b/src/views/modules/base/epidemic/natFocus/natFocusAdd.vue index 49d2df70a..390d0cb59 100644 --- a/src/views/modules/base/epidemic/natFocus/natFocusAdd.vue +++ b/src/views/modules/base/epidemic/natFocus/natFocusAdd.vue @@ -46,6 +46,17 @@ v-model="formData1.idCard"> + + + + + - @@ -76,7 +88,8 @@ --> - @@ -216,6 +229,17 @@ style="display: block"> {{selectionAll.length}} + + + + + - @@ -246,7 +271,8 @@ --> - @@ -302,10 +328,11 @@ export default { }, formData1: { - attentionType: 1, + attentionType: 2, name: '', idCard: '', mobile: '', + reason: '', remark: '', isSelChannel: false, channel: [], @@ -314,7 +341,8 @@ export default { }, formData2: { - attentionType: 1, + attentionType: 2, + reason: '', remark: '', isSelChannel: false, channel: [], @@ -644,15 +672,17 @@ export default { name: '', idCard: '', mobile: '', + reason: '', remark: '', isSelChannel: false, channel: [], content: '', - attentionType: 1, + attentionType: 2, } this.formData2 = { - attentionType: 1, + attentionType: 2, + reason: '', remark: '', isSelChannel: false, channel: [], diff --git a/src/views/modules/base/epidemic/natFocus/natFocusEdit.vue b/src/views/modules/base/epidemic/natFocus/natFocusEdit.vue index 0c12d5e0a..56962ffb0 100644 --- a/src/views/modules/base/epidemic/natFocus/natFocusEdit.vue +++ b/src/views/modules/base/epidemic/natFocus/natFocusEdit.vue @@ -44,6 +44,17 @@ v-model="formData.idCard"> --> + + + + +
- @@ -75,7 +87,8 @@ --> - @@ -125,10 +138,11 @@ export default { btnDisable: false, formData: { - attentionType: 1, + attentionType: 2, name: '', idCard: '', mobile: '', + reason: '', remark: '', isSelChannel: false, channel: [], @@ -142,6 +156,10 @@ export default { }, + destroyed () { + + }, + methods: { async initForm (formType, row) { @@ -149,6 +167,7 @@ export default { this.$refs['ref_form1'].resetFields(); row.channel = [] row.content = '' + row.attentionType = 2 row.isSelChannel = false this.formData = JSON.parse(JSON.stringify(row)) @@ -210,9 +229,11 @@ export default { this.veroId = '' this.formData = { + attentionType: 2, name: '', idCard: '', mobile: '', + reason: '', remark: '', isSelChannel: false, channel: [], diff --git a/src/views/modules/base/epidemic/natFocus/natFocusList.vue b/src/views/modules/base/epidemic/natFocus/natFocusList.vue index 087c6fe72..328b60799 100644 --- a/src/views/modules/base/epidemic/natFocus/natFocusList.vue +++ b/src/views/modules/base/epidemic/natFocus/natFocusList.vue @@ -38,19 +38,24 @@ + + + - - - - - + + + + @@ -94,7 +99,8 @@ size="small" @click="handleExport">导出 - 发送通知 @@ -140,10 +146,10 @@ label="身份证" min-width="170"> - { - this.$refs.ref_visitelist.initTable(row) + this.$refs.ref_visitelist.initTable(row, '2') }) @@ -557,7 +565,7 @@ export default { idCards.push(element.idCard) }); let params = { - attentionType: 1, + attentionType: 2, idCards: idCards } @@ -578,7 +586,7 @@ export default { //重置搜索条件 resetSearch () { this.formData = { - attentionType: 1,//关注类型,核酸检测:2,疫苗接种:1 + attentionType: 2,//关注类型,核酸检测:2,疫苗接种:1 name: '', mobile: '', idCard: '', diff --git a/src/views/modules/base/epidemic/natFocus/nfNoticeList.vue b/src/views/modules/base/epidemic/natFocus/nfNoticeList.vue index 7b7fb33ca..664e3ab63 100644 --- a/src/views/modules/base/epidemic/natFocus/nfNoticeList.vue +++ b/src/views/modules/base/epidemic/natFocus/nfNoticeList.vue @@ -89,13 +89,13 @@ export default { //加载form async loadTable () { this.tableLoading = true - // const url = "/epmetuser/icNotice/page" - const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/icNotice/page" + const url = "/epmetuser/icNotice/page" + // const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/icNotice/page" let params = { idCard: this.idCard, pageNo: this.pageNo, pageSize: this.pageSize, - origin: '1' + origin: '2' } const { data, code, msg } = await requestPost(url, params) diff --git a/src/views/modules/base/epidemic/natFocus/nfSendNotice.vue b/src/views/modules/base/epidemic/natFocus/nfSendNotice.vue index 9274d9286..beec2e631 100644 --- a/src/views/modules/base/epidemic/natFocus/nfSendNotice.vue +++ b/src/views/modules/base/epidemic/natFocus/nfSendNotice.vue @@ -8,7 +8,8 @@ :rules="dataRule" class="form"> - @@ -24,7 +25,8 @@ --> - diff --git a/src/views/modules/base/epidemic/natFocus/nfVisiteList.vue b/src/views/modules/base/epidemic/natFocus/nfVisiteList.vue index 67448435e..70fcf3724 100644 --- a/src/views/modules/base/epidemic/natFocus/nfVisiteList.vue +++ b/src/views/modules/base/epidemic/natFocus/nfVisiteList.vue @@ -133,7 +133,7 @@ export default { idCard: '', name: '', mobile: '', - origin: '1' + origin: '2' }, dialogVisible: false, @@ -147,11 +147,12 @@ export default { methods: { - async initTable (row) { + async initTable (row, origin) { this.formData.idCard = row.idCard this.formData.name = row.name this.formData.mobile = row.mobile + this.formData.origin = origin await this.loadTable() @@ -168,7 +169,7 @@ export default { idCard: this.formData.idCard, pageNo: this.pageNo, pageSize: this.pageSize, - origin: '1' + origin: '2' } const { data, code, msg } = await requestPost(url, params) @@ -223,7 +224,7 @@ export default { let params = { idCard: this.formData.idCard, name: this.formData.name, - + origin: '2' } app.ajax.exportFilePost( diff --git a/src/views/modules/base/epidemic/natInfo/natForm.vue b/src/views/modules/base/epidemic/natInfo/natForm.vue index 4307a74eb..c5e6878aa 100644 --- a/src/views/modules/base/epidemic/natInfo/natForm.vue +++ b/src/views/modules/base/epidemic/natInfo/natForm.vue @@ -123,7 +123,7 @@ @@ -160,7 +160,8 @@ - @@ -168,16 +169,17 @@ 小程序通知 - + - @@ -607,7 +609,7 @@ export default { { required: false }, ], natResult: [ - { required: true }, + { required: true, message: '检测结果不能为空', trigger: 'blur' }, ], channel: [ diff --git a/src/views/modules/base/epidemic/travel.vue b/src/views/modules/base/epidemic/travel.vue index b554b6656..d816136fd 100644 --- a/src/views/modules/base/epidemic/travel.vue +++ b/src/views/modules/base/epidemic/travel.vue @@ -84,7 +84,7 @@ size="small" @click="handleAdd">新增 - 下载模板 @@ -96,16 +96,26 @@ accept=".xls,.xlsx" :limit="1" :on-exceed="handleExceed" - :http-request="uploadFile"> - 导入 + :http-request="uploadHttpRequest"> + {{importBtnTitle}} - 导出 + :loading="exportBtn" + @click="handleExport">{{ exportBtnTitle }} + 发送通知 + 取消关注
+ style="width: 100%" + @selection-change="handleSelectionChange"> + + width="100"> - 查看 - 修改 - +
+ 通知记录 +
+ +
+ 随访记录 +
+
+ 删除 +
+ + 更多 +
@@ -231,17 +270,55 @@ top="5vh" class="dialog-h" @closed="diaClose"> - - + + + + + + + + + + + +