|
@@ -95,14 +95,15 @@
|
|
<div class="okrBox first">
|
|
<div class="okrBox first">
|
|
<div class="okrBox-title">
|
|
<div class="okrBox-title">
|
|
<p class="top-title">本周工作</p>
|
|
<p class="top-title">本周工作</p>
|
|
|
|
+ <!-- :disabled="
|
|
|
|
+ time.year != time.currentYear ||
|
|
|
|
+ time.quarter != time.currentQuarter
|
|
|
|
+ " -->
|
|
<el-button
|
|
<el-button
|
|
type="text"
|
|
type="text"
|
|
class="createTask"
|
|
class="createTask"
|
|
@click="createTask(1)"
|
|
@click="createTask(1)"
|
|
- :disabled="
|
|
|
|
- time.year != time.currentYear ||
|
|
|
|
- time.quarter != time.currentQuarter
|
|
|
|
- "
|
|
|
|
|
|
+
|
|
>
|
|
>
|
|
<i class="el-icon-plus"></i>新建任务
|
|
<i class="el-icon-plus"></i>新建任务
|
|
</el-button>
|
|
</el-button>
|
|
@@ -151,12 +152,13 @@
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</el-popover>
|
|
</el-popover>
|
|
- <div
|
|
|
|
- class="list-opt"
|
|
|
|
- v-show="
|
|
|
|
|
|
+ <!-- v-show="
|
|
time.year == time.currentYear &&
|
|
time.year == time.currentYear &&
|
|
time.quarter == time.currentQuarter
|
|
time.quarter == time.currentQuarter
|
|
- "
|
|
|
|
|
|
+ " -->
|
|
|
|
+ <div
|
|
|
|
+ class="list-opt"
|
|
|
|
+
|
|
>
|
|
>
|
|
<!-- <el-progress :percentage="30" ></el-progress> -->
|
|
<!-- <el-progress :percentage="30" ></el-progress> -->
|
|
<!-- <div style="width:30%">
|
|
<!-- <div style="width:30%">
|
|
@@ -193,14 +195,15 @@
|
|
<div class="okrBox second">
|
|
<div class="okrBox second">
|
|
<div class="okrBox-title">
|
|
<div class="okrBox-title">
|
|
<p class="top-title">OKR</p>
|
|
<p class="top-title">OKR</p>
|
|
|
|
+ <!-- :disabled="
|
|
|
|
+ time.year != time.currentYear ||
|
|
|
|
+ time.quarter != time.currentQuarter
|
|
|
|
+ " -->
|
|
<el-button
|
|
<el-button
|
|
type="text"
|
|
type="text"
|
|
@click="openCreateKR"
|
|
@click="openCreateKR"
|
|
class="createTask"
|
|
class="createTask"
|
|
- :disabled="
|
|
|
|
- time.year != time.currentYear ||
|
|
|
|
- time.quarter != time.currentQuarter
|
|
|
|
- "
|
|
|
|
|
|
+
|
|
>
|
|
>
|
|
<i class="el-icon-plus"></i>新建KR
|
|
<i class="el-icon-plus"></i>新建KR
|
|
</el-button>
|
|
</el-button>
|
|
@@ -211,12 +214,13 @@
|
|
<span class="O-content" @click="changeObject(item.objectInfo)">
|
|
<span class="O-content" @click="changeObject(item.objectInfo)">
|
|
{{ item.objectInfo.objectInfo }}
|
|
{{ item.objectInfo.objectInfo }}
|
|
<!-- <el-button type="warning" icon="el-icon-edit" size='mini' circle></el-button> -->
|
|
<!-- <el-button type="warning" icon="el-icon-edit" size='mini' circle></el-button> -->
|
|
- <span
|
|
|
|
- class="edit"
|
|
|
|
- v-show="
|
|
|
|
|
|
+ <!-- v-show="
|
|
time.year == time.currentYear &&
|
|
time.year == time.currentYear &&
|
|
time.quarter == time.currentQuarter
|
|
time.quarter == time.currentQuarter
|
|
- "
|
|
|
|
|
|
+ " -->
|
|
|
|
+ <span
|
|
|
|
+ class="edit"
|
|
|
|
+
|
|
>
|
|
>
|
|
<i class="el-icon-edit"></i>
|
|
<i class="el-icon-edit"></i>
|
|
</span>
|
|
</span>
|
|
@@ -340,7 +344,10 @@
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</el-popover>
|
|
</el-popover>
|
|
-
|
|
|
|
|
|
+ <!-- v-show="
|
|
|
|
+ time.year == time.currentYear &&
|
|
|
|
+ time.quarter == time.currentQuarter
|
|
|
|
+ " -->
|
|
<span class="KR-opt">
|
|
<span class="KR-opt">
|
|
<span style="width: 50%">
|
|
<span style="width: 50%">
|
|
<el-progress
|
|
<el-progress
|
|
@@ -354,11 +361,12 @@
|
|
size="mini"
|
|
size="mini"
|
|
circle
|
|
circle
|
|
@click="setAlignment(ele)"
|
|
@click="setAlignment(ele)"
|
|
- v-show="
|
|
|
|
|
|
+
|
|
|
|
+ ></el-button>
|
|
|
|
+ <!-- v-show="
|
|
time.year == time.currentYear &&
|
|
time.year == time.currentYear &&
|
|
time.quarter == time.currentQuarter
|
|
time.quarter == time.currentQuarter
|
|
- "
|
|
|
|
- ></el-button>
|
|
|
|
|
|
+ " -->
|
|
<el-button
|
|
<el-button
|
|
type="warning"
|
|
type="warning"
|
|
icon="el-icon-edit"
|
|
icon="el-icon-edit"
|
|
@@ -366,10 +374,7 @@
|
|
circle
|
|
circle
|
|
@click="editKR(ele)"
|
|
@click="editKR(ele)"
|
|
style="margin-right: 5px"
|
|
style="margin-right: 5px"
|
|
- v-show="
|
|
|
|
- time.year == time.currentYear &&
|
|
|
|
- time.quarter == time.currentQuarter
|
|
|
|
- "
|
|
|
|
|
|
+
|
|
></el-button>
|
|
></el-button>
|
|
<el-popconfirm
|
|
<el-popconfirm
|
|
icon="el-icon-info"
|
|
icon="el-icon-info"
|
|
@@ -378,16 +383,17 @@
|
|
@onConfirm="deleteKR(ele)"
|
|
@onConfirm="deleteKR(ele)"
|
|
>
|
|
>
|
|
<!-- <el-button slot="reference">删除</el-button> -->
|
|
<!-- <el-button slot="reference">删除</el-button> -->
|
|
|
|
+ <!-- v-show="
|
|
|
|
+ time.year == time.currentYear &&
|
|
|
|
+ time.quarter == time.currentQuarter
|
|
|
|
+ " -->
|
|
<el-button
|
|
<el-button
|
|
type="danger"
|
|
type="danger"
|
|
slot="reference"
|
|
slot="reference"
|
|
icon="el-icon-delete"
|
|
icon="el-icon-delete"
|
|
size="mini"
|
|
size="mini"
|
|
circle
|
|
circle
|
|
- v-show="
|
|
|
|
- time.year == time.currentYear &&
|
|
|
|
- time.quarter == time.currentQuarter
|
|
|
|
- "
|
|
|
|
|
|
+
|
|
></el-button>
|
|
></el-button>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
</span>
|
|
</span>
|
|
@@ -399,14 +405,15 @@
|
|
<div class="okrBox third">
|
|
<div class="okrBox third">
|
|
<div class="okrBox-title">
|
|
<div class="okrBox-title">
|
|
<p class="top-title">未来四周计划</p>
|
|
<p class="top-title">未来四周计划</p>
|
|
|
|
+ <!-- :disabled="
|
|
|
|
+ time.year != time.currentYear ||
|
|
|
|
+ time.quarter != time.currentQuarter
|
|
|
|
+ " -->
|
|
<el-button
|
|
<el-button
|
|
type="text"
|
|
type="text"
|
|
class="createTask"
|
|
class="createTask"
|
|
@click="createTask(2)"
|
|
@click="createTask(2)"
|
|
- :disabled="
|
|
|
|
- time.year != time.currentYear ||
|
|
|
|
- time.quarter != time.currentQuarter
|
|
|
|
- "
|
|
|
|
|
|
+
|
|
>
|
|
>
|
|
<i class="el-icon-plus"></i>新建任务
|
|
<i class="el-icon-plus"></i>新建任务
|
|
</el-button>
|
|
</el-button>
|
|
@@ -456,10 +463,7 @@
|
|
</el-popover>
|
|
</el-popover>
|
|
<div
|
|
<div
|
|
class="list-opt"
|
|
class="list-opt"
|
|
- v-show="
|
|
|
|
- time.year == time.currentYear &&
|
|
|
|
- time.quarter == time.currentQuarter
|
|
|
|
- "
|
|
|
|
|
|
+
|
|
>
|
|
>
|
|
<!-- <el-progress :percentage="30" ></el-progress> -->
|
|
<!-- <el-progress :percentage="30" ></el-progress> -->
|
|
<!-- <div style="width:30%">
|
|
<!-- <div style="width:30%">
|
|
@@ -500,10 +504,7 @@
|
|
type="text"
|
|
type="text"
|
|
class="createTask"
|
|
class="createTask"
|
|
@click="createStatus"
|
|
@click="createStatus"
|
|
- :disabled="
|
|
|
|
- time.year != time.currentYear ||
|
|
|
|
- time.quarter != time.currentQuarter
|
|
|
|
- "
|
|
|
|
|
|
+
|
|
>
|
|
>
|
|
<i class="el-icon-plus"></i>新建状态指标
|
|
<i class="el-icon-plus"></i>新建状态指标
|
|
</el-button>
|
|
</el-button>
|
|
@@ -1887,16 +1888,13 @@ export default {
|
|
},
|
|
},
|
|
editSatus(item) {
|
|
editSatus(item) {
|
|
// console.log(item);
|
|
// console.log(item);
|
|
- if (
|
|
|
|
- this.time.year == this.time.currentYear &&
|
|
|
|
- this.time.quarter == this.time.currentQuarter
|
|
|
|
- ) {
|
|
|
|
|
|
+
|
|
this.statusTitle = "修改状态指标";
|
|
this.statusTitle = "修改状态指标";
|
|
this.statusName = item.content;
|
|
this.statusName = item.content;
|
|
this.statusType = item.type;
|
|
this.statusType = item.type;
|
|
this.statusId = item.id;
|
|
this.statusId = item.id;
|
|
this.statusVisible = true;
|
|
this.statusVisible = true;
|
|
- }
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
// 创建状态指标提交
|
|
// 创建状态指标提交
|
|
statusOk() {
|
|
statusOk() {
|