|
@@ -130,10 +130,6 @@
|
|
|
<span :style="'background:#f0f0f0;width:1px;height:'+tableHeight+'px;'" @click="toggleGroup">
|
|
|
|
|
|
</span>
|
|
|
- <!-- <span :style="'width:10px;height:'+tableHeight+'px;float:left;text-align:center;vertical-align:middle;'" @click="toggleGroup">
|
|
|
- <span :style="'width:1px;background:#20A0FF;height:'+tableHeight+'px;float:left;'"></span>
|
|
|
- <i class="el-icon-d-arrow-left" ></i>
|
|
|
- </span> -->
|
|
|
|
|
|
<!-- 增加侧边栏的点击效果 -->
|
|
|
<div class="sidebar" @click="retract()">
|
|
@@ -499,7 +495,7 @@
|
|
|
<!-- 任务进展 -->
|
|
|
<template v-if="!timelabel || isRelationItem">
|
|
|
|
|
|
- <p ><i class="iconfont firerock-icontree" style="color:#20A0ff;margin-left:10px;">{{ $t('taskprogress') }}</i>
|
|
|
+ <p ><i class="iconfont firerock-icontree themeFontColor" style="margin-left:10px;">{{ $t('taskprogress') }}</i>
|
|
|
<span ref="addPro" style="display: block; float:right;"><el-link @click="addprogress">{{ $t('addtaskprogress') }}</el-link></span>
|
|
|
</p>
|
|
|
<!-- 任务进展展示 -->
|
|
@@ -522,7 +518,7 @@
|
|
|
|
|
|
<h4 style="font-weight: normal;">{{ $t('tixiang') }}{{checkLists.length}}</h4>
|
|
|
|
|
|
- <i class="el-icon-circle-plus pron_i" style="font-size: 28px;color: #409EFF;" @click="addI(0)"></i>
|
|
|
+ <i class="el-icon-circle-plus pron_i themeFontColor" style="font-size: 28px;" @click="addI(0)"></i>
|
|
|
|
|
|
<div class="remind" ref="addRem" style="display: none">
|
|
|
<el-checkbox-group v-model="checkboxGrounp" v-for="item in users" :key="item.id">
|
|
@@ -629,7 +625,7 @@
|
|
|
</template>
|
|
|
|
|
|
<!-- 子任务/关联任务 -->
|
|
|
- <p ><i class="iconfont firerock-icontree" style="color:#20A0ff;margin-left:10px;">{{timelabel && !isRelationItem ? $t('guanlian') : $t('zirwu')}}</i>
|
|
|
+ <p ><i class="iconfont firerock-icontree themeFontColor" style=";margin-left:10px;">{{timelabel && !isRelationItem ? $t('guanlian') : $t('zirwu')}}</i>
|
|
|
<el-link style="float:right;" @click="addRelation" v-if="timelabel && !isRelationItem">{{ $t('associatedTask') }}</el-link>
|
|
|
<el-link style="float:right;" @click="addSubTask" v-else>{{ $t('addingsubtask') }}</el-link>
|
|
|
</p>
|
|
@@ -647,7 +643,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="taskName" :label="$t('biao-ti')" >
|
|
|
<template slot-scope="scope">
|
|
|
- <el-tooltip class="item" effect="dark" :content="scope.row.taskName" placement="top" style="cursor:pointer;color:#409eff;">
|
|
|
+ <el-tooltip class="item themeFontColor" effect="dark" :content="scope.row.taskName" placement="top" style="cursor:pointer;">
|
|
|
<span style="overflow: hidden;text-overflow:ellipsis;white-space: nowrap;" > {{scope.row.taskName}}</span>
|
|
|
</el-tooltip>
|
|
|
</template>
|
|
@@ -708,7 +704,7 @@
|
|
|
<!-- 关联文件列表 -->
|
|
|
<template v-if="isEditFile">
|
|
|
<div style="width:100%;margin:1em 0;">
|
|
|
- <i class="iconfont firerock-icontree" style="color:#20A0ff;margin-left:10px;">{{ $t('jiafuchengguo') }}</i>
|
|
|
+ <i class="iconfont firerock-icontree themeFontColor" style="margin-left:10px;">{{ $t('jiafuchengguo') }}</i>
|
|
|
<el-link @click="relationFileClick()" style="float:right;margin-left:10px">{{ $t('associatedfiles') }}</el-link>
|
|
|
<el-upload style="float:right;" action="#" :http-request="uploadFileClick" :show-file-list="false" :multiple="false">
|
|
|
<el-link>{{ $t('uoloadFiles') }}</el-link>
|
|
@@ -1078,7 +1074,7 @@
|
|
|
</el-form>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane :label="$t('creatintemplate')" name="template">
|
|
|
- <el-card class="template_box" :style="t.selected?'border: 1px solid #409eff;':''" v-for="(t,tIndex) in groupTemplateList" :key="t.id" @click.native="choseTemplate(tIndex)">
|
|
|
+ <el-card :class="`template_box ${t.selected ? 'themeBorderColor' : ''}`" :style="t.selected?'border: 1px solid;':''" v-for="(t,tIndex) in groupTemplateList" :key="t.id" @click.native="choseTemplate(tIndex)">
|
|
|
<div>
|
|
|
<el-row >
|
|
|
<el-col :span="22">
|
|
@@ -1097,7 +1093,7 @@
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="2">
|
|
|
- <i class="el-icon-check" v-show="t.selected" style="font-size:20px;color:#409eff;margin-top:12px;"></i>
|
|
|
+ <i class="el-icon-check themeFontColor" v-show="t.selected" style="font-size:20px;margin-top:12px;"></i>
|
|
|
</el-col>
|
|
|
|
|
|
</el-row>
|
|
@@ -1309,6 +1305,8 @@
|
|
|
import { quillEditor } from 'vue-quill-editor'
|
|
|
import { error } from 'dingtalk-jsapi';
|
|
|
import delete$ from 'dingtalk-jsapi/api/biz/cspace/delete';
|
|
|
+
|
|
|
+ import { getThemeColor } from '@/utils/commonMethod.js'
|
|
|
let id=1;
|
|
|
export default {
|
|
|
name: "two-list-headerslots",
|
|
@@ -1360,7 +1358,7 @@
|
|
|
{id:5,name:this.$t('createdthetask')},{id:6,name:this.$t('missionIwason')},{id:7,name:this.$t('todaytask')},{id:8,name:this.$t('taskthatisoverdue')}],
|
|
|
importanceList:[{id:0,name:this.$t('yi-ban')},{id:1,name:this.$t('zhong-yao')},{id:2,name:this.$t('jin-ji')},],
|
|
|
taskTypeList:[{id:0,name:this.$t('other.task'), icon:"iconfont firerock-iconrenwu"},{id:1,name:this.$t('other.milestone'),icon:"iconfont firerock-iconicon-"},{id:2,name:this.$t('risk'),icon:"iconfont firerock-iconfengxian"}],
|
|
|
- taskTypeColor:['#20A0FF','#8613ad','#bf0404'],
|
|
|
+ taskTypeColor:[getThemeColor(),'#8613ad','#bf0404'],
|
|
|
taskTypeIcon:['iconfont firerock-iconrenwu','iconfont firerock-iconicon-','iconfont firerock-iconfengxian'],
|
|
|
taskStatusList:[this.$t('ongoing'),this.$t('state.completed'),this.$t('state.undone')],
|
|
|
//优先级
|
|
@@ -4019,6 +4017,16 @@
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
+@import "../../assets/scss/handle";
|
|
|
+
|
|
|
+.themeFontColor {
|
|
|
+ @include font_color("color");
|
|
|
+}
|
|
|
+
|
|
|
+.themeBorderColor {
|
|
|
+ @include border_color("border_color");
|
|
|
+}
|
|
|
+
|
|
|
.hideCompletedFelx {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
@@ -4048,7 +4056,8 @@
|
|
|
}
|
|
|
</style>
|
|
|
|
|
|
-<style >
|
|
|
+<style lang="scss">
|
|
|
+@import "../../assets/scss/handle";
|
|
|
.taskCardCircleBox{
|
|
|
padding-left: 5px;
|
|
|
display: flex;
|
|
@@ -4226,11 +4235,11 @@ overflow: auto;
|
|
|
position: relative;
|
|
|
}
|
|
|
.sidebar:hover {
|
|
|
- background: #20a0ff;
|
|
|
+ @include background_color("background_color");
|
|
|
}
|
|
|
.sidebar:hover .etui {
|
|
|
- background: #20a0ff;
|
|
|
- border: #20a0ff;
|
|
|
+ @include background_color("background_color");
|
|
|
+ @include border_color("border_color");
|
|
|
color: #fff;
|
|
|
}
|
|
|
.etui {
|