Browse Source

随访队列显示两个总月数

newMaster
1747191978@qq.com 4 months ago
parent
commit
195e363edd
  1. 28
      acupuncture-前台/src/views/followFile/index.vue
  2. 26
      acupuncture-后台/src/views/followFile/index.vue

28
acupuncture-前台/src/views/followFile/index.vue

@ -104,13 +104,6 @@
show-overflow-tooltip
min-width="100"
/>
<el-table-column
label="总月数"
align="center"
prop="followupMonth"
show-overflow-tooltip
min-width="100"
/>
<el-table-column
label="总月数"
align="center"
@ -140,8 +133,8 @@
min-width="100"
>
<template slot-scope="scope">
<span v-if="scope.row.status == 0" style="color: #F56C6C">禁用</span>
<span v-else style="color: #67C23A">启用</span>
<span v-if="scope.row.status == 0" style="color: #f56c6c">禁用</span>
<span v-else style="color: #67c23a">启用</span>
</template>
</el-table-column>
<el-table-column
@ -152,7 +145,9 @@
>
<template slot-scope="scope">
<span v-if="scope.row.type == 1">公共队列</span>
<span v-else-if="scope.row.status == 1" style="color: #67C23A">本院队列</span>
<span v-else-if="scope.row.status == 1" style="color: #67c23a"
>本院队列</span
>
</template>
</el-table-column>
<el-table-column
@ -288,7 +283,7 @@ import {
followupAdd,
followupUpd,
followupDel,
commonQueue
commonQueue,
} from "@/api/followupFile";
export default {
name: "Notice",
@ -299,7 +294,8 @@ export default {
openCron: false,
//
expression: "",
idCardType: [{
idCardType: [
{
label: "身份证",
value: 0,
},
@ -397,11 +393,11 @@ export default {
getList() {
this.loading = true;
followupQuery(this.queryParams).then((res) => {
let commonQueue = JSON.parse(localStorage.getItem('commonQueue'))
let commonQueue = JSON.parse(localStorage.getItem("commonQueue"));
this.listDat = res.data.list;
commonQueue?.forEach(i=>{
this.listDat.unshift(i)
})
commonQueue?.forEach((i) => {
this.listDat.unshift(i);
});
this.total = res.data.total;
this.loading = false;
});

26
acupuncture-后台/src/views/followFile/index.vue

@ -104,13 +104,6 @@
show-overflow-tooltip
min-width="100"
/>
<el-table-column
label="总月数"
align="center"
prop="followupMonth"
show-overflow-tooltip
min-width="100"
/>
<el-table-column
label="总月数"
align="center"
@ -141,7 +134,9 @@
>
<template slot-scope="scope">
<span v-if="scope.row.type == 0">公共队列</span>
<span v-else-if="scope.row.type == 1" >{{scope.row.tenantName}}</span>
<span v-else-if="scope.row.type == 1">{{
scope.row.tenantName
}}</span>
</template>
</el-table-column>
<el-table-column
@ -153,15 +148,11 @@
fixed="right"
>
<template slot-scope="scope">
<span v-if="scope.row.status == 0" style="color: #F56C6C">禁用</span>
<span v-else style="color: #67C23A">启用</span>
<span v-if="scope.row.status == 0" style="color: #f56c6c">禁用</span>
<span v-else style="color: #67c23a">启用</span>
</template>
</el-table-column>
<el-table-column
label="创建人/创建时间"
align="center"
min-width="140"
>
<el-table-column label="创建人/创建时间" align="center" min-width="140">
<template slot-scope="scope">
<div>{{ scope.row.createBy }}</div>
<span>{{
@ -289,7 +280,7 @@ import {
followupAdd,
followupUpd,
followupDel,
commonQueue
commonQueue,
} from "@/api/followupFile";
export default {
name: "Notice",
@ -300,7 +291,8 @@ export default {
openCron: false,
//
expression: "",
idCardType: [{
idCardType: [
{
label: "身份证",
value: 0,
},

Loading…
Cancel
Save