Browse Source

随访工单添加子状态查询条件

newMaster
1747191978@qq.com 4 months ago
parent
commit
9d10e8a311
  1. 6
      acupuncture-前台/src/views/followFile/work.vue
  2. 21
      acupuncture-后台/src/views/indexCom/query.vue

6
acupuncture-前台/src/views/followFile/work.vue

@ -64,7 +64,7 @@
<el-table-column fixed="right" label="操作" align="center" width="180"> <el-table-column fixed="right" label="操作" align="center" width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- 待随访 --> <!-- 待随访 -->
<div v-if="scope.row.status == 0 || scope.row.status == 3 || scope.row.status == 4"> <div v-if="queryParams.param.status == 0">
<el-button size="mini" type="text" icon="el-icon-s-check" <el-button size="mini" type="text" icon="el-icon-s-check"
@click="handleFollow(scope.row)"> @click="handleFollow(scope.row)">
去随访 去随访
@ -75,12 +75,12 @@
</el-button> </el-button>
</div> </div>
<!-- 随访 --> <!-- 随访 -->
<el-button v-if="scope.row.status == 1" size="mini" type="text" icon="el-icon-s-check" <el-button v-if="queryParams.param.status == 1" size="mini" type="text" icon="el-icon-s-check"
@click="handleDetails(scope.row)"> @click="handleDetails(scope.row)">
查看详情 查看详情
</el-button> </el-button>
<!-- 失访 --> <!-- 失访 -->
<el-button v-if="scope.row.status == 2" size="mini" type="text" icon="el-icon-s-check" <el-button v-if="queryParams.param.status == 2" size="mini" type="text" icon="el-icon-s-check"
@click="handleBeFollow(scope.row)"> @click="handleBeFollow(scope.row)">
标记待随访 标记待随访
</el-button> </el-button>

21
acupuncture-后台/src/views/indexCom/query.vue

@ -17,17 +17,8 @@
<el-radio label="2" border style="margin: 0 20px 0 0"></el-radio> <el-radio label="2" border style="margin: 0 20px 0 0"></el-radio>
<el-radio label="3" border style="margin: 0 20px 0 0"></el-radio> <el-radio label="3" border style="margin: 0 20px 0 0"></el-radio>
</el-radio-group> --> </el-radio-group> -->
<el-date-picker <el-date-picker v-model="pickerValue" type="daterange" align="right" unlink-panels range-separator=""
v-model="pickerValue" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" @change="pickerChage">
type="daterange"
align="right"
unlink-panels
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
value-format="yyyy-MM-dd"
@change="pickerChage"
>
</el-date-picker> </el-date-picker>
</div> </div>
</div> </div>
@ -46,8 +37,7 @@ export default {
radioTime: [], radioTime: [],
pickerValue: null, pickerValue: null,
pickerOptions: { pickerOptions: {
shortcuts: [ shortcuts: [{
{
text: "最近一周", text: "最近一周",
onClick(picker) { onClick(picker) {
const end = new Date(); const end = new Date();
@ -151,23 +141,28 @@ export default {
margin-right: 20px !important; margin-right: 20px !important;
margin-left: 0 !important; margin-left: 0 !important;
} }
>>>.el-radio__input { >>>.el-radio__input {
display: none; display: none;
} }
>>>.el-radio__label { >>>.el-radio__label {
padding-left: 5px; padding-left: 5px;
} }
.app-container { .app-container {
padding: 0; padding: 0;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
} }
.title1 { .title1 {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 20px; font-size: 20px;
font-weight: 600; font-weight: 600;
} }
.title-bor { .title-bor {
display: inline-block; display: inline-block;
height: 20px; height: 20px;

Loading…
Cancel
Save