|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <el-button type="primary" size="small" @click="dialogTableVisible = true">新 建</el-button>
|
|
|
+ <el-button type="primary" size="small" @click="visibleShow">新 建</el-button>
|
|
|
<el-dialog
|
|
|
title="新建人员目标年度"
|
|
|
:visible.sync="dialogTableVisible"
|
|
|
@@ -213,6 +213,10 @@ export default {
|
|
|
})
|
|
|
this.yearOpens = res.data
|
|
|
},
|
|
|
+ visibleShow(){
|
|
|
+ this.dialogTableVisible = true
|
|
|
+ this.yearList()
|
|
|
+ }
|
|
|
/*pickerOptions(){
|
|
|
// return time.getTime() < Date.now(); //当天不可选
|
|
|
const time = new Date()
|
|
|
@@ -222,7 +226,6 @@ export default {
|
|
|
mounted () {
|
|
|
/*this.listData()*/
|
|
|
this.yearData()
|
|
|
- this.yearList()
|
|
|
},
|
|
|
created () {
|
|
|
this.tablecols = this.tool.tabelCol(this.$route.name)['personalTable'].tablecols
|