|
|
|
@ -15,9 +15,13 @@ |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item> |
|
|
|
|
<el-button @click="handleSearch">查询</el-button> |
|
|
|
|
<el-button type="primary" plain @click="craeteSalary">生成工资条</el-button> |
|
|
|
|
<el-button type="primary" @click="importHistorySalary">导入历史工资条</el-button> |
|
|
|
|
<el-button @click="handleSearch" v-hasPermi="['home:salary:search']">查询</el-button> |
|
|
|
|
<el-button type="primary" plain @click="craeteSalary" v-hasPermi="['home:salary:create']" |
|
|
|
|
>生成工资条</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="primary" @click="importHistorySalary" v-hasPermi="['home:salary:history']" |
|
|
|
|
>导入历史工资条</el-button |
|
|
|
|
> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
|
|
|
|
|
@ -256,6 +260,7 @@ |
|
|
|
|
style="padding: 0" |
|
|
|
|
v-if="!row.edit && row.yearmonth" |
|
|
|
|
text |
|
|
|
|
v-hasPermi="['home:salary:update']" |
|
|
|
|
@click="handleEdit(row)" |
|
|
|
|
> |
|
|
|
|
修改 |
|
|
|
@ -265,6 +270,7 @@ |
|
|
|
|
v-else-if="row.edit && row.yearmonth" |
|
|
|
|
text |
|
|
|
|
style="padding: 0" |
|
|
|
|
v-hasPermi="['home:salary:update']" |
|
|
|
|
@click="handleSave(row)" |
|
|
|
|
> |
|
|
|
|
保存 |
|
|
|
@ -274,6 +280,7 @@ |
|
|
|
|
v-if="row.yearmonth" |
|
|
|
|
style="padding: 0" |
|
|
|
|
text |
|
|
|
|
v-hasPermi="['home:salary:sealup']" |
|
|
|
|
@click="handleSave(row)" |
|
|
|
|
> |
|
|
|
|
封存 |
|
|
|
|