|
@@ -269,9 +269,9 @@
|
|
|
<el-dialog title="操作记录" :visible.sync="recordVisible" append-to-body>
|
|
|
<!-- 表格 -->
|
|
|
<el-table v-loading="recordLoading" :data="recordList">
|
|
|
- <el-table-column label="操作类型" align="center" prop="title" />
|
|
|
- <el-table-column label="操作时间" align="center" prop="checkStatus" />
|
|
|
- <el-table-column label="操作人" align="center" prop="checkResult" />
|
|
|
+ <el-table-column label="操作类型" align="center" prop="operateType" />
|
|
|
+ <el-table-column label="操作时间" align="center" prop="createTime" />
|
|
|
+ <el-table-column label="操作人" align="center" prop="createBy" />
|
|
|
</el-table>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button @click="recordVisible = false">关 闭</el-button>
|
|
@@ -281,7 +281,14 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { getList, getDetail, add, update, del } from "@/api/infoManage/news";
|
|
|
+import {
|
|
|
+ getList,
|
|
|
+ getDetail,
|
|
|
+ add,
|
|
|
+ update,
|
|
|
+ del,
|
|
|
+ getRecord,
|
|
|
+} from "@/api/infoManage/news";
|
|
|
import SelectRemote from "@/components/SelectRemote";
|
|
|
import AddAndEdit from "./components/addAndEdit.vue";
|
|
|
export default {
|
|
@@ -494,8 +501,14 @@ export default {
|
|
|
.catch(() => {});
|
|
|
},
|
|
|
// 操作记录
|
|
|
- handleRecord() {
|
|
|
+ handleRecord(row) {
|
|
|
this.recordVisible = true;
|
|
|
+ this.recordLoading = true;
|
|
|
+ getRecord({ infoId: row.id })
|
|
|
+ .then((res) => {
|
|
|
+ this.recordList = res.rows;
|
|
|
+ })
|
|
|
+ .finally(() => (this.recordLoading = false));
|
|
|
},
|
|
|
// 表格选中
|
|
|
handleSelectionChange(selection) {
|