WXL
2024-08-19 9bc27231d681cbc1bae6d8f199521d332c9c23f7
src/views/patient/propaganda/Missioncreation.vue
@@ -161,8 +161,10 @@
                    <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>
@@ -453,7 +455,6 @@
        <div class="jic-value">
          <el-row :gutter="20">
            <!--用户数据-->
            <el-form
              :model="topqueryParams"
              ref="queryForm"
@@ -802,6 +803,7 @@
    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();
@@ -846,7 +848,56 @@
      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;
@@ -859,8 +910,8 @@
    },
    // 保存
    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("请选择病人");
@@ -1095,7 +1146,8 @@
              ? 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) {
@@ -1216,7 +1268,7 @@
    // 查看模版
    previewGo() {
      this.$router.push({
        path: "/knowledge/templateku/configurat/",
        path: "/knowledge/tpuconfigurat/",
        query: { id: this.previewid, task: true, data: this.form },
      });
    },