WXL
2023-11-27 ea19bff6e73e7c00bb2e273a747ae27e57dcbc08
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,8 +330,17 @@
                    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
                  >
                  <el-button
                    size="medium"
                    type="text"
                    @click="Distributionservice(scope.row)"
                    v-hasPermi="['system:user:edit']"
                    ><span class="button-textxg"
                      ><i class="el-icon-menu"></i>服务</span
                    ></el-button
                  >
                </template>
@@ -557,6 +566,22 @@
        <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-group>
      <div slot="footer" class="dialog-footer">
        <el-button @click="serviceVisible = false">取 消</el-button>
        <el-button type="primary" @click="serviceVisible = false"
          >创建服务</el-button
        >
      </div>
    </el-dialog>
  </div>
</template>
@@ -614,6 +639,8 @@
      // 默认密码
      initPassword: undefined,
      amendtag: false, //是否修改
      serviceVisible: false,
      serviceradio: 1,
      // 日期范围
      dateRange: [],
      paperstypes: [
@@ -780,16 +807,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;
    },
    // 取消按钮
@@ -1075,4 +1094,7 @@
.button-textsc {
  color: #28cfe6;
}
.button-textxg{
  color: #de7897;
}
</style>