bug修改

This commit is contained in:
yyy 2025-03-20 15:54:56 +08:00
parent e742405735
commit 9fd422c4f2
4 changed files with 18 additions and 11 deletions

View File

@ -68,10 +68,10 @@ const toDocument = () => {
<Icon icon="ep:tools" />
<div @click="toProfile">{{ t('common.profile') }}</div>
</ElDropdownItem>
<ElDropdownItem>
<!-- <ElDropdownItem>
<Icon icon="ep:menu" />
<div @click="toDocument">{{ t('common.document') }}</div>
</ElDropdownItem>
</ElDropdownItem> -->
<ElDropdownItem divided>
<Icon icon="ep:lock" />
<div @click="lockScreen">{{ t('lock.lockScreen') }}</div>

View File

@ -22,9 +22,9 @@
<el-tab-pane :label="t('profile.info.resetPwd')" name="resetPwd">
<ResetPwd />
</el-tab-pane>
<el-tab-pane :label="t('profile.info.userSocial')" name="userSocial">
<!-- <el-tab-pane :label="t('profile.info.userSocial')" name="userSocial">
<UserSocial v-model:activeName="activeName" />
</el-tab-pane>
</el-tab-pane> -->
</el-tabs>
</div>
</el-card>

View File

@ -253,8 +253,20 @@
<el-text v-if="scope.row.taskStatus == 4">异常</el-text>
</template>
</el-table-column>
<el-table-column prop="startTime" label="开始时间" align="center" width="150" />
<el-table-column prop="endTime" label="结束时间" align="center" width="150" />
<el-table-column
prop="startTime"
label="开始时间"
align="center"
:formatter="dateFormatter"
width="170"
/>
<el-table-column
prop="endTime"
label="结束时间"
align="center"
:formatter="dateFormatter"
width="170"
/>
</el-table>
<!-- 分页 -->
<Pagination

View File

@ -2713,7 +2713,6 @@ const cmConversionPx = (cWidth, cHeight) => {
pHeight
}
}
// 线
const getLineMidArrowPath = (item) => {
const midX = (Number(item.startPointX) + Number(item.endPointX)) / 2
@ -2738,7 +2737,6 @@ const getLineMidArrowPath = (item) => {
return `M ${startXArrow} ${startYArrow} L ${endXArrow} ${endYArrow}`
}
// 线
const getBezierMidArrowPath = (item) => {
const path = document.createElementNS('http://www.w3.org/2000/svg', 'path')
@ -2748,7 +2746,6 @@ const getBezierMidArrowPath = (item) => {
const prevPoint = path.getPointAtLength(length / 2 - 1)
return `M ${prevPoint.x} ${prevPoint.y} L ${midPoint.x} ${midPoint.y}`
}
// 线 x
const computedCurveTextX = (item) => {
return (
@ -2759,7 +2756,6 @@ const computedCurveTextX = (item) => {
4
)
}
// 线 y
const computedCurveTextY = (item) => {
return (
@ -2770,7 +2766,6 @@ const computedCurveTextY = (item) => {
4
)
}
document.onmousedown = function (e) {
//
if (e.button == 2) {