Browse Source

核酸检测人员信息

feature/dev/vaccine_prarmeter
wanggongfeng 3 years ago
parent
commit
7671bf6f1d
  1. 34
      src/views/modules/sys/icvaccineprarmeter-add-or-update.vue
  2. 7
      src/views/modules/sys/icvaccineprarmeter.vue

34
src/views/modules/sys/icvaccineprarmeter-add-or-update.vue

@ -367,8 +367,40 @@
this.visible = true;
this.$nextTick(() => {
this.$refs['dataForm'].resetFields()
if (this.dataForm.id); {
if (this.dataForm.id) {
this.getInfo()
}else {
this.dataForm = {
id: '',
customerId: '',
gridId: '',
gridName: '',
agencyId: '',
pids: '',
villageId: '',
villageName: '',
buildId: '',
buildName: '',
unitId: '',
unitName: '',
homeId: '',
homeName: '',
householdType: '',
name: '',
mobile: '',
idCard: '',
isVaccination: '1',
firstVacTime: '',
firstVacSite: '',
secondVacTime: '',
secondVacSite: '',
thirdVacTime: '',
thirdVacSite: '',
reason: '',
note: '',
checkState: '0',
checkReason: ''
}
}
})
},

7
src/views/modules/sys/icvaccineprarmeter.vue

@ -202,8 +202,8 @@
<el-table-column prop="checkReason" label="审核理由" header-align="center" align="center" width="80" show-overflow-tooltip></el-table-column>
<el-table-column :label="$t('handle')" fixed="right" header-align="center" align="center" width="150">
<template slot-scope="scope">
<el-button type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">{{ $t('update') }}</el-button>
<el-button type="text" size="small" @click="handleDelete(scope.row.id)">{{ $t('delete') }}</el-button>
<el-button v-if="scope.row.checkState === '0'" type="text" size="small" class="div-table-button--edit" @click="addOrUpdateHandle(scope.row.id)">{{ $t('update') }}</el-button>
<el-button type="text" size="small" class="div-table-button--delete--noline" @click="handleDelete(scope.row.id)">{{ $t('delete') }}</el-button>
<el-button v-if="scope.row.checkState === '0'" type="text" class="div-table-button--detail" size="small"
@click="handleWatch(scope.row)">审核</el-button>
</template>
@ -229,7 +229,7 @@
import mixinViewModule from '@/mixins/view-module'
import AddOrUpdate from './icvaccineprarmeter-add-or-update'
import nextTick from "dai-js/tools/nextTick";
import { requestPost } from "@/js/dai/request";
import { requestPost , requestGet} from "@/js/dai/request";
import IcvaccineprarmeterCheck from './icvaccineprarmeter-check'
export default {
mixins: [mixinViewModule],
@ -567,6 +567,7 @@ export default {
url,
this.dataForm,
(data, rspMsg) => {
console.log(data)
this.download(data, title + ".xlsx");
},
(rspMsg, data) => {

Loading…
Cancel
Save