Compare commits

..

No commits in common. "bbdb7c1e43e1e4a878a72dcb120eb88f4d30ac0c" and "2288db60b28923adce4a7ac336b24c90d3bc7906" have entirely different histories.

4 changed files with 11 additions and 18 deletions

View File

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

View File

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

View File

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

View File

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