|
@@ -13,11 +13,11 @@
|
|
|
<br>
|
|
|
{{ task_form.lateMsg }}
|
|
|
</span>
|
|
|
- <el-tooltip class="item" effect="dark" :content="task_form.name" placement="bottom">
|
|
|
- <span style="font-size:20px;font-family:MicrosoftYaHei;color:rgba(51,51,51,1);">任务 : {{ task_form.name }}</span>
|
|
|
+ <el-tooltip :disabled="task_form.name.length > 20 ? false : true" class="item" effect="dark" :content="task_form.name" placement="bottom">
|
|
|
+ <span style="font-size:20px;font-family:MicrosoftYaHei;color:rgba(51,51,51,1);">任务 : {{ task_form.name | ellipsis }}</span>
|
|
|
</el-tooltip>
|
|
|
<el-dropdown placement="bottom" @command="handleCommand">
|
|
|
- <el-button size="mini" type="info" plain class="el-dropdown-link drop_down" style="cursor: pointer;margin-left:15px">
|
|
|
+ <el-button size="mini" class="el-dropdown-link drop_down" style="cursor: pointer;margin-left:15px">
|
|
|
{{ task_form.statusString }}
|
|
|
<i class="el-icon-arrow-down el-icon--right" />
|
|
|
</el-button>
|
|
@@ -32,7 +32,7 @@
|
|
|
</el-dropdown>
|
|
|
</div>
|
|
|
<span style="float: right;">
|
|
|
- <el-button size="mini" type="info" plain @click="centerDialogVisible_task = true">删除任务</el-button>
|
|
|
+ <el-button size="mini" @click="centerDialogVisible_task = true">删除任务</el-button>
|
|
|
<el-dropdown placement="bottom" style="margin-left: 10px;">
|
|
|
<el-button size="mini" type="primary">
|
|
|
新建
|
|
@@ -319,7 +319,7 @@
|
|
|
<el-checkbox v-model="form.noHoliday" style="margin-left: 10px;">排除周末</el-checkbox>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="参与人员">
|
|
|
- <el-select v-model="form.peoples" multiple filterable remote reserve-keyword placeholder="创建人" :remote-method="remoteMethod" :loading="loading" style="width: 100%">
|
|
|
+ <el-select v-model="form.peoples" multiple filterable remote reserve-keyword placeholder="请输入姓名或者邮箱前缀" :remote-method="remoteMethod" :loading="loading" style="width: 100%">
|
|
|
<el-option v-for="item in options" :key="item.idap" :label="item.name" :value="test2(item, 0)">
|
|
|
<div style="display: flex;justify-content: start;">
|
|
|
<div style="min-width:100px;color: #8492a6; font-size: 13px; overflow:hidden">{{ item.deptName }}</div>
|
|
@@ -419,6 +419,13 @@ export default {
|
|
|
ClientReport
|
|
|
},
|
|
|
filters: {
|
|
|
+ ellipsis(value) {
|
|
|
+ if (!value) return ''
|
|
|
+ if (value.length > 20) {
|
|
|
+ return value.slice(0, 20) + '...'
|
|
|
+ }
|
|
|
+ return value
|
|
|
+ },
|
|
|
oneA(value) {
|
|
|
if (!value) return ''
|
|
|
var da = value.substring(0, 1)
|