WXL (wul)
6 天以前 d90b45d7e9e38e34c044b772006004f2a4cb8b8e
src/views/patient/patient/index.vue
@@ -127,6 +127,8 @@
                  v-model="queryParams.scopetype"
                  placeholder="默认全部"
                  :options="sourcetype"
            filterable
            clearable
                  :props="{ expandTrigger: 'hover' }"
                  @change="handleChange"
                ></el-cascader>
@@ -182,7 +184,7 @@
                  >删除</el-button
                >
              </el-col>
              <el-col :span="1.5">
              <!-- <el-col :span="1.5">
                <el-button
                  type="primary"
                  icon="el-icon-s-promotion"
@@ -190,7 +192,7 @@
                  @click="distribute"
                  >向任务派发患者</el-button
                >
              </el-col>
              </el-col> -->
              <el-col :span="6">
                <div class="documentf">
                  <div class="document">
@@ -376,14 +378,14 @@
                      ><i class="el-icon-edit"></i>患者过滤</span
                    ></el-button
                  >
                  <!-- <el-button
                  <el-button
                    size="medium"
                    type="text"
                    @click="Distributionservice(scope.row)"
                    ><span class="button-textxg"
                      ><i class="el-icon-menu"></i>服务</span
                    ><span class="button-textdx"
                      ><i class="el-icon-s-promotion"></i>短信发送</span
                    ></el-button
                  > -->
                  >
                  <!-- <el-button
                    size="medium"
                    type="text"
@@ -1261,8 +1263,17 @@
        this.loading = false;
      });
    },
    Distributionservice(row) {
      this.serviceVisible = true;
    Distributionservice(patient) {
      this.$store.dispatch("sms/openSmsDialog", {
        name: patient.name,
        age: patient.age,
        phone: patient.telcode,
        deptName: patient.deptName,
        wardName: patient.wardName,
        smsTemplate: `尊敬的${patient.name},您好!`,
      });
      this.$message.success(`已准备向 ${patient.name} 发送短信`);
    },
    RiskMarker(row) {
      this.RiskVisible = true;
@@ -1671,6 +1682,9 @@
.button-textxga {
  color: #de7897;
}
.button-textdx {
  color: #569655;
}
.button-textxg {
  color: #de7897;
}