Browse Source

人员信息列表,接种登记列表,接种信息 列,提前展示。

origin/feature/monitoring
zhangyuan 4 years ago
parent
commit
f505378ae9
  1. 33
      src/views/modules/epidemic/epidemicreportuserinfo.vue
  2. 22
      src/views/modules/epidemic/epidemicuserinfo.vue
  3. 26
      src/views/modules/vim/vaccinationinfo.vue

33
src/views/modules/epidemic/epidemicreportuserinfo.vue

@ -86,6 +86,17 @@
:value="item.dictValue">
</el-option>
</el-select>
<el-tooltip class="item" effect="light" placement="top-end">
<div slot="content">
未接种从未接种过疫苗<br/>
接种中接种过疫苗但没有完成全程接种<br/>
接种完成已经完成全程接种<br/>
接种过有过接种疫苗记录包括接种中和接种完成记录<br/>
第一针没有完成全程接种只接种过第一针<br/>
第二针没有完成全程接种接种过第一针和第二针<br/>
</div>
<i class="el-icon-question" />
</el-tooltip>
</el-form-item>
<!-- <el-form-item label="生产企业"-->
<!-- prop="company">-->
@ -170,6 +181,17 @@
header-align="center"
align="center"
width="150"></el-table-column>
<el-table-column prop="isInoculate"
label="是否接种"
header-align="center"
align="center"
width="180">
<template slot-scope="scope">
<el-tag v-if="scope.row.vaccinationState == '0'" size="small" type="danger">未接种</el-tag>
<el-tag v-if="scope.row.vaccinationState == '2'" size="small" type="success">接种完成</el-tag>
<el-tag v-if="scope.row.vaccinationState == '1'" size="small" type="success"> {{scope.row.vaccinationNum}} </el-tag>
</template>
</el-table-column>
<el-table-column prop="street"
label="街道/乡镇"
header-align="center"
@ -224,17 +246,6 @@
header-align="center"
align="center"
width="180"></el-table-column>
<el-table-column prop="isInoculate"
label="是否接种"
header-align="center"
align="center"
width="180">
<template slot-scope="scope">
<el-tag v-if="scope.row.vaccinationState == '0'" size="small" type="danger">未接种</el-tag>
<el-tag v-if="scope.row.vaccinationState == '2'" size="small" type="success">接种完成</el-tag>
<el-tag v-if="scope.row.vaccinationState == '1'" size="small" type="success"> {{scope.row.vaccinationNum}} </el-tag>
</template>
</el-table-column>
<el-table-column :label="$t('handle')"
fixed="right"
header-align="center"

22
src/views/modules/epidemic/epidemicuserinfo.vue

@ -106,6 +106,17 @@
align="center"
width="120"
show-overflow-tooltip></el-table-column>
<el-table-column prop="vaccinationNum"
label="是否接种"
header-align="center"
align="center"
width="180">
<template slot-scope="scope">
<el-tag v-if="scope.row.vaccinationState == '0'" size="small" type="danger">未接种</el-tag>
<el-tag v-if="scope.row.vaccinationState == '2'" size="small" type="success">接种完成</el-tag>
<el-tag v-if="scope.row.vaccinationState == '1'" size="small" type="success"> {{scope.row.vaccinationNum}} </el-tag>
</template>
</el-table-column>
<el-table-column prop="city"
label="县/区"
header-align="center"
@ -151,17 +162,6 @@
header-align="center"
align="center"
width="100"></el-table-column>
<el-table-column prop="vaccinationNum"
label="已接种"
header-align="center"
align="center"
width="180">
<template slot-scope="scope">
<el-tag v-if="scope.row.vaccinationState == '0'" size="small" type="danger">未接种</el-tag>
<el-tag v-if="scope.row.vaccinationState == '2'" size="small" type="success">接种完成</el-tag>
<el-tag v-if="scope.row.vaccinationState == '1'" size="small" type="success"> {{scope.row.vaccinationNum}} </el-tag>
</template>
</el-table-column>
<el-table-column prop="createdTime"
label="录入时间"
header-align="center"

26
src/views/modules/vim/vaccinationinfo.vue

@ -60,6 +60,11 @@
<el-form-item>
<el-button type="primary" @click="beforeGetDataList()">{{ $t('query') }}</el-button>
</el-form-item>
<el-form-item>
<el-button v-if="$hasPermission('demo:reportuserinfo:updateAge')"
type="danger"
@click="updateAddress()">更新地址</el-button>
</el-form-item>
<!-- <el-form-item>
<el-button type="primary"
@click="addOrUpdateHandle()">{{ $t('add') }}</el-button>
@ -94,10 +99,10 @@
label="性别"
header-align="center"
align="center"></el-table-column>
<el-table-column prop="county"
label="县/区"
header-align="center"
align="center"></el-table-column>
<!-- <el-table-column prop="county"-->
<!-- label="县/区"-->
<!-- header-align="center"-->
<!-- align="center"></el-table-column>-->
<el-table-column prop="street"
label="街道/乡镇"
header-align="center"
@ -270,6 +275,19 @@ export default {
.catch(() => {
})
},
updateAddress () {
this.$http.get(`/sys/vaccinationinfo/updateAddress`).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
} else {
this.$message({
message: '更新成功',
type: 'success',
duration: 1000
})
}
}).catch(() => { })
},
vaccineState: function (row, column) {
let choosenItem = this.compantyOptions.filter(item => item.value === row.vaccineId)[0]
if (choosenItem !== undefined) {

Loading…
Cancel
Save