From 12f1d1c1b26257b2f86af9165aa5408a43435db5 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期五, 19 七月 2024 13:20:00 +0800 Subject: [PATCH] 新增前端数采 --- src/components/do/b3-work-time-management/work-time-management.vue | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/components/do/b3-work-time-management/work-time-management.vue b/src/components/do/b3-work-time-management/work-time-management.vue index 34c91dc..e8665b8 100644 --- a/src/components/do/b3-work-time-management/work-time-management.vue +++ b/src/components/do/b3-work-time-management/work-time-management.vue @@ -63,7 +63,7 @@ </el-radio-group> <div style="display: flex;align-items: center;"> <p style="font-size: 14px;margin-right: 30px;"> - 鎬诲伐鏃舵眹鎬伙細<span style="font-size: 16px;color: #3A7BFA;" v-if="totalInfo">{{ (totalInfo['浜ч噺宸ユ椂姹囨��']+totalInfo['杈呭姪宸ユ椂姹囨��'])? (totalInfo['浜ч噺宸ユ椂姹囨��']+totalInfo['杈呭姪宸ユ椂姹囨��']):0 }}</span> 浜ч噺宸ユ椂姹囨�伙細<span style="font-size: 16px;color: #3A7BFA;" v-if="totalInfo">{{totalInfo['浜ч噺宸ユ椂姹囨��']?totalInfo['浜ч噺宸ユ椂姹囨��']:0}}</span> 杈呭姪宸ユ椂姹囨�伙細<span style="font-size: 16px;color: #3A7BFA;" v-if="totalInfo">{{totalInfo['杈呭姪宸ユ椂姹囨��']?totalInfo['杈呭姪宸ユ椂姹囨��']:0}}</span> + 鎬诲伐鏃舵眹鎬伙細<span style="font-size: 16px;color: #3A7BFA;" v-if="totalInfo">{{ (totalInfo['浜ч噺宸ユ椂姹囨��']+totalInfo['杈呭姪宸ユ椂姹囨��'])? Number((totalInfo['浜ч噺宸ユ椂姹囨��']+totalInfo['杈呭姪宸ユ椂姹囨��'])).tofixed(4):0 }}</span> 浜ч噺宸ユ椂姹囨�伙細<span style="font-size: 16px;color: #3A7BFA;" v-if="totalInfo">{{totalInfo['浜ч噺宸ユ椂姹囨��']?Number(totalInfo['浜ч噺宸ユ椂姹囨��']).tofixed(4):0}}</span> 杈呭姪宸ユ椂姹囨�伙細<span style="font-size: 16px;color: #3A7BFA;" v-if="totalInfo">{{totalInfo['杈呭姪宸ユ椂姹囨��']?Number(totalInfo['杈呭姪宸ユ椂姹囨��']).tofixed(4):0}}</span> </p> <el-button size="small" type="primary" @click="openAdd" v-show="currentTable == 'ValueTable0'&&add">褰曞叆鏁版嵁</el-button> <el-button size="small" type="primary" @@ -362,13 +362,13 @@ entityCopy1: {}, upIndex1:100, weekList:[ - {label: '鍛ㄤ竴', value: '1',type:'primary'}, - {label: '鍛ㄤ簩', value: '2',type:'primary'}, - {label: '鍛ㄤ笁', value: '3',type:'primary'}, - {label: '鍛ㄥ洓', value: '4',type:'primary'}, - {label: '鍛ㄤ簲', value: '5',type:'primary'}, - {label: '鍛ㄥ叚', value: '6',type:'primary'}, - {label: '鍛ㄦ棩', value: '7',type:'primary'} + {label: '鍛ㄤ竴', value: '鍛ㄤ竴',type:'primary'}, + {label: '鍛ㄤ簩', value: '鍛ㄤ簩',type:'primary'}, + {label: '鍛ㄤ笁', value: '鍛ㄤ笁',type:'primary'}, + {label: '鍛ㄥ洓', value: '鍛ㄥ洓',type:'primary'}, + {label: '鍛ㄤ簲', value: '鍛ㄤ簲',type:'primary'}, + {label: '鍛ㄥ叚', value: '鍛ㄥ叚',type:'primary'}, + {label: '鍛ㄦ棩', value: '鍛ㄦ棩',type:'primary'} ], currentTable:'ValueTable0', addVisible:false, @@ -507,6 +507,7 @@ this.entity.dateTime.push(formattedDate2); this.componentData1.entity.dateTime.push(formattedDate1); this.componentData1.entity.dateTime.push(formattedDate2); + this.componentData1.entity.dateTime = JSON.stringify(this.componentData1.entity.dateTime) this.refreshTable() }, getPower(){ -- Gitblit v1.9.3