|
|
@@ -101,6 +101,7 @@
|
|
|
v-hasPermi="['patient:info:edit']">修改</el-button>
|
|
|
<el-button v-if="scope.row.doctorStatus === 1" size="mini" type="text" icon="el-icon-share" @click="handleShare(scope.row)"
|
|
|
v-hasPermi="['patient:info:WxaCodePatientUnLimit']">分享</el-button>
|
|
|
+ <el-button v-if="scope.row.doctorStatus === 1" size="mini" type="text" icon="el-icon-close" @click="handleReject(scope.row)">驳回</el-button>
|
|
|
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
|
|
v-hasPermi="['patient:info:remove']">删除</el-button>
|
|
|
</template>
|
|
|
@@ -172,7 +173,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { listInfo, getInfo, delInfo, addInfo, updateInfo, exportInfo, getWxaCodePatientUnLimit } from "@/api/patient/info";
|
|
|
+import { listInfo, getInfo, delInfo, addInfo, updateInfo, exportInfo, getWxaCodePatientUnLimit, reject } from "@/api/patient/info";
|
|
|
import { options as projectOptions } from "@/api/project/project";
|
|
|
import { options } from "@/api/course/coursePlaySourceConfig";
|
|
|
|
|
|
@@ -312,6 +313,20 @@ export default {
|
|
|
this.shareForm.id = row.id;
|
|
|
},
|
|
|
|
|
|
+ handleReject(row){
|
|
|
+ const ids = row.id || this.ids;
|
|
|
+ this.$confirm('是否确认驳回医生诊断?', "警告", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning"
|
|
|
+ }).then(function () {
|
|
|
+ return reject(row);
|
|
|
+ }).then(() => {
|
|
|
+ this.getList();
|
|
|
+ this.msgSuccess("驳回成功");
|
|
|
+ }).catch(() => { });
|
|
|
+ },
|
|
|
+
|
|
|
/** 查询患者基本信息列表 */
|
|
|
getList() {
|
|
|
this.loading = true;
|