| | |
| | | <el-checkbox |
| | | v-for="(item, index) in checkboxlist" |
| | | :key="index" |
| | | :label="item" |
| | | ></el-checkbox> |
| | | :label="item.value" |
| | | > |
| | | {{ item.label }}</el-checkbox |
| | | > |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | <div class="jic-value"> |
| | | <el-row :gutter="20"> |
| | | <!--用户数据--> |
| | | |
| | | <el-form |
| | | :model="topqueryParams" |
| | | ref="queryForm" |
| | |
| | | this.id = this.$route.query.id; |
| | | this.form.type = this.$route.query.type; |
| | | this.form.typename = this.$route.query.typename; |
| | | this.form.serviceType = Number(this.$route.query.serviceType); |
| | | this.listDept(); |
| | | this.Acquisitiontype(); |
| | | this.Getdetails(); |
| | |
| | | this.currenttype = this.$route.query.type; |
| | | this.title = "宣教内容列表"; |
| | | this.tableLabel = this.tableLabelxj; |
| | | this.checkboxlist = ["短信", "微信", "人工电话", "智能机器人"]; |
| | | if (this.form.serviceType == 4) { |
| | | this.checkboxlist = [ |
| | | { |
| | | value: "2", |
| | | label: "纸质", |
| | | }, |
| | | |
| | | { |
| | | value: "4", |
| | | label: "短信", |
| | | }, |
| | | { |
| | | value: "5", |
| | | label: "微信公众号", |
| | | }, |
| | | { |
| | | value: "6", |
| | | label: "微信小程序", |
| | | }, |
| | | |
| | | { |
| | | value: "8", |
| | | label: "智能机器人", |
| | | }, |
| | | ]; |
| | | } else if (this.form.serviceType == 8) { |
| | | this.checkboxlist = [ |
| | | { |
| | | value: "4", |
| | | label: "短信", |
| | | }, |
| | | { |
| | | value: "5", |
| | | label: "微信公众号", |
| | | }, |
| | | { |
| | | value: "6", |
| | | label: "微信小程序", |
| | | }, |
| | | |
| | | { |
| | | value: "8", |
| | | label: "智能机器人", |
| | | }, |
| | | { |
| | | value: "9", |
| | | label: "钉钉", |
| | | }, |
| | | ]; |
| | | } |
| | | getlibrarylist(queryParams).then((response) => { |
| | | this.userList = response.rows; |
| | | this.total = response.total; |
| | |
| | | }, |
| | | // 保存 |
| | | submitForm(formName) { |
| | | // this.form.preachform = this.checkList.join(","); |
| | | this.formatFn(1); |
| | | this.form.preachform = this.checkList.join(","); |
| | | // this.formatFn(1); |
| | | this.form.hospType = this.currenttype; |
| | | if (!this.form.patTaskRelevances[0]) { |
| | | this.$modal.msgError("请选择病人"); |
| | |
| | | ? this.form.patTaskRelevances |
| | | : []; |
| | | this.overallCase = this.form.patTaskRelevances.concat(); |
| | | this.formatFn(2); |
| | | this.checkList = this.form.preachform.split(","); |
| | | |
| | | console.log(this.form.showDate, "this.form"); |
| | | this.daytime = this.form.showDate.split(","); |
| | | if (this.form.showTimeMorn) { |
| | |
| | | // 查看模版 |
| | | previewGo() { |
| | | this.$router.push({ |
| | | path: "/knowledge/templateku/configurat/", |
| | | path: "/knowledge/tpuconfigurat/", |
| | | query: { id: this.previewid, task: true, data: this.form }, |
| | | }); |
| | | }, |