WXL (wul)
19 小时以前 83928adb1c68a4093e7457db248760b8ad1b4f22
测试完成
已删除3个文件
已修改6个文件
185 ■■■■■ 文件已修改
dist (2).zip 补丁 | 查看 | 原始文档 | blame | 历史
dist (3).zip 补丁 | 查看 | 原始文档 | blame | 历史
dist.zip 补丁 | 查看 | 原始文档 | blame | 历史
src/components/AskRegular/index.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/Regular/index.vue 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Satisfaction/configurationmyd/index.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/patient/hospital.vue 125 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/QuestionnaireTask.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/particty.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
dist (2).zip
Binary files differ
dist (3).zip
Binary files differ
dist.zip
Binary files differ
src/components/AskRegular/index.vue
@@ -14,10 +14,18 @@
        ></el-col>
        <el-col :span="12"
          ><el-form-item label="异常提醒">
            <el-radio-group v-model="radio">
              <el-radio :label="3">是</el-radio>
              <el-radio :label="6">否</el-radio>
            </el-radio-group>
            <el-select v-model="item.isabnormal" placeholder="请选择状态">
              <el-option :value="0" label="正常" :style="{ color: '#67C23A' }">
                <span style="color: #67c23a">● 正常</span>
              </el-option>
              <el-option :value="2" label="警告" :style="{ color: '#FFBA00' }">
                <span style="color: #ffba00">● 警告</span>
              </el-option>
              <el-option :value="1" label="异常" :style="{ color: '#f75c5c' }">
                <span style="color: #f75c5c">● 异常</span>
              </el-option>
            </el-select>
          </el-form-item></el-col
        >
        <el-col :span="12" v-if="intent"
src/components/Regular/index.vue
@@ -18,13 +18,21 @@
              </el-input> </el-form-item
          ></el-col>
          <el-col :span="12"
            ><el-form-item label="异常提醒">
              <el-radio-group v-model="item.isabnormal">
                <el-radio :label="1">是</el-radio>
                <el-radio :label="0">否</el-radio>
              </el-radio-group>
            </el-form-item></el-col
          >
          ><el-form-item label="异常提醒">
            <el-select v-model="item.isabnormal" placeholder="请选择状态">
              <el-option :value="0" label="正常" :style="{ color: '#67C23A' }">
                <span style="color: #67c23a">● 正常</span>
              </el-option>
              <el-option :value="2" label="警告" :style="{ color: '#FFBA00' }">
                <span style="color: #ffba00">● 警告</span>
              </el-option>
              <el-option :value="1" label="异常" :style="{ color: '#f75c5c' }">
                <span style="color: #f75c5c">● 异常</span>
              </el-option>
            </el-select>
          </el-form-item></el-col
        >
          <!-- <el-col :span="12" v-if="intent"
            ><el-form-item label="选项节点">
              <el-input
src/views/Satisfaction/configurationmyd/index.vue
@@ -62,9 +62,6 @@
                  placeholder="请选择模板"
                  clearable
                  filterable
                  :disabled="
                    !templateForm.templateType || templateOptionsLoading
                  "
                  @change="handleTemplateChange"
                  style="width: 100%"
                >
@@ -315,7 +312,6 @@
                        filterable
                        clearable
                        multiple
                        collapse-tags
                        style="width: 100%"
                        @change="handleConfigChange(question)"
                      >
@@ -834,6 +830,16 @@
            questionCount: 0,
          };
        }
// 加载模板详情数据
        this.templateLoading = true;
        this.loading = true;
        this.questionList = [];
        if (this.templateForm.templateType === 1) {
          this.loadQuestionnaireTemplateDetail();
        } else if (this.templateForm.templateType === 2) {
          this.loadFollowupTemplateDetail();
        }
      } else {
        this.currentTemplateInfo = null;
        this.questionList = [];
src/views/patient/patient/hospital.vue
@@ -119,6 +119,18 @@
              >修改</el-button
            >
          </el-col> -->
<el-col :span="1.5">
  <el-button
    type="warning"
    plain
    icon="el-icon-plus"
    size="medium"
    :disabled="multiple"
    @click="handleBatchAddTask"
  >
    批量添加任务
  </el-button>
</el-col>
          <el-col :span="1.5">
            <el-button
              type="danger"
@@ -323,7 +335,114 @@
        />
      </el-col>
    </el-row>
<!-- 批量添加任务弹窗 -->
<el-dialog
  title="批量添加任务"
  :visible.sync="batchTaskVisible"
  width="90%"
  append-to-body
>
  <el-row :gutter="20">
    <!-- 左侧:选中患者列表 -->
    <el-col :span="12">
      <div class="batch-patient-section">
        <h4>选中患者({{ selectedPatients.length }}人)</h4>
        <el-table
          :data="selectedPatients"
          border
          style="width: 100%"
          size="small"
        >
          <el-table-column prop="patname" label="姓名" width="100" />
          <el-table-column prop="sex" label="性别" width="80">
            <template slot-scope="scope">
              {{ scope.row.sex === 1 ? "男" : "女" }}
            </template>
          </el-table-column>
          <el-table-column
            label="出院时间"
            align="center"
            key="endtime"
            prop="endtime"
          >
            <template slot-scope="scope">
              <span>{{ formatTime(scope.row.endtime) }}</span>
            </template>
          </el-table-column>
          <el-table-column prop="inhospno" label="住院号" />
          <el-table-column prop="deptname" label="科室" />
        </el-table>
      </div>
    </el-col>
    <!-- 右侧:任务列表 -->
    <el-col :span="12">
      <div class="batch-task-section">
        <h4>任务列表(请选择1个任务)</h4>
        <el-table
          :data="taskList"
          border
          style="width: 100%"
          size="small"
          @current-change="handleTaskSelectionChange"
          highlight-current-row
        >
          <el-table-column
            label="任务名称"
            fixed
            align="center"
            key="taskName"
            prop="taskName"
            :show-overflow-tooltip="true"
          />
          <el-table-column
            label="服务项目"
            align="center"
            key="templatename"
            prop="templatename"
            :show-overflow-tooltip="true"
          />
          <el-table-column
            label="创建人"
            align="center"
            key="createBy"
            prop="createBy"
            :show-overflow-tooltip="true"
          />
          <el-table-column
            label="创建时间"
            sortable
            align="center"
            prop="createTime"
          >
            <template slot-scope="scope">
              <span>{{ formatTime(scope.row.createTime) }}</span>
            </template>
          </el-table-column>
          <template #empty>
            <div class="empty-message">
              <i class="el-icon-warning"></i>
              <span>患者科室无匹配服务</span>
            </div>
          </template>
        </el-table>
      </div>
    </el-col>
  </el-row>
  <!-- 底部按钮 -->
  <div slot="footer" class="dialog-footer">
    <el-button @click="batchTaskVisible = false">取 消</el-button>
    <el-button
      type="primary"
      :loading="batchLoading"
      @click="submitBatchTask"
      >创建任务</el-button
    >
  </div>
</el-dialog>
    <!-- 用户导入对话框 -->
    <el-dialog
      :title="upload.title"
@@ -470,6 +589,12 @@
      // 默认密码
      initPassword: undefined,
      amendtag: false, //是否修改
      // 批量任务相关数据
    batchTaskVisible: false, // 弹窗可见性
    selectedPatients: [], // 选中的患者列表
    taskList: [], // 任务列表
    selectedTask: null, // 选中的任务
    batchLoading: false, // 批量提交加载状态
      // 日期范围
      dateRange: [],
      source: [
src/views/patient/propaganda/QuestionnaireTask.vue
@@ -1299,6 +1299,10 @@
        this.form.serviceType == 15
      ) {
        this.checkboxlist = [
           {
            value: "1",
            label: "人工",
          },
          {
            value: "3",
            label: "智能语音",
src/views/patient/propaganda/particty.vue
@@ -1331,6 +1331,10 @@
        ];
      } else if (this.form.serviceType == 6) {
        this.checkboxlist = [
           {
            value: "1",
            label: "人工",
          },
          {
            value: "3",
            label: "智能语音",