Browse Source

核酸检测点、疫苗接种点 PC 管理

master
wanggongfeng 3 years ago
parent
commit
88edeb6cb2
  1. 61
      src/views/modules/plugins/point/icpointnucleicmonitoring.vue
  2. 24
      src/views/modules/plugins/point/icpointvaccinesinoculation.vue

61
src/views/modules/plugins/point/icpointnucleicmonitoring.vue

@ -6,18 +6,6 @@
:model="dataForm"
@keyup.enter.native="getDataList()"
>
<!--<el-form-item label="所属组织名称" prop="orgName">-->
<!--<el-select v-model="dataForm.orgName" placeholder="所属组织名称">-->
<!--<el-option-->
<!--ref="org"-->
<!--v-for="item in organizationList"-->
<!--:key="item.orgId"-->
<!--:label="item.orgName"-->
<!--:value="item.orgId"-->
<!--&gt;-->
<!--</el-option>-->
<!--</el-select>-->
<!--</el-form-item>-->
<el-form-item label="所属组织名称" prop="orgName" label-width="130px">
<el-cascader
ref="org"
@ -45,28 +33,27 @@
></el-input>
</el-form-item>
<el-form-item>
<el-button class="diy-button--search" @click="getDataList()">{{
<el-button class="diy-button--search" size="small" @click="getDataList()">{{
$t("query")
}}</el-button>
</el-form-item>
<el-form-item>
<el-button
class="diy-button--add"
type="primary"
@click="addOrUpdateHandle()"
>{{ $t("add") }}</el-button
>
size="small"
class="diy-button--reset"
@click="resetSearch">重置</el-button>
</el-form-item>
<!--<el-form-item>-->
<!--<el-button type="danger" @click="deleteHandle()">{{-->
<!--$t("deleteBatch")-->
<!--}}</el-button>-->
<!--</el-form-item>-->
</el-form>
</div>
<div class="div_table">
<div class="exportBtn">
<el-button
class="diy-button--add"
type="primary" size="small"
@click="addOrUpdateHandle('','新增')"
>{{ $t("add") }}</el-button
>
<el-button
style="margin-left: 10px"
class="diy-button--export"
@ -160,10 +147,16 @@
width="150"
>
<template slot-scope="scope">
<el-button
type="text"
size="small"
@click="addOrUpdateHandle(scope.row.id,'查看')"
>{{ '查看' }}</el-button
>
<el-button
type="text"
size="small"
@click="addOrUpdateHandle(scope.row.id)"
@click="addOrUpdateHandle(scope.row.id,'修改')"
>{{ $t("update") }}</el-button
>
<el-button
@ -189,7 +182,7 @@
<!-- 弹窗, 新增 / 修改 -->
<el-dialog
:visible.sync="addOrUpdateVisible"
:title="!updateId ? $t('add') : $t('update')"
:title="dialogTitle"
:close-on-click-modal="false"
:close-on-press-escape="false"
:destroy-on-close="true"
@ -239,7 +232,7 @@ export default {
},
organizationList: [],
orgIds: [],
updateId: null,
dialogTitle: '',
sendNoticeFormShow:false,
noticeVisible:false,
noticeOrigin:"3"
@ -254,6 +247,16 @@ export default {
this.getFormInfo();
},
methods: {
//
resetSearch () {
this.dataForm = {
name: '',
mobile: '',
orgId: ''
}
this.pageNo = 1
this.orgIds = []
},
//
handleSendNotice () {
this.sendNoticeFormShow = true
@ -263,8 +266,8 @@ export default {
this.sendNoticeFormShow = false
},
// /
addOrUpdateHandle(id) {
this.updateId = id;
addOrUpdateHandle(id,title) {
this.dialogTitle = title;
this.$nextTick(() => {
this.$refs.addOrUpdate.dataForm.id = id;
this.$refs.addOrUpdate.init();
@ -274,7 +277,7 @@ export default {
//
closeDialog() {
this.addOrUpdateVisible = false;
this.updateId = null;
this.dialogTitle = '';
},
//
getFormInfo() {

24
src/views/modules/plugins/point/icpointvaccinesinoculation.vue

@ -21,17 +21,15 @@
></el-input>
</el-form-item>
<el-form-item>
<el-button class="diy-button--search" @click="getDataList()">{{
<el-button class="diy-button--search" size="small" @click="getDataList()">{{
$t("query")
}}</el-button>
</el-form-item>
<el-form-item>
<el-button
class="diy-button--add"
type="primary"
@click="addOrUpdateHandle()"
>{{ $t("add") }}</el-button
>
size="small"
class="diy-button--reset"
@click="resetSearch">重置</el-button>
</el-form-item>
<!--<el-form-item>-->
<!--<el-button type="danger" @click="deleteHandle()">{{-->
@ -42,6 +40,12 @@
</div>
<div class="div_table">
<div class="exportBtn">
<el-button
class="diy-button--add"
type="primary" size="small"
@click="addOrUpdateHandle()"
>{{ $t("add") }}</el-button
>
<el-button
style="margin-left: 10px"
class="diy-button--export"
@ -254,6 +258,14 @@ export default {
this.noticeFun()
},
methods: {
//
resetSearch () {
this.dataForm = {
name: '',
mobile: ''
}
this.pageNo = 1
},
//
handleSendNotice () {
this.sendNoticeFormShow = true

Loading…
Cancel
Save