Przeglądaj źródła

web教师工资信息

西昌分支
yxq 1 rok temu
rodzic
commit
10d8eaac79
1 zmienionych plików z 16 dodań i 7 usunięć
  1. +16
    -7
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/Gz_Amounts/Index.cshtml

+ 16
- 7
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/Gz_Amounts/Index.cshtml Wyświetl plik

@@ -11,14 +11,13 @@
</head>
<body>
<div id="app" style="height:100%">
<el-row :gutter="14" style="margin-bottom:12px">
<el-row :gutter="10" style="margin-bottom:12px">
<el-col :span="4">
<el-input placeholder="请输入教职工编号/姓名进行查询" v-model="query.keyword" clearable size="small"></el-input>
</el-col>
<el-col :span="4">
<el-select v-model="query.value" clearable size="small" placeholder="请选择部门">
<el-option label="123123" value="123"></el-option>
<el-option label="456" value="222"></el-option>
<el-select v-model="query.department" clearable size="small" filterable placeholder="请选择部门">
<el-option v-for="item in departmentOptions" :label="item.label" :value="item.value"></el-option>
</el-select>
</el-col>
<el-col :span="4">
@@ -152,6 +151,7 @@
currentPage: 1,
pageSize: 30,
total: 0,
departmentOptions:[],
//固定列
fixedColumn: [
{ prop: 'UserNo', label: '部门名称' },
@@ -189,7 +189,16 @@
this.init()
},
methods: {
init() {
async init() {
await Promise.all([
this.NetRequest('/LR_OrganizationModule/Department/GetTree?companyId=207fa1a9-160c-4943-a89b-8fa4db0547ce&parentId=0', null, 'get').then(res => {
if (res) {
this.departmentOptions = res.map(e => {
return {value:e.id,label:e.text}
})
}
})
])
this.getTableData()
},
NetRequest(url, data, method = "POST") {
@@ -251,7 +260,7 @@
},
// 删除
del() {
let ids = this.multipleSelection.map(e => e.id).toString()
let ids = this.multipleSelection.map(e => e.Id).toString()
if (!ids) {
this.$message.warning('请选择需要删除的数据!')
return
@@ -382,7 +391,7 @@
return
}
this.detailData = []
let result = await this.NetRequest('/PersonnelManagement/Gz_Amounts/SaveForm', $.param({ keyValue: this.multipleSelection[0].id }), 'get')
let result = await this.NetRequest('/PersonnelManagement/Gz_Amounts/SaveForm', $.param({ keyValue: this.multipleSelection[0].Id }), 'get')
this.trendsColumn = [{ porp: 'aaa', label: '动态1' }]
this.dialogVisible1 = true
},


Ładowanie…
Anuluj
Zapisz