| | |
| | | </div> |
| | | <div class="jic-value"> |
| | | <el-form ref="form" :model="form" label-width="105px"> |
| | | <el-form-item label="发送时间:"> |
| | | <el-form-item label="发送时间:" v-if="currenttype != 2"> |
| | | <el-date-picker |
| | | v-model="form.name" |
| | | type="date" |
| | |
| | | > |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item label="发送时间段:"> |
| | | <el-form-item label="发送时间段:" v-if="currenttype != 2"> |
| | | <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-form-item> |
| | | <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 :label="3">单人宣教</el-radio> |
| | | <el-radio :label="6">多人集中宣教</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | <el-form-item label="语音模版" prop="region"> |
| | |
| | | v-show="showSearch" |
| | | label-width="98px" |
| | | > |
| | | <el-form-item label="宣教主题"> |
| | | <el-form-item label="宣教主题" v-if="currenttype == 1"> |
| | | <el-input v-model="topqueryParams.name"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="适用疾病"> |
| | | <el-form-item |
| | | label="随访名称" |
| | | v-if="currenttype == 2 || currenttype == 3" |
| | | > |
| | | <el-input |
| | | v-model="topqueryParams.name" |
| | | ></el-input> </el-form-item |
| | | ><el-form-item |
| | | label="通知名称" |
| | | v-if="currenttype == 4 || currenttype == 5" |
| | | > |
| | | <el-input |
| | | v-model="topqueryParams.name" |
| | | ></el-input> </el-form-item |
| | | ><el-form-item label="体检套餐" v-if="currenttype == 5"> |
| | | <el-input v-model="topqueryParams.name"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="问卷主题" v-if="currenttype == 6"> |
| | | <el-input v-model="topqueryParams.name"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="适用疾病" v-if="currenttype != 5"> |
| | | <el-input v-model="topqueryParams.name"></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="宣教类型" prop="status"> |
| | | <el-form-item |
| | | label="宣教类型" |
| | | prop="status" |
| | | v-if="currenttype == 1" |
| | | > |
| | | <el-select |
| | | v-model="topqueryParams.topic" |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | | v-for="item in taskoptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item |
| | | label="通知类型" |
| | | prop="status" |
| | | v-if="currenttype == 4 || currenttype == 5" |
| | | > |
| | | <el-select |
| | | v-model="topqueryParams.topic" |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | | v-for="item in taskoptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item |
| | | label="随访类型" |
| | | prop="status" |
| | | v-if="currenttype == 2 || currenttype == 3" |
| | | > |
| | | <el-select |
| | | v-model="topqueryParams.topic" |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | | v-for="item in taskoptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item |
| | | label="问卷类型" |
| | | prop="status" |
| | | v-if="currenttype == 6" |
| | | > |
| | | <el-select |
| | | v-model="topqueryParams.topic" |
| | | placeholder="请选择" |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | 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"; //表格组件 |
| | | |
| | |
| | | ], |
| | | tableLabelxj: [ |
| | | { label: "宣教名称", width: "", prop: "name" }, |
| | | { label: "宣教类型", width: "", prop: "nametype" }, |
| | | { label: "宣教模版", width: "", prop: "impTemplate" }, |
| | | { label: "创建日期", width: "", prop: "create_time" }, |
| | | { label: "创建人", width: "", prop: "update_by" }, |
| | |
| | | taskoptions: [ |
| | | { |
| | | value: "1", |
| | | label: "通知", |
| | | label: "出院病人", |
| | | }, |
| | | { |
| | | value: "2", |
| | | label: "随访", |
| | | label: "门诊病人", |
| | | }, |
| | | { |
| | | value: "3", |
| | | label: "问卷", |
| | | }, |
| | | { |
| | | value: "4", |
| | | label: "宣教", |
| | | label: "体检病人", |
| | | }, |
| | | ], |
| | | quote: false, |
| | |
| | | "短信", |
| | | "微信公众号", |
| | | "微信小程序", |
| | | "支付宝", |
| | | "智能小程序", |
| | | "钉钉", |
| | | ]; |
| | | } else if (this.currenttype == 2) { |
| | |
| | | let objictpint = {}; |
| | | objictpint.patientes = this.ids; |
| | | objictpint.pguid = 2; |
| | | Addpatienttask(objictpint).then((res) => { |
| | | console.log(res); |
| | | }); |
| | | // Addpatienttask(objictpint).then((res) => { |
| | | // console.log(res); |
| | | // }); |
| | | this.dialogVisiblepatient = false; |
| | | }, |
| | | |