|
@@ -77,7 +77,7 @@
|
|
|
</div>
|
|
|
<i class="el-icon-circle-plus-outline add-bt" @click="addDayPlan()" v-if="ableEdit"></i>
|
|
|
<span slot="footer" class="dialog-footer" v-if="ableEdit">
|
|
|
- <el-button @click="visibleChange = false">取 消</el-button>
|
|
|
+ <el-button @click="visibleChange = false;">取 消</el-button>
|
|
|
<el-button type="primary" @click="editTask">确 定</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
@@ -153,6 +153,11 @@ export default {
|
|
|
'$store.state.checkUser.id'(val){
|
|
|
this.params.userId = val;
|
|
|
this.getMonthPlan();
|
|
|
+ },
|
|
|
+ visibleChange(val){
|
|
|
+ if(!val){
|
|
|
+ this.getMonthPlan();
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
computed: {
|