yxh
2023-12-01 02aa4d157d800650f1dc2fa2b7fbee52837df074
src/views/patient/patient/index.vue
@@ -307,7 +307,7 @@
              <el-table-column
                label="操作"
                align="center"
                width="160"
                width="190"
                class-name="small-padding fixed-width"
              >
                <template slot-scope="scope">
@@ -330,7 +330,7 @@
                    type="text"
                    @click="handleUpdate(scope.row)"
                    v-hasPermi="['system:user:edit']"
                    ><span class="button-textxg"
                    ><span class="button-textxga"
                      ><i class="el-icon-edit"></i>修改</span
                    ></el-button
                  >
@@ -340,7 +340,7 @@
                    @click="Distributionservice(scope.row)"
                    v-hasPermi="['system:user:edit']"
                    ><span class="button-textxg"
                      ><i class="el-icon-edit"></i>服务</span
                      ><i class="el-icon-menu"></i>服务</span
                    ></el-button
                  >
                </template>
@@ -566,6 +566,21 @@
        <el-button @click="submitclose">取 消</el-button>
      </div>
    </el-dialog>
    <!-- 跳转服务对话框 -->
    <el-dialog title="选择服务类型" :visible.sync="serviceVisible">
      <el-radio-group v-model="serviceradio">
        <el-radio :label="1">宣教随访</el-radio>
        <el-radio :label="2">门诊服务</el-radio>
        <el-radio :label="3">出院服务</el-radio>
        <el-radio :label="4">复诊服务</el-radio>
        <el-radio :label="5">体检通知</el-radio>
        <el-radio :label="6">问卷服务</el-radio>
      </el-radio-group>
      <div slot="footer" class="dialog-footer">
        <el-button @click="serviceVisible = false">取 消</el-button>
        <el-button type="primary" @click="CreateService">创建服务</el-button>
      </div>
    </el-dialog>
  </div>
</template>
@@ -623,6 +638,8 @@
      // 默认密码
      initPassword: undefined,
      amendtag: false, //是否修改
      serviceVisible: false,
      serviceradio: 1,
      // 日期范围
      dateRange: [],
      paperstypes: [
@@ -789,16 +806,8 @@
        this.loading = false;
      });
    },
    // 筛选节点
    filterNode(value, data) {
      if (!value) return true;
      return data.label.indexOf(value) !== -1;
    },
    // 节点单击事件
    handleNodeClick(data) {
      this.queryParams.deptId = data.id;
      this.handleQuery();
    Distributionservice(row) {
      this.serviceVisible = true;
    },
    // 取消按钮
@@ -896,6 +905,13 @@
          this.$modal.msgSuccess("删除成功");
        })
        .catch(() => {});
    },
    //服务跳转
    CreateService() {
      this.$router.push({
        path: "/followvisit/particty",
        query: { type: this.serviceradio },
      });
    },
    /** 导出按钮操作 */
    handleExport() {
@@ -1084,4 +1100,7 @@
.button-textsc {
  color: #28cfe6;
}
.button-textxg {
  color: #de7897;
}
</style>