Commit 7c4fec56 by 董有沛

冲突解决

parents 7fb44195 bf9dd993
import {postAction,downFilePost} from '@/api/manage'
const prefix = '/manager/ciop';
//获取县分下拉列表
let initSubstName = (params) => postAction(prefix + "/saleCensus/initSubstName" , params);
//获取学校下拉列表
let getSchoolNames = (params) => postAction(prefix + "/saleCensus/getSchoolNames" , params);
// 获取充值达标列表
let getList = (params) => postAction(prefix + "/saleCensus/list" , params);
// 导出放号充值达标清单
let exportOut= (params) => downFilePost(prefix + "/saleCensus/exportList" , params);
export {
initSubstName,
getSchoolNames,
getList,
exportOut
}
import {postAction,downFilePost} from '@/api/manage'
const prefix = '/manager/ciop';
//获取县分下拉列表
let initSubstName = (params) => postAction(prefix + "/salesOrder/initSubstName" , params);
//获取学校下拉列表
let getSchoolNames = (params) => postAction(prefix + "/salesOrder/getSchoolNames" , params);
// 获取充值达标列表
let getList = (params) => postAction(prefix + "/salesOrder/list" , params);
// 导出放号充值达标清单
let exportOut= (params) => downFilePost(prefix + "/salesOrder/exportList" , params);
// 删除
let deleteOrder = (params) => postAction(prefix + "/salesOrder/deleteOrder" , params);
// 下载导入结果清单
let downloadResult = (params) => downFilePost(prefix + "/salesOrder/exportResult" , params);
export {
initSubstName,
getSchoolNames,
getList,
deleteOrder,
downloadResult,
exportOut
}
...@@ -4,7 +4,7 @@ const prefix = '/manager/ciop'; ...@@ -4,7 +4,7 @@ const prefix = '/manager/ciop';
// 楼长KPI管理 // 楼长KPI管理
let initSubstName = (params) => postAction(prefix + "/zjlWage/initSubstName" , params); let initSubstName = (params) => postAction(prefix + "/zjlWage/initSubstName" , params);
let getSchoolNames = (params) => postAction(prefix + "/zjlWage/getSchoolNames" , params); let getSchoolNames = (params) => postAction(prefix + "/zjlWage/getSchoolNames" , params);
let uploadExcel = (params) => downFilePost(prefix + "/zjlWage/excelOut" , params); let excelOut = (params) => downFilePost(prefix + "/zjlWage/excelOut" , params);
let downloadMoBan = (params) => downFilePost(prefix + "/zjlWage/downloadMoBan" , params); let downloadMoBan = (params) => downFilePost(prefix + "/zjlWage/downloadMoBan" , params);
let zjlSalaryList = (params) => postAction(prefix + "/zjlWage/list" , params); let zjlSalaryList = (params) => postAction(prefix + "/zjlWage/list" , params);
let zjlSalaryDelete = (params) => postAction(prefix + "/zjlWage/delete", params); let zjlSalaryDelete = (params) => postAction(prefix + "/zjlWage/delete", params);
...@@ -16,7 +16,7 @@ let createSalary = (params) => postAction(prefix + "/zjlWage/createSalary",param ...@@ -16,7 +16,7 @@ let createSalary = (params) => postAction(prefix + "/zjlWage/createSalary",param
export { export {
initSubstName, initSubstName,
getSchoolNames, getSchoolNames,
uploadExcel, excelOut,
downloadMoBan, downloadMoBan,
zjlSalaryList, zjlSalaryList,
zjlSalaryDelete, zjlSalaryDelete,
......
...@@ -97,6 +97,9 @@ ...@@ -97,6 +97,9 @@
<template slot="productCreateTime" slot-scope="text"> <template slot="productCreateTime" slot-scope="text">
{{ text | dayjs}} {{ text | dayjs}}
</template> </template>
<template slot="minGanZi" slot-scope="text">
{{ text.substring(0,2)+'**'}}
</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>
...@@ -108,7 +111,7 @@ ...@@ -108,7 +111,7 @@
</template> </template>
</s-table> </s-table>
<!----弹框--> <!----弹框-->
<a-modal :title="add ?'添加正则配置': '编辑正则配置'" :visible="modifyvisible" @ok="createfunctionOk" @cancel="createfunctionCancel" html-type="submit" width="1024px"> <a-modal :title="add ?'添加楼长KPI': 'KPI打分'" :visible="modifyvisible" @ok="createfunctionOk" @cancel="createfunctionCancel" html-type="submit" width="1024px">
<a-form :form="Formtable"> <a-form :form="Formtable">
<a-form-item :labelCol="{span: 5}" :wrapperCol="{span: 9, offset: 1}" label="姓名:"> <a-form-item :labelCol="{span: 5}" :wrapperCol="{span: 9, offset: 1}" label="姓名:">
<a-input placeholder="姓名" v-decorator="[ 'sysuName', {rules: [{ required: true, message: '姓名不能为空!' }]} ]" :disabled="isdisabled"/> <a-input placeholder="姓名" v-decorator="[ 'sysuName', {rules: [{ required: true, message: '姓名不能为空!' }]} ]" :disabled="isdisabled"/>
...@@ -233,8 +236,8 @@ ...@@ -233,8 +236,8 @@
isDel: '0' isDel: '0'
}, },
columns: [ columns: [
{dataIndex: 'sysuName', width: 25, title: '姓名'}, {dataIndex: 'sysuName', width: 25, title: '姓名',},
{dataIndex: 'account', width: 40, title: '账号'}, {dataIndex: 'account', width: 40, title: '账号',scopedSlots: {customRender: 'minGanZi'}},
{dataIndex: 'substName', width: 20, title: '县分'}, {dataIndex: 'substName', width: 20, title: '县分'},
{dataIndex: 'schoolName', width: 70, title: '学校'}, {dataIndex: 'schoolName', width: 70, title: '学校'},
{dataIndex: 'reportDaily', width: 25, title: '汇总任务量'}, {dataIndex: 'reportDaily', width: 25, title: '汇总任务量'},
......
...@@ -116,6 +116,9 @@ ...@@ -116,6 +116,9 @@
<p v-if="text=='0'">正常</p> <p v-if="text=='0'">正常</p>
<p v-else=""></p> <p v-else=""></p>
</template> </template>
<template slot="minGanZi" slot-scope="text">
{{ text.substring(0,2)+'**'}}
</template>
<template slot="operation" slot-scope="text,record"> <template slot="operation" slot-scope="text,record">
<span> <span>
<a v-show="false" @click="modifyfunction(record)">编辑</a> <a v-show="false" @click="modifyfunction(record)">编辑</a>
...@@ -225,7 +228,7 @@ ...@@ -225,7 +228,7 @@
}, },
columns: [ columns: [
{dataIndex: 'month', width: 20, title: 'KPI月份 '}, {dataIndex: 'month', width: 20, title: 'KPI月份 '},
{dataIndex: 'sysuName', width: 25, title: '姓名'}, {dataIndex: 'sysuName', width: 25, title: '姓名',scopedSlots: {customRender: 'minGanZi'}},
{dataIndex: 'substName', width: 20, title: '县分'}, {dataIndex: 'substName', width: 20, title: '县分'},
{dataIndex: 'schoolName', width: 70, title: '学校'}, {dataIndex: 'schoolName', width: 70, title: '学校'},
{dataIndex: 'rechargeNum', width: 25, title: '放号充值数'}, {dataIndex: 'rechargeNum', width: 25, title: '放号充值数'},
......
...@@ -89,6 +89,9 @@ ...@@ -89,6 +89,9 @@
<p v-if="text=='0'">正常</p> <p v-if="text=='0'">正常</p>
<p v-else=""></p> <p v-else=""></p>
</template> </template>
<template slot="minGanZi" slot-scope="text">
{{ text.substring(0,2)+'**'}}
</template>
<!--<template slot="operation" slot-scope="text,record"> <!--<template slot="operation" slot-scope="text,record">
<span> <span>
<a v-show="false" @click="modifyfunction(record)">编辑</a> <a v-show="false" @click="modifyfunction(record)">编辑</a>
...@@ -107,10 +110,10 @@ ...@@ -107,10 +110,10 @@
import ImportBtn from "../../../components/sysmanage/ImportBtn"; import ImportBtn from "../../../components/sysmanage/ImportBtn";
import { zjlKpiList, uploadExcel, downloadMoBan } from "@/api/school-center/managerKpiAPI" import { zjlKpiList, uploadExcel, downloadMoBan } from "@/api/school-center/managerKpiAPI"
import {cloneObject, exportFile} from '@/utils/util'; import {cloneObject, exportFile} from '@/utils/util';
import ConstantActivity from "@/constant/ConstantActivity";
import Vue from 'vue'; import Vue from 'vue';
import {DatetimePicker} from 'vant';
import moment from "moment"; import moment from "moment";
import ConstantActivity from "@/constant/ConstantActivity"; import {DatetimePicker} from 'vant';
Vue.use(DatetimePicker); Vue.use(DatetimePicker);
...@@ -147,7 +150,7 @@ ...@@ -147,7 +150,7 @@
columns: [ columns: [
{dataIndex: 'month', width: 20, title: '月份 '}, {dataIndex: 'month', width: 20, title: '月份 '},
{dataIndex: 'county', width: 20, title: '县分'}, {dataIndex: 'county', width: 20, title: '县分'},
{dataIndex: 'name', width: 25, title: '督导'}, {dataIndex: 'name', width: 25, title: '督导',},
{dataIndex: 'totalPerformance', width: 30, title: '绩效奖金合计'}, {dataIndex: 'totalPerformance', width: 30, title: '绩效奖金合计'},
{dataIndex: 'performanceBase', width: 25, title: '绩效基数'}, {dataIndex: 'performanceBase', width: 25, title: '绩效基数'},
{dataIndex: 'yfPerformance', width: 25, title: '应发绩效'}, {dataIndex: 'yfPerformance', width: 25, title: '应发绩效'},
......
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
import STable from '@/components/table'; import STable from '@/components/table';
import ImportBtn from "../../../components/sysmanage/ImportBtn"; import ImportBtn from "../../../components/sysmanage/ImportBtn";
import { import {
zjlSalaryList, zjlSalaryDelete, uploadExcel, downloadMoBan,createSalary zjlSalaryList, zjlSalaryDelete, excelOut, downloadMoBan,createSalary
} from "@/api/school-center/zjlSalaryManagerAPI" } from "@/api/school-center/zjlSalaryManagerAPI"
import {cloneObject, exportFile} from '@/utils/util'; import {cloneObject, exportFile} from '@/utils/util';
import Vue from 'vue'; import Vue from 'vue';
...@@ -256,7 +256,7 @@ ...@@ -256,7 +256,7 @@
let nowdate = moment().format("YYYY-MM-DD"); let nowdate = moment().format("YYYY-MM-DD");
//导出 //导出
exportFile( exportFile(
uploadExcel(Object.assign(params, obj)), excelOut(Object.assign(params, obj)),
"总经理薪酬管理信息" + nowdate + ".xlsx", "总经理薪酬管理信息" + nowdate + ".xlsx",
); );
......
...@@ -125,13 +125,10 @@ ...@@ -125,13 +125,10 @@
<a-form-item :labelCol="{span: 5}" :wrapperCol="{span: 9, offset: 1}" label="正则验证名:"> <a-form-item :labelCol="{span: 5}" :wrapperCol="{span: 9, offset: 1}" label="正则验证名:">
<a-select v-model="regularName" style="width: 330px"> <a-select v-model="regularName" style="width: 330px">
<a-select-option @click="regularsName('请选择')" value="请选择">请选择</a-select-option> <a-select-option @click="regularsName('请选择')" value="请选择">请选择</a-select-option>
<a-select-option @click="regularsName(item)" v-for="item in regulars" :value="item.regularId"> <a-select-option @click="regularsName(item)" v-for="item in regulars" :value="item.regularId">{{item.regularName}}</a-select-option>
{{item.regularName}}
</a-select-option>
</a-select> </a-select>
<a @click="visibleT2 = true">详情</a>
</a-form-item> </a-form-item>
<div v-show="!add"> <div>
<a-form-item :labelCol="{span: 5}" :wrapperCol="{span: 9, offset: 1}" label="状态"> <a-form-item :labelCol="{span: 5}" :wrapperCol="{span: 9, offset: 1}" label="状态">
<a-select placeholder="状态" v-decorator="[ 'productState']"> <a-select placeholder="状态" v-decorator="[ 'productState']">
<a-select-option key="0">正常</a-select-option> <a-select-option key="0">正常</a-select-option>
...@@ -362,7 +359,6 @@ ...@@ -362,7 +359,6 @@
this.universityName = '请选择' this.universityName = '请选择'
this.regularName = "请选择"; this.regularName = "请选择";
} }
this.modifyvisible = true; this.modifyvisible = true;
}, },
createfunctionOk() { createfunctionOk() {
...@@ -430,6 +426,9 @@ ...@@ -430,6 +426,9 @@
that.modelData.productUniversity = '' that.modelData.productUniversity = ''
that.modelData.universityId = '' that.modelData.universityId = ''
that.modelData.productIntroductionPic2 = '' that.modelData.productIntroductionPic2 = ''
that.productIntroduction = ''
that.productSetMealIntroduction= ''
that.productRf2=''
this.Formtable.setFieldsValue({ this.Formtable.setFieldsValue({
productMeal: '', productMeal: '',
productTitle: '', productTitle: '',
......
...@@ -84,8 +84,7 @@ ...@@ -84,8 +84,7 @@
</a-row> </a-row>
</a-modal> </a-modal>
<!--列表--> <!--列表-->
<s-table :columns="columns" :data="rowdata" bordered ref="table" size="small" class="flex-filling" <s-table :columns="columns" :data="rowdata" bordered ref="table" size="small" class="flex-filling" :locale="emptyText">
:locale="emptyText">
<!--拦截器--> <!--拦截器-->
<template slot="updateDate" slot-scope="text"> <template slot="updateDate" slot-scope="text">
{{ text | dayjs}} {{ text | dayjs}}
...@@ -117,8 +116,7 @@ ...@@ -117,8 +116,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-form :form="Formtable"> <a-form :form="Formtable">
<a-form-item :labelCol="{span: 5}" :wrapperCol="{span: 9, offset: 1}" label="兑换券账号:"> <a-form-item :labelCol="{span: 5}" :wrapperCol="{span: 9, offset: 1}" label="兑换券账号:">
<a-input placeholder="兑换券账号" <a-input placeholder="兑换券账号"
......
...@@ -126,7 +126,9 @@ export default { ...@@ -126,7 +126,9 @@ export default {
}, },
handleOk() { handleOk() {
let that = this let that = this
if(that.modelData.num == null || that.modelData.num == undefined){
that.modelData.num == ''
}
if (that.modelData.id == '') { if (that.modelData.id == '') {
userAdd(that.modelData).then(() => { userAdd(that.modelData).then(() => {
that.visible = false that.visible = false
......
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