| | |
| | | title="宣教对象" |
| | | description="在本部选择宣教病人" |
| | | ></el-step> |
| | | <el-step |
| | | icon="el-icon-user" |
| | | title="模版确认" |
| | | ></el-step> |
| | | </el-steps> |
| | | </div> |
| | | </div> |
| | |
| | | <el-form ref="form" :model="form" label-width="105px"> |
| | | <el-form-item label="模版名称:"> |
| | | <el-input |
| | | :disabled="true" |
| | | style="width: 220px" |
| | | v-model="form.bt" |
| | | v-model="form.preachname" |
| | | placeholder="请在下方选择" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="发送时间:" v-if="currenttype != 2"> |
| | | <el-form-item label="发送设置:" v-if="currenttype != 2"> |
| | | <el-radio-group v-model="radio"> |
| | | <el-radio :label="1">时间段发送</el-radio> |
| | | <el-radio :label="2">时间点发送</el-radio> |
| | | <el-radio :label="3">即刻发送</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | <el-form-item |
| | | label="发送时间点:" |
| | | v-if="currenttype != 2 && radio == 2" |
| | | > |
| | | <el-date-picker |
| | | v-model="form.name" |
| | | type="date" |
| | | placeholder="选择日期" |
| | | v-model="form.sendTime" |
| | | type="datetime" |
| | | placeholder="选择日期时间" |
| | | default-time="13:00:00" |
| | | > |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item label="发送时间段:" v-if="currenttype != 2"> |
| | | <el-form-item |
| | | label="发送时间段:" |
| | | v-if="currenttype != 2 && radio == 1" |
| | | > |
| | | <el-checkbox-group v-model="checkList"> |
| | | <el-checkbox label="上午(8:30-11:30)"></el-checkbox> |
| | | <el-checkbox label="下午(14:30-16:30)"></el-checkbox> |
| | | <el-checkbox label="夜间(18:30-20:30)"></el-checkbox> |
| | | <el-checkbox label="不定时"></el-checkbox> |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | | <el-form-item label="服务形式"> |
| | |
| | | ></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> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | <el-form-item label="语音模版" prop="region"> |
| | | </el-form-item> --> |
| | | <!-- <el-form-item label="语音模版" prop="region"> |
| | | <el-select v-model="form.region" placeholder="请选择模版"> |
| | | <el-option label="一号模版" value="shanghai"></el-option> |
| | | <el-option label="二号模版" value="beijing"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-form-item> --> |
| | | </el-form> |
| | | </div> |
| | | </div> |
| | |
| | | :tableLabel="tableLabel" |
| | | :controlsc="false" |
| | | :multiplechoice="false" |
| | | :typeinfo="1" |
| | | /> |
| | | <pagination |
| | | v-show="total > 0" |
| | |
| | | <el-row :gutter="10" class="mb8"> |
| | | <el-col :span="1.5"> |
| | | <el-select |
| | | v-model="tasktopic" |
| | | v-model="patientqueryParams.allhosp" |
| | | placeholder="请选择新增类型" |
| | | > |
| | | <el-option |
| | |
| | | plain |
| | | icon="el-icon-plus" |
| | | size="medium" |
| | | :disabled="!tasktopic" |
| | | :disabled="!patientqueryParams.allhosp" |
| | | @click="handleAddpatient" |
| | | >新增</el-button |
| | | > |
| | |
| | | :currentList="sonuserList" |
| | | :tableLabel="tableLabelhz" |
| | | :controlxz="false" |
| | | :typeinfo="2" |
| | | /> |
| | | <pagination |
| | | v-show="total > 0" |
| | |
| | | @handleSelectionChange="handleSelectionChange" |
| | | :currentList="patientuserList" |
| | | :tableLabel="tableLabelhz" |
| | | :serialnumber="false" |
| | | :controlsc="false" |
| | | :typeinfo="3" |
| | | /> |
| | | </el-row> |
| | | <pagination |
| | |
| | | |
| | | <script> |
| | | import { messagelistpatient } from "@/api/patient/homepage"; |
| | | import store from "@/store"; |
| | | import { |
| | | getTaskpatient, |
| | | getlibrarylist, |
| | |
| | | loading: false, // 遮罩层 |
| | | patientloading: false, // 遮罩层 |
| | | dialogVisiblepatient: false, //添加患者弹框 |
| | | radio: 1, |
| | | checkboxlist: [], |
| | | tableLabel: [], |
| | | // 患者表单 |
| | | tableLabelhz: [ |
| | | { label: "序号", width: "", prop: "patid" }, |
| | | { label: "患者名称", width: "", prop: "name" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | |
| | | this.Addsubtask(); |
| | | this.Getsubtask(); |
| | | this.Acquisitiontype(); |
| | | |
| | | }, |
| | | |
| | | methods: { |
| | |
| | | pageSize: 10, |
| | | isavailable: "", |
| | | }; |
| | | getTaskpatient({ allhosp: 1 }).then((res) => { |
| | | console.log(res); |
| | | }); |
| | | this.currenttype = this.$route.query.type; |
| | | console.log(this.currenttype); |
| | | console.log(this.currenttype, "1"); |
| | | if (this.currenttype == 1) { |
| | | this.title = "宣教内容列表"; |
| | | this.tableLabel = this.tableLabelxj; |
| | |
| | | }, |
| | | // 子任务二级弹框 |
| | | handleAddpatient(row) { |
| | | console.log(row, "子组件数据"); |
| | | messagelistpatient(this.patientqueryParams).then((response) => { |
| | | getTaskpatient(this.patientqueryParams).then((response) => { |
| | | console.log(response); |
| | | this.patientuserList = response.rows; |
| | | this.patienttotal = response.total; |
| | |
| | | // 查询子任务列表 |
| | | Getsubtask() { |
| | | this.topqueryParams.pguid = 2; |
| | | console.log(this.topqueryParams); |
| | | console.log(this.topqueryParams, "aa"); |
| | | messagelistpatient(this.topqueryParams).then((res) => { |
| | | this.userList = res.rows; |
| | | this.total = res.total; |
| | | console.log(this.userList); |
| | | console.log(this.userList, "ss"); |
| | | }); |
| | | }, |
| | | // 变量--------------- |