From 12ab8e9aa01f3ef5254e946d0818ff5c9b409fee Mon Sep 17 00:00:00 2001 From: zhc077 <565291854@qq.com> Date: Sun, 27 Oct 2024 10:30:14 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=AE=97=E4=B9=A6-=E5=9F=BA=E6=9C=AC?= =?UTF-8?q?=E6=83=85=E5=86=B5=E8=A1=A8=20=E5=8A=9F=E8=83=BD=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=2010.27?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yusuanshu/ProjectBaseINfo.data.tsx | 100 ++++++++++++++++++ .../yusuanshu/ProjectBaseInfoDemo.vue | 28 ++--- 2 files changed, 108 insertions(+), 20 deletions(-) create mode 100644 jeecgboot-vue3/src/views/projectApplication/kejigongguan/yusuanshu/ProjectBaseINfo.data.tsx diff --git a/jeecgboot-vue3/src/views/projectApplication/kejigongguan/yusuanshu/ProjectBaseINfo.data.tsx b/jeecgboot-vue3/src/views/projectApplication/kejigongguan/yusuanshu/ProjectBaseINfo.data.tsx new file mode 100644 index 0000000..c320c52 --- /dev/null +++ b/jeecgboot-vue3/src/views/projectApplication/kejigongguan/yusuanshu/ProjectBaseINfo.data.tsx @@ -0,0 +1,100 @@ +import { BasicColumn } from '/@/components/Table/src/types/table'; + +import { Badge } from 'ant-design-vue'; + +export const refundTimeTableSchema: BasicColumn[] = [ + { + title: '指标类别(参考分值) ', + align:"center", + dataIndex: 'indexClass_dictText' + }, + { + title: '序号', + align:"center", + dataIndex: 'seq' + }, + { + title: '指标名称 ', + align:"center", + dataIndex: 'indexName' + }, + { + title: '预期指标名称(参考举例)', + align:"center", + dataIndex: 'expectIndexName' + }, + { + title: '考核方式方法', + align:"center", + dataIndex: 'checkMethod' + }, + { + title: '考核指标分值', + align:"center", + dataIndex: 'indexVal' + }, + { + title: '备注', + align:"center", + dataIndex: 'remark' + }, + /*{ + title: '时间', + width: 150, + dataIndex: 't1', + }, + { + title: '当前进度', + width: 150, + dataIndex: 't2', + }, + { + title: '状态', + width: 150, + dataIndex: 't3', + customRender: ({ record }) => { + return ; + }, + }, + { + title: '操作员ID ', + width: 150, + dataIndex: 't4', + }, + { + title: '耗时', + width: 150, + dataIndex: 't5', + },*/ +]; + +export const refundTimeTableData: any[] = [ + { + t1: '2017-10-01 14:10', + t2: '联系客户', + t3: '进行中', + t4: '取货员 ID1234', + t5: '5mins', + }, + { + t1: '2017-10-01 14:10', + t2: '取货员出发', + t3: '成功', + t4: '取货员 ID1234', + t5: '5mins', + }, + { + t1: '2017-10-01 14:10', + t2: '取货员接单', + t3: '成功', + t4: '系统', + t5: '5mins', + }, + { + t1: '2017-10-01 14:10', + t2: '申请审批通过', + t3: '成功', + t4: '用户', + t5: '1h', + }, +]; diff --git a/jeecgboot-vue3/src/views/projectApplication/kejigongguan/yusuanshu/ProjectBaseInfoDemo.vue b/jeecgboot-vue3/src/views/projectApplication/kejigongguan/yusuanshu/ProjectBaseInfoDemo.vue index a7f4f37..e7a9ab0 100644 --- a/jeecgboot-vue3/src/views/projectApplication/kejigongguan/yusuanshu/ProjectBaseInfoDemo.vue +++ b/jeecgboot-vue3/src/views/projectApplication/kejigongguan/yusuanshu/ProjectBaseInfoDemo.vue @@ -53,14 +53,13 @@ const {tableContext} = useListPage({ api: list, columns, canResize: false, - formConfig: { - //labelWidth: 120, - // schemas: searchFormSchema, - autoSubmitOnEnter: true, - showAdvancedButton: true, - fieldMapToNumber: [], - fieldMapToTime: [], - }, + showTableSetting: false, + striped: true, + useSearchForm: true, + showActionColumn: false, + bordered: true, + showIndexColumn: false, + pagination: false, } }) @@ -114,12 +113,7 @@ const schema: DescItem[] = [ label: '地址', }, ]; -// export default defineComponent({ -// components: { -// Description, PageWrapper, BasicTable -// } -// , -// setup() { + const [register] = useDescription({ title: 'useDescription', // data: mockData, @@ -144,13 +138,7 @@ async function getData() { projectBaseInfoData.value = obj } - onMounted(() => { getData() }); - - -// return {mockData, projectBaseInfoData, schema, register/*, register1*/}; -// }, -// });