Browse Source

update

origin/feature/monitoring
YUJT 4 years ago
parent
commit
36e3e59be3
  1. 11
      src/views/modules/epidemic/epidemicreportuserinfo.vue
  2. 2
      src/views/pages/login.vue

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

@ -193,9 +193,12 @@
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>
<!-- <el-tag size="small" :type="scope.row.vaccinationState === 0 ? 'danger' : 'success'">
{{scope.row.vaccinationState === 2 ? '接种完成' : scope.row.vaccinationState === 0 ? '未接种' : '第'+scope.row.vaccinationNum+'针'}}
</el-tag> -->
<el-tag v-if='scope.row.vaccinationState === 0' size="small" type="danger">未接种</el-tag>
<el-tag v-else-if='scope.row.vaccinationState === 1' size="small" type="success"> {{scope.row.vaccinationNum}} </el-tag>
<el-tag v-else-if='scope.row.vaccinationState === 2' size="small" type="success">接种完成</el-tag>
</template>
</el-table-column>
<el-table-column prop="street"
@ -379,7 +382,7 @@ export default {
this.getcompantyOptions()
this.getOptions()
//
this.getDailyTypeArrInfo()
// this.getDailyTypeArrInfo()
this.uploadUrl = `${window.SITE_CONFIG['apiURL']}/sys/epidemicreportuserinfo/importManualScoreExcel?token=${Cookies.get('token')}`
},
components: {

2
src/views/pages/login.vue

@ -230,7 +230,7 @@ export default {
},
//
onInputBlur () {
this.$http.get(`/sys/user/getLoginMobile/?username=${this.dataForm.username}`).then(({ data: res }) => {
this.$http.get(`/sys/user/getLoginMobile?username=${this.dataForm.username}`).then(({ data: res }) => {
if (res.code !== 0) {
this.getMobileType = false
return this.$message.error(res.msg)

Loading…
Cancel
Save