Commit 56a76fbd by 彭祥礼

新增兑换券管理模块

parent 14e91fe4
import {postAction,downFilePost} from '@/api/manage'
const prefix = '/manager/ciop';
// 楼长KPI管理
let initSubstName = (params) => postAction(prefix + "/yxtCoupon/initSubstName" , params);
let getSchoolNames = (params) => postAction(prefix + "/yxtCoupon/getSchoolNames" , params);
let uploadExcel = (params) => downFilePost(prefix + "/yxtCoupon/excelOut" , params);
let downloadMoBan = (params) => downFilePost(prefix + "/yxtCoupon/downloadMoBan" , params);
let yxtCouponList = (params) => postAction(prefix + "/yxtCoupon/list" , params);
let yxtCouponDelete = (params) => postAction(prefix + "/yxtCoupon/delete", params);
let yxtCouponInsert = (params) => postAction(prefix + "/yxtCoupon/insert" , params);
let yxtCouponUpdate = (params) => postAction(prefix + "/yxtCoupon/update",params);
export {
initSubstName,
getSchoolNames,
uploadExcel,
downloadMoBan,
yxtCouponList,
yxtCouponDelete,
yxtCouponInsert,
yxtCouponUpdate,
}
import {postAction,downFilePost} from '@/api/manage'
const prefix = '/manager/ciop';
// 楼长KPI管理
let initSubstName = (params) => postAction(prefix + "/zjlWage/initSubstName" , params);
let getSchoolNames = (params) => postAction(prefix + "/zjlWage/getSchoolNames" , params);
let uploadExcel = (params) => downFilePost(prefix + "/zjlWage/excelOut" , params);
let downloadMoBan = (params) => downFilePost(prefix + "/zjlWage/downloadMoBan" , params);
let zjlSalaryList = (params) => postAction(prefix + "/zjlWage/list" , params);
let zjlSalaryDelete = (params) => postAction(prefix + "/zjlWage/delete", params);
let zjlSalaryInsert = (params) => postAction(prefix + "/zjlWage/insert" , params);
let zjlSalaryUpdate = (params) => postAction(prefix + "/zjlWage/update",params);
//生成楼长上月薪酬
let createSalary = (params) => postAction(prefix + "/zjlWage/createSalary",params);
export {
initSubstName,
getSchoolNames,
uploadExcel,
downloadMoBan,
zjlSalaryList,
zjlSalaryDelete,
zjlSalaryInsert,
zjlSalaryUpdate,
createSalary
}
...@@ -97,10 +97,6 @@ ...@@ -97,10 +97,6 @@
<template slot="productCreateTime" slot-scope="text"> <template slot="productCreateTime" slot-scope="text">
{{ text | dayjs}} {{ text | dayjs}}
</template> </template>
<template slot="productState" slot-scope="text">
<p v-if="text=='0'">正常</p>
<p v-else=""></p>
</template>
<template slot="operation" slot-scope="text,record"> <template slot="operation" slot-scope="text,record">
<span> <span>
<a @click="modifyfunction(record)">KPI打分</a> <a @click="modifyfunction(record)">KPI打分</a>
......
...@@ -41,9 +41,9 @@ ...@@ -41,9 +41,9 @@
<a-divider v-show="false" type="vertical"/> <a-divider v-show="false" type="vertical"/>
<a-button v-show="false" @click="modifyfunction()" type="primary">添加</a-button> <a-button v-show="false" @click="modifyfunction()" type="primary">添加</a-button>
<a-divider v-show="false" type="vertical"/> <a-divider v-show="false" type="vertical"/>
<a-button v-show="false" @click="excelInto()" type="primary">KPI数据导入</a-button> <a-button v-show="false" @click="excelInto()" type="primary">薪酬数据导入</a-button>
<a-divider type="vertical"/> <a-divider type="vertical"/>
<a-button @click="excelOut()" type="primary">KPI数据导出</a-button> <a-button @click="excelOut()" type="primary">薪酬数据导出</a-button>
</a-col> </a-col>
</span> </span>
</a-row> </a-row>
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
<a-col :md="24" :sm="12"> <a-col :md="24" :sm="12">
<p v-show="YRYMmoBan"> <p v-show="YRYMmoBan">
模板下载: 模板下载:
<a-button type="primary" @click="downloadMoBan">楼长薪管理信息模板</a-button> <a-button type="primary" @click="downloadMoBan">楼长薪管理信息模板</a-button>
</p> </p>
</a-col> </a-col>
</a-row> </a-row>
...@@ -291,18 +291,18 @@ ...@@ -291,18 +291,18 @@
//导出 //导出
exportFile( exportFile(
uploadExcel(Object.assign(params, obj)), uploadExcel(Object.assign(params, obj)),
"楼长薪管理信息" + nowdate + ".xlsx", "楼长薪管理信息" + nowdate + ".xlsx",
); );
}, },
excelInto() { excelInto() {
this.importTile = "批量导入楼长薪管理信息"; this.importTile = "批量导入楼长薪管理信息";
this.YRYMmoBan = true; this.YRYMmoBan = true;
this.importUrl = "manager/ciop/lzWage/importDate"; this.importUrl = "manager/ciop/lzWage/importDate";
this.createSalaryvisible = true this.createSalaryvisible = true
}, },
downloadMoBan: function () { downloadMoBan: function () {
exportFile(downloadMoBan(), "楼长薪管理信息.xlsx"); exportFile(downloadMoBan(), "楼长薪管理信息.xlsx");
}, },
doPush(res) { doPush(res) {
console.log(res); console.log(res);
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
@panelChange="handlePanelChange" @panelChange="handlePanelChange"
style="width: 16rem;" style="width: 16rem;"
/> />
<!--<a-month-picker type="" @change="onChange" v-model="queryParam.month" placeholder="选择月份" style="width: 8rem;"/>-->
</a-form-item> </a-form-item>
</a-col> </a-col>
<span class="table-page-search-submitButtons" style="float: left; overflow: hidden;"> <span class="table-page-search-submitButtons" style="float: left; overflow: hidden;">
......
...@@ -53,8 +53,7 @@ ...@@ -53,8 +53,7 @@
</template> </template>
</s-table> </s-table>
<!----弹框--> <!----弹框-->
<a-modal :title="add ?'添加宽带': '编辑宽带'" :visible="modifyvisible" @ok="createfunctionOk" <a-modal :title="add ?'添加宽带': '编辑宽带'" :visible="modifyvisible" @ok="createfunctionOk" @cancel="createfunctionCancel" html-type="submit" width="1024px">
@cancel="createfunctionCancel" html-type="submit" width="1024px">
<a-drawer <a-drawer
title="适用学校详情" title="适用学校详情"
placement="right" placement="right"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment