|
@@ -24,19 +24,27 @@
|
|
</basic-container>
|
|
</basic-container>
|
|
<containerTitle title="基础资料"></containerTitle>
|
|
<containerTitle title="基础资料"></containerTitle>
|
|
<basic-container>
|
|
<basic-container>
|
|
|
|
+ <el-form :inline="true" :model="formInline" class="demo-form-inline">
|
|
<div style="display: flex;justify-content: space-between;margin-bottom: 10px">
|
|
<div style="display: flex;justify-content: space-between;margin-bottom: 10px">
|
|
<div>
|
|
<div>
|
|
<el-button type="primary" @click="dataList.push({})" size="small">新增</el-button>
|
|
<el-button type="primary" @click="dataList.push({})" size="small">新增</el-button>
|
|
<el-button type="primary" @click="exportAll" size="small">导出全部</el-button>
|
|
<el-button type="primary" @click="exportAll" size="small">导出全部</el-button>
|
|
<el-button type="primary" @click="exportSalary" size="small">导出工资条</el-button>
|
|
<el-button type="primary" @click="exportSalary" size="small">导出工资条</el-button>
|
|
|
|
+ <el-form-item label="姓名" style="margin-left: 20px;margin-top: -5px">
|
|
|
|
+ <el-input placeholder="姓名" size="small"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item style="margin-top: -6px">
|
|
|
|
+ <el-button type="primary" size="small">查询</el-button>
|
|
|
|
+ </el-form-item>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
<el-button icon="el-icon-s-operation" size="small" circle @click="drawer=true"></el-button>
|
|
<el-button icon="el-icon-s-operation" size="small" circle @click="drawer=true"></el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ </el-form>
|
|
<!--抽屉自定义列-->
|
|
<!--抽屉自定义列-->
|
|
<el-drawer
|
|
<el-drawer
|
|
- title="自定义列设置"
|
|
|
|
|
|
+ title="自定义列设置(加项录入正数、减项录入负数)"
|
|
:visible.sync="drawer"
|
|
:visible.sync="drawer"
|
|
append-to-body
|
|
append-to-body
|
|
withHeader
|
|
withHeader
|
|
@@ -46,7 +54,7 @@
|
|
:data="optionList.column"
|
|
:data="optionList.column"
|
|
border
|
|
border
|
|
ref="table"
|
|
ref="table"
|
|
- size="small"
|
|
|
|
|
|
+ size="mini"
|
|
:height="tableHeight"
|
|
:height="tableHeight"
|
|
style="width: 100%;">
|
|
style="width: 100%;">
|
|
<!-- <el-table-column-->
|
|
<!-- <el-table-column-->
|
|
@@ -61,7 +69,7 @@
|
|
label="列名"
|
|
label="列名"
|
|
width="200">
|
|
width="200">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-input v-model="scope.row.label" placeholder="请输入内容"></el-input>
|
|
|
|
|
|
+ <el-input v-model="scope.row.label" size="mini" placeholder="请输入内容"></el-input>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
@@ -86,7 +94,7 @@
|
|
prop="width"
|
|
prop="width"
|
|
align="center"
|
|
align="center"
|
|
label="宽度"
|
|
label="宽度"
|
|
- width="500">
|
|
|
|
|
|
+ width="400">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-slider :min="1" :max="500" show-input v-model="scope.row.width"></el-slider>
|
|
<el-slider :min="1" :max="500" show-input v-model="scope.row.width"></el-slider>
|
|
</template>
|
|
</template>
|
|
@@ -95,9 +103,9 @@
|
|
prop="remarks"
|
|
prop="remarks"
|
|
align="center"
|
|
align="center"
|
|
label="备注"
|
|
label="备注"
|
|
- width="400">
|
|
|
|
|
|
+ width="200">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-input v-model="scope.row.remarks" placeholder="请输入内容"></el-input>
|
|
|
|
|
|
+ <el-input v-model="scope.row.remarks" size="mini" placeholder="请输入内容"></el-input>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|