| | |
| | | <!-- 表格组件封装 --> |
| | | <template> |
| | | <el-table |
| | | :data="currentList" |
| | | style="width: 1158px" |
| | | :header-cell-style="{ |
| | | background: '#f3f6fb', |
| | | color: '#666', |
| | | height: '42px', |
| | | 'font-weight': 400, |
| | | }" |
| | | :highlight-current-row="true" |
| | | empty-text="暂无数据" |
| | | <el-table |
| | | :data="currentList" |
| | | @selection-change="handleSelectionChange" |
| | | :header-cell-style="{ |
| | | background: '#f3f6fb', |
| | | color: '#666', |
| | | height: '42px', |
| | | 'font-weight': 400, |
| | | }" |
| | | :highlight-current-row="true" |
| | | empty-text="暂无数据" |
| | | > |
| | | <el-table-column v-if="multiplechoice" type="selection" width="50" align="center" /> |
| | | <el-table-column label="序号" align="center" key="id" prop="id" /> |
| | | <el-table-column |
| | | v-for="(item, index) in tableLabel" |
| | | :key="index" |
| | | :prop="item.prop" |
| | | :width="item.width" |
| | | :label="item.label" |
| | | :formatter="formatData" |
| | | > |
| | | <el-table-column type="index" :index="indexMethod" label="序号" width="80"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | v-for="(item, index) in tableLabel" |
| | | :key="index" |
| | | :prop="item.prop" |
| | | :width="item.width" |
| | | :label="item.label" |
| | | :formatter="formatData" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" @click.native="$emit('details', scope.row)" |
| | | >查看详情</el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </template> |
| | | |
| | | <script> |
| | | import dayjs from "dayjs"; |
| | | export default { |
| | | data() { |
| | | return {}; |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="操作" |
| | | align="center" |
| | | width="120" |
| | | class-name="small-padding fixed-width" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | v-if="controlxz" |
| | | size="medium" |
| | | type="text" |
| | | @click.native="$emit('handleUpdate', scope.row)" |
| | | ><span class="button-zx" |
| | | ><i class="el-icon-s-promotion"></i>选择</span |
| | | ></el-button |
| | | > |
| | | <el-button |
| | | v-if="controlsc" |
| | | size="medium" |
| | | type="text" |
| | | @click.native="$emit('details', scope.row)" |
| | | ><span style="color: red" |
| | | ><i class="el-icon-delete"></i>删除</span |
| | | ></el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </template> |
| | | |
| | | <script> |
| | | import dayjs from "dayjs"; |
| | | export default { |
| | | data() { |
| | | return { |
| | | ids: [], |
| | | }; |
| | | }, |
| | | props: { |
| | | currentList: { |
| | | type: Array, |
| | | required: true, |
| | | }, |
| | | props: { |
| | | currentList: { |
| | | type: Array, |
| | | required: true, |
| | | }, |
| | | tableLabel: { |
| | | type: Array, |
| | | default: () => [], |
| | | }, |
| | | currentIndex: { |
| | | type: Number, |
| | | required: true, |
| | | }, |
| | | tableLabel: { |
| | | type: Array, |
| | | default: () => [], |
| | | }, |
| | | created() {}, |
| | | |
| | | methods: { |
| | | indexMethod(index) { |
| | | return parseInt(this.currentIndex) - 9 + index; |
| | | }, |
| | | controlsc: { |
| | | type: Boolean, |
| | | default: true, |
| | | }, |
| | | controlxz: { |
| | | type: Boolean, |
| | | default: true, |
| | | }, |
| | | multiplechoice:{ |
| | | type: Boolean, |
| | | default: true, |
| | | } |
| | | |
| | | }, |
| | | created() {}, |
| | | |
| | | methods: { |
| | | // 数据过滤 |
| | | formatData(row, column, cellValue) { |
| | | if (column.property === "createType") { |
| | | if (cellValue === 1) { |
| | | return "自动"; |
| | | } |
| | | return "手动"; |
| | | formatData(row, column, cellValue) { |
| | | if (column.property === "createType") { |
| | | if (cellValue === 1) { |
| | | return "自动"; |
| | | } |
| | | if (column.property === "createTime") { |
| | | return dayjs(cellValue).format("YYYY.MM.DD HH:mm:ss"); |
| | | } |
| | | return cellValue; |
| | | }, |
| | | return "手动"; |
| | | } |
| | | if (column.property === "createTime") { |
| | | return dayjs(cellValue).format("YYYY.MM.DD HH:mm:ss"); |
| | | } |
| | | return cellValue; |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | .el-table td, |
| | | .el-table th.is-leaf { |
| | | border-bottom: unset; |
| | | } |
| | | .el-table td, |
| | | .el-table th { |
| | | padding: 5px 0; |
| | | } |
| | | .el-table thead { |
| | | font-weight: 400; |
| | | color: #666; |
| | | } |
| | | .dialog-footer { |
| | | width: 100%; |
| | | padding: 10px 20px 20px; |
| | | text-align: center !important; |
| | | -webkit-box-sizing: border-box; |
| | | box-sizing: border-box; |
| | | } |
| | | </style> |
| | | |
| | | // 多选框选中数据 |
| | | handleSelectionChange(selection) { |
| | | $emit("handleSelectionChange", selection); |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | .el-table td, |
| | | .el-table th.is-leaf { |
| | | border-bottom: unset; |
| | | } |
| | | .el-table td, |
| | | .el-table th { |
| | | padding: 5px 0; |
| | | } |
| | | .el-table thead { |
| | | font-weight: 400; |
| | | color: #666; |
| | | } |
| | | .dialog-footer { |
| | | width: 100%; |
| | | padding: 10px 20px 20px; |
| | | text-align: center !important; |
| | | -webkit-box-sizing: border-box; |
| | | box-sizing: border-box; |
| | | } |
| | | </style> |
| | |
| | | <div class="app-container"> |
| | | <el-row :gutter="20"> |
| | | <!--用户数据--> |
| | | |
| | | <el-form |
| | | :model="topqueryParams" |
| | | ref="queryForm" |
| | |
| | | }, |
| | | // 跳转详情页 |
| | | Seedetails() { |
| | | // this.$router.push({ |
| | | // path: "/followvisit/record/detailpage/", |
| | | // query: { id: "1" }, |
| | | // }); |
| | | this.$router.push({ |
| | | path: "/followvisit/record/detailpage/", |
| | | query: { id: "1" }, |
| | | path: "/followvisit/particty", |
| | | query: { type: 3, }, |
| | | }); |
| | | }, |
| | | // 导入按钮 |
| | |
| | | }, |
| | | // 跳转详情页 |
| | | Seedetails() { |
| | | // this.$router.push({ |
| | | // path: "/followvisit/record/detailpage/", |
| | | // query: { id: "1" }, |
| | | // }); |
| | | this.$router.push({ |
| | | path: "/followvisit/record/detailpage/", |
| | | query: { id: "1" }, |
| | | path: "/followvisit/particty", |
| | | query: { type: 2, }, |
| | | }); |
| | | }, |
| | | // 导入按钮 |
| | |
| | | // 跳转详情页 |
| | | Seedetails() { |
| | | this.$router.push({ |
| | | path: "/followvisit/record/detailpage/", |
| | | query: { id: "1" }, |
| | | path: "/followvisit/particty", |
| | | query: { type: 5 }, |
| | | }); |
| | | }, |
| | | // 导入按钮 |
| | |
| | | handleUpdate(row) { |
| | | this.$router.push({ |
| | | path: "/followvisit/particty", |
| | | query: { type: 1, }, |
| | | }); |
| | | }, |
| | | /** 重置密码按钮操作 */ |
| | |
| | | <el-checkbox label="夜间(18:30-20:30)"></el-checkbox> |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | | <el-form-item label="宣教形式"> |
| | | <el-form-item label="服务形式"> |
| | | <el-checkbox-group v-model="checkList"> |
| | | <el-checkbox label="当面"></el-checkbox> |
| | | <el-checkbox label="多媒体"></el-checkbox> |
| | | <el-checkbox label="纸质"></el-checkbox> |
| | | <el-checkbox label="电话"></el-checkbox> |
| | | <el-checkbox label="短信"></el-checkbox> |
| | | <el-checkbox label="微信公众号"></el-checkbox> |
| | | <el-checkbox label="微信小程序"></el-checkbox> |
| | | <el-checkbox label="钉钉"></el-checkbox> |
| | | <el-checkbox |
| | | v-for="(item, index) in checkboxlist" |
| | | :key="index" |
| | | :label="item" |
| | | ></el-checkbox> |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | | <el-form-item label="发送时间段:"> |
| | | <el-form-item label="组织形式"> |
| | | <el-radio-group v-model="form.radio"> |
| | | <el-radio :label="3">单人</el-radio> |
| | | <el-radio :label="6">多人</el-radio> |
| | |
| | | </div> |
| | | <div class="examine-jic"> |
| | | <div class="headline"> |
| | | <div>宣教内容列表</div> |
| | | <div>{{ title }}</div> |
| | | </div> |
| | | <div class="examine-jic"> |
| | | <div class="jic-value"> |
| | |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-divider></el-divider> |
| | | <el-table |
| | | v-loading="loading" |
| | | :data="userList" |
| | | @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="宣教名称" |
| | | align="center" |
| | | sortable |
| | | key="name" |
| | | prop="name" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="宣教模板" |
| | | align="center" |
| | | key="impTemplate" |
| | | prop="impTemplate" |
| | | /> |
| | | <el-table-column |
| | | label="创建日期" |
| | | align="center" |
| | | key="create_time" |
| | | prop="create_time" |
| | | /> |
| | | |
| | | <el-table-column |
| | | label="创建人" |
| | | align="center" |
| | | key="update_by" |
| | | prop="update_by" |
| | | sortable |
| | | width="120" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="操作" |
| | | align="center" |
| | | width="120" |
| | | class-name="small-padding fixed-width" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | ><span class="button-zx" |
| | | ><i class="el-icon-s-promotion"></i>开始执行</span |
| | | ></el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="任务详情" |
| | | align="center" |
| | | width="200" |
| | | class-name="small-padding fixed-width" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | ><span class="button-xq" |
| | | ><i class="el-icon-s-data"></i>选择</span |
| | | ></el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | |
| | | <!-- 选择任务列表 --> |
| | | <SFtable |
| | | @handleUpdate="handleUpdate" |
| | | @handleSelectionChange="handleSelectionChange" |
| | | :currentList="userList" |
| | | :tableLabel="tableLabelxj" |
| | | :controlsc="false" |
| | | :multiplechoice="false" |
| | | /> |
| | | <pagination |
| | | v-show="total > 0" |
| | | :total="total" |
| | |
| | | icon="el-icon-plus" |
| | | size="medium" |
| | | :disabled="!tasktopic" |
| | | @click="handleAdd" |
| | | v-hasPermi="['system:user:add']" |
| | | @click="handleAddpatient" |
| | | >新增</el-button |
| | | > |
| | | </el-col> |
| | |
| | | size="medium" |
| | | :disabled="multiple" |
| | | @click="handleDelete" |
| | | v-hasPermi="['system:user:remove']" |
| | | >删除</el-button |
| | | > |
| | | </el-col> |
| | | |
| | | <!-- <el-col :span="1.5"> </el-col> --> |
| | | </el-row> |
| | | <!-- <right-toolbar |
| | | :showSearch.sync="showSearch" |
| | | @queryTable="getList" |
| | | :columns="columns" |
| | | ></right-toolbar> --> |
| | | <el-table |
| | | v-loading="loading" |
| | | :data="userList" |
| | | @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="任务名称" |
| | | align="center" |
| | | sortable |
| | | key="name" |
| | | prop="name" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="服务模板" |
| | | align="center" |
| | | key="impTemplate" |
| | | prop="impTemplate" |
| | | /> |
| | | <el-table-column |
| | | label="创建日期" |
| | | align="center" |
| | | key="create_time" |
| | | prop="create_time" |
| | | /> |
| | | <el-table-column |
| | | label="执行状态" |
| | | align="center" |
| | | key="phonenumber" |
| | | prop="phonenumber" |
| | | width="120" |
| | | /> |
| | | |
| | | <el-table-column |
| | | label="执行状态" |
| | | align="center" |
| | | key="topicnumber" |
| | | prop="topicnumber" |
| | | width="120" |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <div>执行完成/执行失败</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="更新人" |
| | | align="center" |
| | | key="update_by" |
| | | prop="update_by" |
| | | sortable |
| | | width="120" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | |
| | | <el-table-column |
| | | label="更新时间" |
| | | sortable |
| | | align="center" |
| | | prop="update_time" |
| | | width="160" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span>{{ parseTime(scope.row.createTime) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="操作" |
| | | align="center" |
| | | width="120" |
| | | class-name="small-padding fixed-width" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | ><span class="button-zx" |
| | | ><i class="el-icon-s-promotion"></i>开始执行</span |
| | | ></el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="任务详情" |
| | | align="center" |
| | | width="200" |
| | | class-name="small-padding fixed-width" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | ><span class="button-xq" |
| | | ><i class="el-icon-s-data"></i>详情</span |
| | | ></el-button |
| | | > |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | ><span class="button-bb" |
| | | ><i class="el-icon-s-order"></i>报表</span |
| | | ></el-button |
| | | > |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | ><span class="button-sc" |
| | | ><i class="el-icon-delete"></i>删除</span |
| | | ></el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | |
| | | <!-- 选中患者列表 --> |
| | | <SFtable |
| | | @handleUpdate="handleUpdate" |
| | | @handleSelectionChange="handleSelectionChange" |
| | | :currentList="sonuserList" |
| | | :tableLabel="tableLabelhz" |
| | | :controlxz="false" |
| | | /> |
| | | <pagination |
| | | v-show="total > 0" |
| | | :total="total" |
| | |
| | | > |
| | | </el-form-item> |
| | | </el-form> |
| | | |
| | | <el-table |
| | | v-loading="patientloading" |
| | | :data="patientuserList" |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column type="selection" width="50" align="center" /> |
| | | <el-table-column |
| | | label="序号" |
| | | align="center" |
| | | key="patid" |
| | | prop="patid" |
| | | /> |
| | | |
| | | <el-table-column |
| | | label="患者名称" |
| | | align="center" |
| | | sortable |
| | | key="name" |
| | | prop="name" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | |
| | | <el-table-column |
| | | label="患者来源" |
| | | align="center" |
| | | key="source" |
| | | prop="source" |
| | | /> |
| | | <el-table-column |
| | | label="手机号码" |
| | | align="center" |
| | | key="telcode" |
| | | prop="telcode" |
| | | width="120" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | |
| | | <el-table-column |
| | | label="任务详情" |
| | | align="center" |
| | | width="200" |
| | | class-name="small-padding fixed-width" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | ><span class="button-xq" |
| | | ><i class="el-icon-s-data"></i>详情</span |
| | | ></el-button |
| | | > |
| | | |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['system:user:edit']" |
| | | ><span class="button-sc" |
| | | ><i class="el-icon-delete"></i>删除</span |
| | | ></el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <!-- 选择患者列表 --> |
| | | <SFtable |
| | | @handleUpdate="handleUpdate" |
| | | @handleSelectionChange="handleSelectionChange" |
| | | :currentList="patientuserList" |
| | | :tableLabel="tableLabelhz" |
| | | :controlsc="false" |
| | | /> |
| | | </el-row> |
| | | <pagination |
| | | v-show="patienttotal > 0" |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | | listsvr_prjtask, |
| | | getsvr_prjtask, |
| | | addsvr_prjtask, |
| | | updatesvr_prjtask, |
| | | delsvr_prjtask, |
| | | Addpatienttask, |
| | | } from "@/api/smartorpor/svr_prjtask"; |
| | | import { listsvr_prjtask, Addpatienttask } from "@/api/smartorpor/svr_prjtask"; |
| | | import { listpat_archive } from "@/api/smartorpor/pat_archive"; |
| | | import { listsvr_prjtaskline } from "@/api/smartorpor/svr_prjtaskline"; |
| | | import { messagelistpatient } from "@/api/patient/homepage"; |
| | | import SFtable from "@/components/SFtable"; //表格组件 |
| | | |
| | | export default { |
| | | name: "ServiceDetails", |
| | | data() { |
| | | return { |
| | | title: "宣教内容列表", |
| | | currenttype: 1, //1宣教2门诊3出院4复诊5体检6问卷 |
| | | Editprogress: 1, //编辑进度 |
| | | loading: false, // 遮罩层 |
| | | patientloading: false, // 遮罩层 |
| | | dialogVisible: false, //任务详情弹框 |
| | | dialogVisiblepatient: false, //添加患者弹框 |
| | | checkboxlist: [], |
| | | tableLabel: [], |
| | | // 患者表单 |
| | | tableLabelhz: [ |
| | | { label: "患者名称", width: "", prop: "name" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "就诊科室", width: "", prop: "impTemplate" }, |
| | | { label: "入院日期", width: "", prop: "create_time" }, |
| | | { label: "创建人", width: "", prop: "update_by" }, |
| | | ], |
| | | tableLabelxj: [ |
| | | { label: "宣教名称", width: "", prop: "name" }, |
| | | { label: "宣教模版", width: "", prop: "impTemplate" }, |
| | | { label: "创建日期", width: "", prop: "create_time" }, |
| | | { label: "创建人", width: "", prop: "update_by" }, |
| | | ], |
| | | tableLabelmz: [ |
| | | { label: "随访名称", width: "118", prop: "name" }, |
| | | { label: "随访模版", width: "130", prop: "impTemplate" }, |
| | | { label: "创建日期", width: "136", prop: "create_time" }, |
| | | { label: "创建人", width: "130", prop: "update_by" }, |
| | | ], |
| | | tableLabelcy: [ |
| | | { label: "随访名称", width: "118", prop: "name" }, |
| | | { label: "随访计划", width: "130", prop: "impTemplate" }, |
| | | { label: "创建日期", width: "136", prop: "create_time" }, |
| | | { label: "创建人", width: "130", prop: "update_by" }, |
| | | ], |
| | | tableLabelfz: [ |
| | | { label: "通知名称", width: "118", prop: "name" }, |
| | | { label: "通知模版", width: "130", prop: "impTemplate" }, |
| | | { label: "创建日期", width: "136", prop: "create_time" }, |
| | | { label: "创建人", width: "130", prop: "update_by" }, |
| | | ], |
| | | tableLabeltj: [ |
| | | { label: "通知名称", width: "118", prop: "name" }, |
| | | { label: "通知模版", width: "130", prop: "impTemplate" }, |
| | | { label: "创建日期", width: "136", prop: "create_time" }, |
| | | { label: "创建人", width: "130", prop: "update_by" }, |
| | | ], |
| | | tableLabelwj: [ |
| | | { label: "问卷名称", width: "118", prop: "name" }, |
| | | { label: "问卷模版", width: "130", prop: "impTemplate" }, |
| | | { label: "创建日期", width: "136", prop: "create_time" }, |
| | | { label: "创建人", width: "130", prop: "update_by" }, |
| | | ], |
| | | topqueryParams: { |
| | | pageNum: 1, // |
| | | pageSize: 10, |
| | |
| | | // 非多个禁用 |
| | | multiple: true, |
| | | // 用户表格数据 |
| | | userList: null, |
| | | patientuserList: null, |
| | | sonuserList: null, |
| | | userList: [], //模版列表 |
| | | patientuserList: [], //选择患者列表 |
| | | sonuserList: [], //选中患者列表 |
| | | tasktopic: null, //新增类型 |
| | | form: { |
| | | name: "", |
| | |
| | | { |
| | | value: "选项2", |
| | | label: "双皮奶", |
| | | }, |
| | | { |
| | | value: "选项3", |
| | | label: "蚵仔煎", |
| | | }, |
| | | { |
| | | value: "选项4", |
| | | label: "龙须面", |
| | | }, |
| | | { |
| | | value: "选项5", |
| | |
| | | quote: false, |
| | | }; |
| | | }, |
| | | components: { SFtable }, |
| | | |
| | | created() { |
| | | this.Addsubtask(); |
| | | this.Getsubtask(); |
| | | this.Acquisitiontype(); |
| | | }, |
| | | |
| | | methods: { |
| | | // 获取当前类型 |
| | | Acquisitiontype() { |
| | | this.currenttype = this.$route.query.type; |
| | | console.log(this.currenttype); |
| | | if (this.currenttype == 1) { |
| | | this.title = "宣教内容列表"; |
| | | this.tableLabel = this.tableLabelxj; |
| | | this.checkboxlist = [ |
| | | "当面", |
| | | "多媒体", |
| | | "纸质", |
| | | "电话", |
| | | "短信", |
| | | "微信公众号", |
| | | "微信小程序", |
| | | "钉钉", |
| | | ]; |
| | | } else if (this.currenttype == 2) { |
| | | this.title = "随访内容列表"; |
| | | this.tableLabel = this.tableLabelmz; |
| | | this.checkboxlist = ["当面", "纸质", "电话", "短信", "微信公众号"]; |
| | | } else if (this.currenttype == 3) { |
| | | this.title = "随访计划列表"; |
| | | this.tableLabel = this.tableLabelcy; |
| | | this.checkboxlist = ["当面", "纸质", "电话", "短信", "微信公众号"]; |
| | | } else if (this.currenttype == 4) { |
| | | this.title = "通知内容列表"; |
| | | this.tableLabel = this.tableLabelfz; |
| | | this.checkboxlist = ["电话", "短信", "微信公众号"]; |
| | | } else if (this.currenttype == 5) { |
| | | this.title = "通知内容列表"; |
| | | this.tableLabel = this.tableLabeltj; |
| | | this.checkboxlist = ["纸质", "电话", "短信", "微信公众号"]; |
| | | } else if (this.currenttype == 6) { |
| | | this.title = "问卷内容列表"; |
| | | this.tableLabel = this.tableLabelwj; |
| | | this.checkboxlist = [ |
| | | "当面", |
| | | "多媒体", |
| | | "纸质", |
| | | "电话", |
| | | "短信", |
| | | "微信公众号", |
| | | "微信小程序", |
| | | "钉钉", |
| | | ]; |
| | | } |
| | | }, |
| | | // 下一步 |
| | | submitForm(formName) { |
| | | if (this.Editprogress <= 3) { |
| | |
| | | // } |
| | | // }); |
| | | }, |
| | | // 子任务一级弹框 |
| | | handleAdd() { |
| | | this.multiple = true; |
| | | listsvr_prjtaskline(this.deliverytopqueryParams).then((response) => { |
| | | console.log(response); |
| | | this.sonuserList = response.rows; |
| | | this.sontotal = response.total; |
| | | this.loading = false; |
| | | }); |
| | | this.dialogVisible = true; |
| | | }, |
| | | // 子任务二级弹框 |
| | | handleAddpatient() { |
| | | console.log(this.multiple); |
| | | listpat_archive(this.patientqueryParams).then((response) => { |
| | | handleAddpatient(row) { |
| | | console.log(row, "子组件数据"); |
| | | messagelistpatient(this.patientqueryParams).then((response) => { |
| | | console.log(response); |
| | | this.patientuserList = response.rows; |
| | | this.patienttotal = response.total; |
| | |
| | | getList() {}, |
| | | handleQuery() {}, |
| | | resetQuery() {}, |
| | | handleCloserw() { |
| | | this.dialogVisible = false; |
| | | }, |
| | | handleClosehz() { |
| | | this.dialogVisiblepatient = false; |
| | | }, |
| | |
| | | Getsubtask() { |
| | | this.topqueryParams.pguid = 2; |
| | | console.log(this.topqueryParams); |
| | | // this.topqueryParams.pid = this.$route.query.id; |
| | | // console.log(this.topqueryParams.pid); |
| | | listsvr_prjtask(this.topqueryParams).then((res) => { |
| | | messagelistpatient(this.topqueryParams).then((res) => { |
| | | this.userList = res.rows; |
| | | this.total = res.total; |
| | | console.log(this.userList); |
| | |
| | | // 跳转详情页 |
| | | Seedetails() { |
| | | this.$router.push({ |
| | | path: "/followvisit/record/detailpage/", |
| | | query: { id: "1" }, |
| | | path: "/followvisit/particty", |
| | | query: { type: 6 }, |
| | | }); |
| | | }, |
| | | // 导入按钮 |
| | |
| | | // 跳转详情页 |
| | | Seedetails() { |
| | | this.$router.push({ |
| | | path: "/followvisit/record/detailpage/", |
| | | query: { id: "1" }, |
| | | path: "/followvisit/particty", |
| | | query: { type: 4 }, |
| | | }); |
| | | }, |
| | | // 导入按钮 |
| | |
| | | |
| | | methods: { |
| | | /** 查询标签列表 */ |
| | | getList() { |
| | | getList(row) { |
| | | console.log(row); |
| | | console.log(this.queryParams); |
| | | listtag(this.addDateRange(this.queryParams)).then((response) => { |
| | | console.log(response); |
| | | this.total = response.total; |
| | | this.userList = response.rows; |
| | | }); |