|
@@ -99,15 +99,15 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" prop="memo" label="处理意见">
|
|
|
+ <el-table-column align="center" prop="memo" label="处理意见" width="220">
|
|
|
<template slot-scope="scope">
|
|
|
- <overflow-text :text="scope.row.linkUrl"></overflow-text>
|
|
|
+ <overflow-text :text="scope.row.memo"></overflow-text>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="studentId" label="操作">
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
- <el-button type="text">安排日程</el-button>
|
|
|
+ <el-button type="text" @click="gotoHander(scope.row)">安排日程</el-button>
|
|
|
<auth :auths="['inspectionItem/update']">
|
|
|
<el-button
|
|
|
type="text"
|
|
@@ -147,7 +147,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import { getInspectionItem } from "../api";
|
|
|
+import { getInspectionItem, resetInspectionItem } from "../api";
|
|
|
import { permission } from "@/utils/directivePage";
|
|
|
import pagination from "@/components/Pagination/index";
|
|
|
export default {
|
|
@@ -206,7 +206,20 @@ export default {
|
|
|
this.handleForm = { id, memo };
|
|
|
this.handleVisible = true;
|
|
|
},
|
|
|
- submitHandle() {},
|
|
|
+ async submitHandle() {
|
|
|
+ console.log(this.handleForm);
|
|
|
+ try {
|
|
|
+ const res = await resetInspectionItem(this.handleForm);
|
|
|
+ this.$message.success('提交成功')
|
|
|
+ this.getList()
|
|
|
+ console.log(res);
|
|
|
+ } catch (e) {
|
|
|
+ console.log(e);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ gotoHander(row){
|
|
|
+
|
|
|
+ }
|
|
|
},
|
|
|
};
|
|
|
</script>
|