| | |
| | | <el-divider></el-divider> |
| | | <el-row :gutter="10" class="mb8"> |
| | | <el-col :span="1.5"> |
| | | <el-select v-model="tasktopic" placeholder="请选择新增类型"> |
| | | <el-option |
| | | v-for="item in taskoptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | plain |
| | | icon="el-icon-plus" |
| | | size="medium" |
| | | @click="handleAdd" |
| | | v-hasPermi="['system:user:add']" |
| | | :disabled="!tasktopic" |
| | | >新增</el-button |
| | | > |
| | | </el-col> |
| | |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column type="selection" width="50" align="center" /> |
| | | <el-table-column label="序号" align="center" key="id" prop="id" /> |
| | | <el-table-column label="序号" fixed align="center" key="id" prop="id" /> |
| | | |
| | | <el-table-column |
| | | label="任务名称" |
| | | fixed |
| | | align="center" |
| | | sortable |
| | | key="name" |
| | |
| | | prop="describe" |
| | | /> |
| | | <el-table-column |
| | | label="任务总数" |
| | | label="待执行/总任务" |
| | | align="center" |
| | | key="nickName" |
| | | prop="nickName" |
| | | /> |
| | | <!-- <el-table-column |
| | | label="患者总数" |
| | | align="center" |
| | | key="phonenumber" |
| | | prop="phonenumber" |
| | | width="120" |
| | | /> --> |
| | | |
| | | <el-table-column |
| | | label="审核人" |
| | | align="center" |
| | | key="create_by" |
| | | prop="create_by" |
| | | width="120" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="审核时间" |
| | | sortable |
| | | align="center" |
| | | prop="create_time" |
| | | width="160" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span>{{ parseTime(scope.row.create_time) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="创建人" |
| | | align="center" |
| | |
| | | </el-table-column> |
| | | |
| | | <el-table-column |
| | | label="最近修改" |
| | | sortable |
| | | label="状态" |
| | | fixed="right" |
| | | align="center" |
| | | prop="update_time" |
| | | width="160" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span |
| | | >{{ scope.row.update_by }} |
| | | {{ parseTime(scope.row.update_time) }}</span |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | key="phonenumber" |
| | | prop="phonenumber" |
| | | width="120" |
| | | /> |
| | | <el-table-column |
| | | label="操作" |
| | | fixed="right" |
| | | align="center" |
| | | width="120" |
| | | class-name="small-padding fixed-width" |
| | |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="任务详情" |
| | | fixed="right" |
| | | align="center" |
| | | width="200" |
| | | class-name="small-padding fixed-width" |
| | |
| | | resetUserPwd, |
| | | changeUserStatus, |
| | | } from "@/api/system/user"; |
| | | import { |
| | | listsvr_prj, |
| | | getsvr_task, |
| | | addsvr_task, |
| | | updatesvr_task, |
| | | delsvr_task, |
| | | } from "@/api/smartorpor/svr_task"; |
| | | |
| | | import Treeselect from "@riophae/vue-treeselect"; |
| | | import "@riophae/vue-treeselect/dist/vue-treeselect.css"; |
| | |
| | | previewvalue: { |
| | | username: "这个医生对你怎么样", |
| | | }, |
| | | taskoptions: [ |
| | | { |
| | | value: "1", |
| | | label: "宣教服务", |
| | | }, |
| | | { |
| | | value: "2", |
| | | label: "门诊随访", |
| | | }, |
| | | { |
| | | value: "3", |
| | | label: "出院随访", |
| | | }, |
| | | { |
| | | value: "4", |
| | | label: "复诊服务", |
| | | }, |
| | | { |
| | | value: "5", |
| | | label: "体检通知", |
| | | }, |
| | | { |
| | | value: "6", |
| | | label: "问卷服务", |
| | | }, |
| | | ], |
| | | tasktopic: null, //新增类型 |
| | | value: [], |
| | | list: [], |
| | | loading: false, |
| | |
| | | /** 查询门诊随访列表 */ |
| | | getList() { |
| | | this.loading = true; |
| | | listsvr_prj(this.addDateRange(this.topqueryParams, this.dateRange)).then( |
| | | listUser(this.addDateRange(this.topqueryParams, this.dateRange)).then( |
| | | (response) => { |
| | | console.log(response); |
| | | this.userList = response.rows; |
| | |
| | | }, |
| | | /** 新增按钮操作 */ |
| | | handleAdd() { |
| | | this.$router.push({ |
| | | path: "/followvisit/tasklist/FollowupDetails/", |
| | | }); |
| | | // this.reset(); |
| | | // this.addalteropen = true; |
| | | // getUser().then((response) => { |
| | | // this.postOptions = response.posts; |
| | | // this.roleOptions = response.roles; |
| | | // this.title = "新增门诊随访"; |
| | | // this.form.password = this.initPassword; |
| | | // this.$router.push({ |
| | | // path: "/followvisit/tasklist/FollowupDetails/", |
| | | // }); |
| | | this.$router.push({ |
| | | path: "/followvisit/particty", |
| | | query: { type: this.tasktopic }, |
| | | }); |
| | | }, |
| | | /** 修改按钮操作 */ |
| | | handleUpdate(row) { |
| | | // const userId = row.userId || this.ids; |
| | | // this.$router.push({ |
| | | // path: "/followvisit/tasklist/FollowupDetails/", |
| | | // query: { id: row.id }, |
| | | // }); |
| | | this.$router.push({ |
| | | path: "/followvisit/tasklist/FollowupDetails/", |
| | | query: { id: row.id }, |
| | | path: "/followvisit/particty", |
| | | query: { type: 2 }, |
| | | }); |
| | | }, |
| | | /** 重置密码按钮操作 */ |