mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-06 07:21:24 +08:00
update homepage work card's height, and update EditWork reset after commit
This commit is contained in:
@@ -113,8 +113,10 @@ export default {
|
|||||||
form.publisherId = String(1)
|
form.publisherId = String(1)
|
||||||
if (this.editForm) {
|
if (this.editForm) {
|
||||||
this.$emit('updateWork', form)
|
this.$emit('updateWork', form)
|
||||||
|
this.reset()
|
||||||
} else {
|
} else {
|
||||||
this.$emit('addWork', form)
|
this.$emit('addWork', form)
|
||||||
|
this.reset()
|
||||||
}
|
}
|
||||||
console.log('submit!')
|
console.log('submit!')
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-card style="min-width: 640px">
|
<el-card style="min-width: 640px; height: 400px">
|
||||||
<template #header>
|
<template #header>
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<h2>待办工作</h2>
|
<h2>待办工作</h2>
|
||||||
@@ -7,10 +7,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div v-for="item in tableData" :key="item" class="text item">
|
<div v-for="item in tableData" :key="item" class="text item">
|
||||||
<el-row style="width: 100%">
|
<el-row style="width: 100%; height: 42px">
|
||||||
<el-col :span="1" />
|
<el-col :span="1" />
|
||||||
<el-col :span="1">
|
<el-col :span="1" style="justify-content: center">
|
||||||
<el-avatar style="background-color: #5495f1">
|
<el-avatar style="background-color: #409eff" size="default">
|
||||||
<el-icon
|
<el-icon
|
||||||
color="white"
|
color="white"
|
||||||
:size="SIZE_ICON_LG()"
|
:size="SIZE_ICON_LG()"
|
||||||
@@ -22,14 +22,18 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1" />
|
<el-col :span="1" />
|
||||||
<el-col :span="7"
|
<el-col :span="7"
|
||||||
><el-text size="large" style="color: black">{{ item.content }}</el-text>
|
><el-text size="large" style="color: black; line-height: 42px">{{
|
||||||
|
item.content
|
||||||
|
}}</el-text>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="4" />
|
<el-col :span="4" />
|
||||||
<el-col :span="7" style="text-align: right"
|
<el-col :span="7" style="text-align: right"
|
||||||
><el-text type="info">{{ formatDate(item.deadline) }}</el-text></el-col
|
><el-text type="info" style="line-height: 42px">{{
|
||||||
|
formatDate(item.deadline)
|
||||||
|
}}</el-text></el-col
|
||||||
>
|
>
|
||||||
<el-col :span="2" style="text-align: right"
|
<el-col :span="2" style="text-align: right"
|
||||||
><el-text type="info">截止</el-text></el-col
|
><el-text type="info" style="line-height: 42px">截止</el-text></el-col
|
||||||
>
|
>
|
||||||
<el-col :span="1" />
|
<el-col :span="1" />
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="head">
|
<div class="head">
|
||||||
<el-row style="width: 50%">
|
<el-row style="width: 640px">
|
||||||
<el-col :span="17">
|
<el-col :span="17">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="searchContent"
|
v-model="searchContent"
|
||||||
|
|||||||
Reference in New Issue
Block a user