| | |
| | | data: data |
| | | }); |
| | | } |
| | | // 短信发送 |
| | | export function sendMsg(data) { |
| | | return request({ |
| | | url: "/smartor/smsaccount/sendMsg", |
| | | method: "post", |
| | | data: data |
| | | }); |
| | | } |
| | | |
| | |
| | | <el-input style="width: 400px" disabled v-model="form.age"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="电话"> |
| | | <el-input style="width: 400px" disabled v-model="userform.telcode"></el-input> |
| | | <el-input |
| | | style="width: 400px" |
| | | disabled |
| | | v-model="userform.telcode" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="科室"> |
| | | <el-input |
| | |
| | | this.templateid = this.logsheetlist[0].templateid; |
| | | console.log(this.form.serviceType, "serviceType"); |
| | | } |
| | | this.getuserinfo() |
| | | this.getuserinfo(); |
| | | if (this.Voicetype) { |
| | | this.getPersonVoices(); |
| | | } else { |
| | |
| | | } |
| | | }); |
| | | }, |
| | | // 创建再次随访服务 |
| | | // 发送随访后短信 |
| | | setupsubtask() { |
| | | sendMsg({phoneNumber:this.userform.telcode,content:this.form.content}).then((res) => { |
| | | |
| | | sendMsg({ |
| | | phoneNumber: this.userform.telcode, |
| | | content: this.form.content, |
| | | }).then((res) => { |
| | | if (res.code == 200) { |
| | | this.$modal.msgSuccess("发送成功"); |
| | | } else { |
| | |
| | | /** 重置按钮操作 */ |
| | | resetQuery() { |
| | | this.dateRange = []; |
| | | this.resetForm("queryForm"); |
| | | this.$refs.tree.setCurrentKey(null); |
| | | this.queryParams= { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | cry: 0, |
| | | searchscope:2, |
| | | idcardno: undefined, |
| | | name: undefined, |
| | | status: undefined, |
| | | tagIds: undefined, |
| | | telcode: undefined, |
| | | }; |
| | | // this.resetForm("queryForm"); |
| | | // this.$refs.tree.setCurrentKey(null); |
| | | this.handleQuery(); |
| | | }, |
| | | // 多选框选中数据 |
| | |
| | | v-model="pickertime" |
| | | type="daterange" |
| | | range-separator="至" |
| | | value-format="yyyy-MM-dd" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | | > |
| | |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | | this.queryParams.starttime=pickertime[0]; |
| | | this.queryParams.endtime=pickertime[1]; |
| | | this.queryParams.starttime=this.pickertime[0]; |
| | | this.queryParams.endtime=this.pickertime[1]; |
| | | this.getList(); |
| | | }, |
| | | /** 重置按钮操作 */ |
| | |
| | | icon="el-icon-refresh" |
| | | size="medium" |
| | | @click="resetQuery" |
| | | >取消创建</el-button |
| | | >重置</el-button |
| | | > |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | // label: "监测评估", |
| | | // }, |
| | | { |
| | | value: "2", |
| | | value: 2, |
| | | label: "出院随访", |
| | | }, |
| | | { |
| | | value: "3", |
| | | value: 3, |
| | | label: "门诊随访", |
| | | }, |
| | | { |
| | | value: "4", |
| | | value: 4, |
| | | label: "宣教关怀", |
| | | }, |
| | | { |
| | | value: "5", |
| | | value: 5, |
| | | label: "复诊管理", |
| | | }, |
| | | { |
| | | value: "6", |
| | | value: 6, |
| | | label: "满意度调查", |
| | | }, |
| | | { |
| | | value: "7", |
| | | value: 7, |
| | | label: "患者报告", |
| | | }, |
| | | // { |
| | |
| | | }, |
| | | // 获取当前类型 |
| | | Acquisitiontype() { |
| | | let queryParams = { |
| | | pageNum: this.topqueryParams.pageNum, |
| | | pageSize: this.topqueryParams.pageSize, |
| | | isenable: "", |
| | | }; |
| | | this.currenttype = this.$route.query.type; |
| | | this.title = "问卷内容列表"; |
| | | this.tableLabel = this.tableLabelwj; |
| | |
| | | // }, |
| | | ]; |
| | | } |
| | | console.log(this.topqueryParams, "this.topqueryParams"); |
| | | |
| | | getQtemplatelist(this.topqueryParams).then((response) => { |
| | | this.userList = response.rows; |
| | | this.total = response.total; |
| | |
| | | }); |
| | | }, |
| | | |
| | | resetQuery() {}, |
| | | resetQuery() { |
| | | this.patientqueryParams= { |
| | | pageNum: 1, // |
| | | pageSize: 10, |
| | | }; |
| | | console.log(this.patientqueryParams,'this.patientqueryParams'); |
| | | |
| | | this.handleQuery() |
| | | }, |
| | | handleQuerymb() { |
| | | getQtemplatelist(this.topqueryParams).then((response) => { |
| | | this.userList = response.rows; |