|
|
@@ -31,7 +31,6 @@
|
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.description!==''" v-for="(item,index) in scope.row.description.split(',') ">
|
|
|
{{index+1}}.<span v-html="stripTags(item)"></span><br/>
|
|
|
-
|
|
|
</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -48,7 +47,7 @@
|
|
|
border
|
|
|
stripe
|
|
|
size="mini"
|
|
|
- style="width: 80%" :data="workPlans">
|
|
|
+ style="width: 80%;margin-top: 10px;" :data="workPlans">
|
|
|
<el-table-column type="index" label="序号" width="60">
|
|
|
</el-table-column>
|
|
|
<el-table-column label="工作计划" prop="workPlan">
|
|
|
@@ -82,16 +81,18 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="操作" prop="op" width="150" v-if="currentWeek===weeks">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button size="mini" type="primary" @click="addRow()">添加</el-button>
|
|
|
<el-button size="mini" type="danger" @click="deleteRow(scope.$index, scope.row)">删除</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
+ <div style="margin-top: 15px;width: 80%;text-align: right" >
|
|
|
+ <el-button size="mini" type="success" @click="addRow()">添加</el-button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
-
|
|
|
</div>
|
|
|
<div style="margin-top: 50px;margin-right: 150px; width: 65%;text-align: center">
|
|
|
<el-button size="mini" type="primary" @click="saveWorkPlan()" v-if="currentWeek===weeks">保存工作计划</el-button>
|
|
|
+
|
|
|
</div>
|
|
|
|
|
|
<!-- 任务详情对话框 -->
|