From 8756117a473facf0bf64c9e28f821b52e46cce85 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期一, 08 七月 2024 17:38:18 +0800 Subject: [PATCH] 完善问题整改跟踪模块 --- src/views/inspection/SelfInspection.vue | 46 ++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 42 insertions(+), 4 deletions(-) diff --git a/src/views/inspection/SelfInspection.vue b/src/views/inspection/SelfInspection.vue index 86e2f1a..866f771 100644 --- a/src/views/inspection/SelfInspection.vue +++ b/src/views/inspection/SelfInspection.vue @@ -1,6 +1,30 @@ <template> - <div class="border-r-small" style="height: 200px"> - <div class="f-l">搴旀�ヨ嚜宸℃煡</div> + <div class="border-r-small"> + <div class="font-large">搴旀�ヨ嚜宸℃煡</div> + <el-text>鏈湀鍏卞彂甯�4娆¤嚜宸℃煡锛屽凡瀹屾垚0娆★紝鏈畬鎴�4娆�</el-text> + <el-table + :data="tableData" + v-loading="loading" + table-layout="fixed" + :row-class-name="tableRowClassName" + :height="tableHeight" + size="small" + > + <el-table-column + fixed="left" + prop="name" + :show-overflow-tooltip="true" + label="浼佷笟" + width="200" + > + </el-table-column> + <el-table-column prop="planTime" :show-overflow-tooltip="true" label="鍙戝竷鏃堕棿"> + </el-table-column> + <el-table-column prop="complete" :show-overflow-tooltip="true" label="瀹屾垚鎯呭喌"> + </el-table-column> + <!-- <el-table-column prop="recheck" :show-overflow-tooltip="true" label="澶嶆牳" width="60"> + </el-table-column> --> + </el-table> </div> </template> @@ -8,12 +32,26 @@ export default { data() { return { - tasks: [] + tableData: [] } }, watch: {}, methods: {}, - mounted() {} + mounted() { + let i = 0 + while (i < 4) { + this.tableData.push({ + guid: 'SMuheEkjswioSn7A', + name: '涓鐢熸�佹暟瀛楁腐椤圭洰', + district: '閲戝北鍖�', + planTime: '2024-06-04', + startTime: '2024-06-04 13:31:26', + endTime: '2024-06-04 13:33:37', + complete: '0/6' + }) + i++ + } + } } </script> -- Gitblit v1.9.3