WXL
2024-09-09 4e6c841dd09baff7fafb0e21fec36ee7faf61588
测试完成
已修改16个文件
177 ■■■■■ 文件已修改
dist.zip 补丁 | 查看 | 原始文档 | blame | 历史
src/api/AiCentre/external.js 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/complaint/complaintmy/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/record/detailpage/index.vue 75 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/satisfaction/particulars/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/outsideChainwt.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/patient/behospitalized.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/patient/hospital.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/patient/outpatient.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/patient/physical.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/patient/profile/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/QuestionnaireTask.vue 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/intention/index.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/dept/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/user/index.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
dist.zip
Binary files differ
src/api/AiCentre/external.js
@@ -53,3 +53,11 @@
    data: data
  });
}
// 获取问卷(内)
export function getsearchrResults(data) {
  return request({
    url: "/smartor/subtaskAnswer/selectPatQuestionResult",
    method: "post",
    data: data
  });
}
src/views/complaint/complaintmy/index.vue
@@ -230,7 +230,7 @@
              <div style="margin-top: 15px">
                <el-input
                  placeholder="请输入手机号"
                  v-model="form.input3"
                  v-model="form.telcode"
                  class="input-with-select"
                >
                  <el-button slot="append" icon="el-icon-search"></el-button>
src/views/followvisit/record/detailpage/index.vue
@@ -3,23 +3,16 @@
  <div class="Followupdetailspage">
    <div class="Followuserinfo">
      <div>
        <div class="userinfo-text">{{ sendname }}<span>患者服务详情详情</span>
        <div class="userinfo-text">
          {{ sendname }}<span>患者服务详情</span>
          <!-- <el-button type="success">随访后短信</el-button> -->
        </div>
      </div>
      <div>
        <el-table :data="logsheetlist" style="width: 100%">
          <el-table-column
            prop="sendname"
            align="center"
            label="姓名"
          >
          <el-table-column prop="sendname" align="center" label="姓名">
          </el-table-column>
          <el-table-column
            prop="sendstate"
            align="center"
            label="服务状态"
          >
          <el-table-column prop="sendstate" align="center" label="服务状态">
          </el-table-column>
          <el-table-column
            prop="updateTime"
@@ -29,8 +22,13 @@
            show-overflow-tooltip
          >
          </el-table-column>
          <el-table-column prop="taskName" align="center" width="200"
          show-overflow-tooltip label="任务名称">
          <el-table-column
            prop="taskName"
            align="center"
            width="200"
            show-overflow-tooltip
            label="任务名称"
          >
          </el-table-column>
          <el-table-column
            prop="templatename"
@@ -85,7 +83,11 @@
          v-for="(item, index) in tableDatatop"
          :key="item.aaa"
        >
          <div class="scriptTopic-dev" :key="index" v-if="item.scriptType == 1">
                <div
                  class="scriptTopic-dev"
                  :key="index"
                  v-if="item.scriptType == 1"
                >
            <div class="dev-text">
              {{ index + 1 }}、[单选]<span>{{ item.scriptContent }}</span>
            </div>
@@ -95,7 +97,9 @@
                @change="handleOptionChange($event, index, item)"
              >
                <el-radio
                  v-for="(items, index) in item.svyLibTemplateTargetoptions"
                        v-for="(
                          items, index
                        ) in item.svyLibTemplateTargetoptions"
                  :key="index"
                  :label="items.optioncontent"
                  >{{ items.optioncontent }}</el-radio
@@ -107,7 +111,11 @@
            </div>
          </div>
          <!-- 多选 -->
          <div class="scriptTopic-dev" :key="index" v-if="item.scriptType == 2">
                <div
                  class="scriptTopic-dev"
                  :key="index"
                  v-if="item.scriptType == 2"
                >
            <div class="dev-text">
              {{ index + 1 }}、[多选]<span>{{ item.scriptContent }}</span>
            </div>
@@ -118,7 +126,9 @@
              >
                <el-checkbox
                  @change="$forceUpdate()"
                  v-for="(items, indexs) in item.svyLibTemplateTargetoptions"
                        v-for="(
                          items, indexs
                        ) in item.svyLibTemplateTargetoptions"
                  :key="indexs"
                  :label="items.optioncontent"
                >
@@ -131,7 +141,11 @@
            </div>
          </div>
          <!-- 填空 -->
          <div class="scriptTopic-dev" :key="index" v-if="item.scriptType == 4">
                <div
                  class="scriptTopic-dev"
                  :key="index"
                  v-if="item.scriptType == 4"
                >
            <div class="dev-text">
              {{ index + 1 }}、[问答]<span>{{ item.scriptContent }}</span>
            </div>
@@ -157,7 +171,8 @@
          <div class="borderdiv">
            <div>
              <div class="leftside">
                <i class="el-icon-phone-outline"></i><span>您今天身体情况怎么样</span>
                <i class="el-icon-phone-outline"></i
                ><span>您今天身体情况怎么样</span>
              </div>
              <div class="offside">
                <i class="el-icon-user"></i>
@@ -178,11 +193,7 @@
</template>
<script>
import {
  getsearchrResult,
  getTaskservelist,
} from "@/api/AiCentre/index";
import { getsearchrResults, getTaskservelist } from "@/api/AiCentre/index";
export default {
  data() {
    return {
@@ -190,7 +201,7 @@
      userid: "",
      input: "今天身体还不错",
      radio: "2",
      taskname:'',
      taskname: "",
      tableDatatop: [],//题目表
      logsheetlist:[],
      sendname:null,
@@ -205,20 +216,26 @@
    this.sendname=this.$route.query.sendname;
    this.patid=this.$route.query.patid;
    this.serviceType=this.$route.query.serviceType;
    this.getsearchrResult();
    this.getsearchrResults();
    this.getTaskservelist();
  },
  methods: {
    // 获取问卷数据
    getsearchrResult(){
      getsearchrResult({
    getsearchrResults() {
      getsearchrResults({
        taskid:this.taskid,
        patid:this.patid,
      }).then((res) => {
        if (res.code === 200) {
          this.tableDatatop = res.data.scriptResult.script;
          this.tableDatatop.forEach((item) => {
            if (item.scriptResult && item.scriptType != 2) {
              item.scriptResult = JSON.parse(item.scriptResult);
            } else if (item.scriptResult && item.scriptType == 2) {
              item.scriptResult = item.scriptResult.split("&");
            }
          });
          this.taskname = res.data.taskName;
        }
      });
src/views/followvisit/satisfaction/particulars/index.vue
@@ -478,7 +478,7 @@
        { label: "门诊编号", width: "", prop: "name" },
        { label: "姓名", width: "", prop: "name" },
        { label: "年龄", width: "", prop: "age" },
        { label: "联系电话", width: "", prop: "name" },
        { label: "联系电话", width: "", prop: "telcode" },
        { label: "就诊科室", width: "", prop: "impTemplate" },
        { label: "诊断", width: "", prop: "name" },
        { label: "出院时间", width: "", prop: "name" },
@@ -492,7 +492,7 @@
        { label: "门诊编号", width: "", prop: "name" },
        { label: "姓名", width: "", prop: "name" },
        { label: "年龄", width: "", prop: "age" },
        { label: "联系电话", width: "", prop: "name" },
        { label: "联系电话", width: "", prop: "telcode" },
        { label: "就诊科室", width: "", prop: "impTemplate" },
        { label: "诊断", width: "", prop: "name" },
        { label: "出院时间", width: "", prop: "name" },
@@ -506,7 +506,7 @@
        { label: "员工编号", width: "", prop: "name" },
        { label: "姓名", width: "", prop: "name" },
        { label: "年龄", width: "", prop: "age" },
        { label: "联系电话", width: "", prop: "name" },
        { label: "联系电话", width: "", prop: "telcode" },
        { label: "所在科室", width: "", prop: "impTemplate" },
        { label: "完成时间", width: "", prop: "create_time" },
        { label: "状态", width: "", prop: "sex" },
src/views/outsideChainwt.vue
@@ -82,17 +82,17 @@
    <div class="CONTENT" v-else>
      <div class="preview-left" style="margin-top: 100px;">
        <div style="font-size: 24px;color: #175997; font-weight: 600; margin-bottom: 10px;">感谢您的配合!</div>
        <div style="font-size: 20px;">那好的,您说的这些情况我都记下来了,您这边记得要按照医生说的复诊时间来院复查。建议您合理营养,饮食清淡,多吃富含纤维素的食物,避免辛辣刺激性食物,适度的康复锻炼,如散步、踝泵运动等,预防血栓形成。如果有任何不适或疑问,也请随时与我们联系。那本次回访到此结束,祝您身体健康!</div>
        <div style="font-size: 20px;">{{ revisitAfter }}</div>
      </div>
    </div>
    <el-dialog
    <!-- <el-dialog
      :visible.sync="dialogVisible"
      width="50%"
    >
      <div>
        <el-alert :title="revisitAfter" type="success"> </el-alert>
      </div>
    </el-dialog>
    </el-dialog> -->
  </div>
</template>
@@ -225,6 +225,7 @@
          if (this.revisitAfter) {
            this.dialogVisible=true
          }
          this.accomplish=true;
          this.$modal.msgSuccess("提交成功");
        }
      });
@@ -248,7 +249,6 @@
      form.svyLibTemplateScriptVOS = arr;
      Cachequestionnaire(form).then((res) => {
        if (res.code == 200) {
          this.$modal.msgSuccess("提交成功");
          if (subm) {
            this.submitForm();
          }
src/views/patient/patient/behospitalized.vue
@@ -198,8 +198,8 @@
          <el-table-column
            label="联系电话"
            align="center"
            key="telephone"
            prop="telephone"
            key="telcode"
            prop="telcode"
            width="120"
          />
src/views/patient/patient/hospital.vue
@@ -198,8 +198,8 @@
          <el-table-column
            label="联系电话"
            align="center"
            key="telephone"
            prop="telephone"
            key="telcode"
            prop="telcode"
            width="120"
          />
src/views/patient/patient/outpatient.vue
@@ -187,8 +187,8 @@
          <el-table-column
            label="联系电话"
            align="center"
            key="telephone"
            prop="telephone"
            key="telcode"
            prop="telcode"
            width="120"
          />
          <!-- <el-table-column
src/views/patient/patient/physical.vue
@@ -187,10 +187,10 @@
            width="120"
          />
          <el-table-column
            label="联系电话(缺)"
            label="联系电话"
            align="center"
            key="telephone"
            prop="telephone"
            key="telcode"
            prop="telcode"
            width="120"
          />
          <el-table-column
src/views/patient/patient/profile/index.vue
@@ -405,8 +405,8 @@
          <el-table-column
            label="联系电话"
            align="center"
            key="telephone"
            prop="telephone"
            key="telcode"
            prop="telcode"
            width="120"
          />
          <el-table-column
@@ -723,7 +723,7 @@
          <el-input v-model="numberform.contactname"></el-input>
        </el-form-item>
        <el-form-item label="联系电话">
          <el-input v-model="numberform.contactway"></el-input>
          <el-input v-model="numberform.telcode"></el-input>
        </el-form-item>
        <el-form-item label="关系">
          <el-input v-model="numberform.relation"></el-input>
src/views/patient/propaganda/QuestionnaireTask.vue
@@ -416,10 +416,10 @@
    </el-dialog>
    <el-dialog title="模板预览" :visible.sync="previewtf" width="60%">
      <div class="preview-left">
        <div v-for="item in questionList">
        <!-- 单选 -->
        <div
          class="scriptTopic-dev"
          v-for="item in questionList"
          :key="item.sort"
          v-if="item.scriptType == 1"
        >
@@ -440,18 +440,18 @@
        <!-- 多选 -->
        <div
          class="scriptTopic-dev"
          v-for="item in questionList"
            :key="item.sort"
          v-if="item.scriptType == 2"
        >
          <div class="dev-text">
            {{ item.sort }}、[多选]<span>{{ item.scriptContent }}</span>
          </div>
          <div class="dev-xx">
            <el-checkbox-group v-model="multiplechoice">
              <el-checkbox-group v-model="qremark">
              <el-checkbox
                v-for="items in item.svyLibTemplateTargetoptions"
                :key="items.optioncontent"
                :label="items.optioncontent"
                  v-for="(items, index) in item.svyLibTemplateTargetoptions"
                  :key="index"
                  :label="index"
              >
                {{ items.optioncontent }}
              </el-checkbox>
@@ -461,21 +461,21 @@
        <!-- 填空 -->
        <div
          class="scriptTopic-dev"
          v-for="item in questionList"
          :key="item.sort"
          v-if="item.scriptType == 4"
        >
          <div class="dev-text">
            {{ item.sort }}、[填空]<span>{{ item.scriptContent }}</span>
              {{ item.sort }}、[问答]<span>{{ item.scriptContent }}</span>
          </div>
          <div class="dev-xx">
            <el-input placeholder="请输入答案" v-model="item.radioas" clearable>
              <el-input placeholder="请输入答案" v-model="radioas" clearable>
            </el-input>
          </div>
        </div>
      </div>
      </div>
      <span slot="footer" class="dialog-footer">
        <el-button @click="previewGo">前往模板详情修改</el-button>
        <!-- <el-button @click="previewGo">前往模板详情修改</el-button> -->
        <el-button type="primary" @click="previewFn">确认使用</el-button>
      </span>
    </el-dialog>
@@ -963,11 +963,13 @@
    submitForm(formName) {
      if (this.time4 && this.form.sendType == 3)
        this.form.showTimeMorn = this.time4;
      this.form.sendTimeslot = [{
      this.form.sendTimeslot = [
        {
        begantime: this.time4,
        endtime: "",
        xh: 1,
      }];
        },
      ];
      if (this.checkList[0]) {
        this.form.preachform = this.checkList.join(",");
      } else {
@@ -1026,6 +1028,8 @@
        this.libId = row.svyid;
        this.Tasktemplate = row;
        this.questionList = row.svyTemplateLibScripts;
        console.log(row.svyTemplateLibScripts);
        this.previewtf = true;
        this.previewid = row.svyid;
        this.Variablehandling(row.svyTemplateLibScripts, 1);
@@ -1040,7 +1044,6 @@
      getQtemplatelist({ svyid: this.form.libtemplateid }).then((res) => {
        if (res.code == 200) {
          console.log();
          this.questionList = res.rows[0].svyTemplateLibScripts;
          this.previewtf = true;
        }
@@ -1229,7 +1232,8 @@
            this.overallCase = this.form.patTaskRelevances.concat();
            this.checkList = this.form.preachform.split(",");
            console.log(this.form, "this.form");
            if (this.form.showDate)this.daytime = this.form.showDate.split(",");
            if (this.form.showDate)
              this.daytime = this.form.showDate.split(",");
            if (this.form.showTimeMorn) {
              if (this.form.sendType == 3) {
                this.time4 = this.form.showTimeMorn;
src/views/repositoryai/intention/index.vue
@@ -809,9 +809,6 @@
        targetdesc: [
          { required: true, message: "指标描述不能为空", trigger: "blur" },
        ],
        dynamicTags: [
          { required: true, message: "标签不能为空", trigger: "blur" },
        ],
        valueType: [
          { required: true, message: "值类型不能为空", trigger: "blur" },
        ],
src/views/system/dept/index.vue
@@ -184,9 +184,9 @@
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="联系电话" prop="phone">
            <el-form-item label="联系电话" prop="telcode">
              <el-input
                v-model="form.phone"
                v-model="form.telcode"
                placeholder="请输入联系电话"
                maxlength="11"
              />
src/views/system/user/index.vue
@@ -737,14 +737,15 @@
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      getUser().then((response) => {
        this.postOptions = response.posts;
        this.roleOptions = response.roles;
        this.open = true;
        this.title = "添加用户";
        this.form.password = this.initPassword;
        this.form.depts = [];
      });
      // getUser().then((response) => {
      //   this.postOptions = response.posts;
      //   this.roleOptions = response.roles;
      // });
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
vue.config.js
@@ -9,7 +9,7 @@
const name = process.env.VUE_APP_TITLE || '患者智慧服务系统' // 网页标题
const port = process.env.port || process.env.npm_config_port || 8096 // 端口
const port = process.env.port || process.env.npm_config_port || 8093 // 端口
// vue.config.js 配置说明
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
@@ -35,9 +35,9 @@
    proxy: {
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        target: `http://192.168.1.10:8095`,
        // target: `http://192.168.1.10:8095`,
        // target:`http://localhost:8095`,
        // target: `http://192.168.101.135:8095`,
        target: `http://192.168.101.135:8095`,
        changeOrigin: true,
        pathRewrite: {
          ['^' + process.env.VUE_APP_BASE_API]: ''