手动增加加急件,打印提醒

This commit is contained in:
liushuai
2020-02-05 12:14:18 +08:00
parent bf69da3d5b
commit a1b1feb81e
6 changed files with 71 additions and 23 deletions

View File

@@ -3,7 +3,7 @@
<el-card>
<!-- <span>角色功能:</span>-->
<el-input v-model="RoleFunctioning" size="small" clearable placeholder="请输入角色功能" style="width:200px"/>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 15px" @click="pageCurrent=1;pageSize = 10;searchData()">查询</el-button>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 15px" @click="searchData()">查询</el-button>
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" @click="handleAdd()">增加</el-button>
</el-card>
<el-card style="margin-top: 0px">
@@ -99,9 +99,6 @@ export default {
data() {
return {
RoleFunctioning: '',
pageCurrent: 1,
pageSize: 10,
total: null,
loading: false,
tableData: [],
dialogFormVisible1: false,
@@ -134,9 +131,8 @@ export default {
},
searchData() {
this.loading = true
searchTable(this.RoleFunctioning, this.pageCurrent, this.pageSize).then(response => {
this.tableData = response.data.rows
this.total = response.data.total
searchTable(this.RoleFunctioning).then(response => {
this.tableData = response.data
this.loading = false
console.log(response.data)
})