Commit 521a65eb by xiaohai

build for test

parent baab5497
......@@ -192,7 +192,7 @@
}
} else {
if (group.level == 0) {
group.disabled = true;
group.disabled = !(group.childrens == null || group.childrens.length == 0);
group.hasLoad = true;
_this.menuData = [group];
_this.defaultOpen.push(group.id);
......
<template>
<div>
<el-table
@selection-change="selectMember"
ref="clerkViewTable"
class="diy-table"
height="445"
......@@ -67,6 +68,12 @@ export default {
};
},
methods: {
/**
* table选择门店
*/
selectMember(selection) {
this.$emit("selectMember", selection);
},
},
mounted() {
let list = this.tableData;
......
......@@ -71,11 +71,23 @@ export default {
}
},
mounted() {
let arr = [];
this.employeeList.forEach(clerk => {
arr.push(clerk.ext.employeeClerk);
});
this.tableData = arr;
// let arr = [];
// console.log( this.employeeList, " this.employeeList");
// this.employeeList.forEach(clerk => {
// arr.push(clerk.ext.employeeClerk);
// });
// this.tableData = arr;
},
watch: {
employeeList(list) {
let arr = [];
console.log( list, " this.list");
list.forEach(clerk => {
clerk.ext.employeeClerk.sharedContactEmployeeStoreId = clerk.sharedContactEmployeeStoreId;
arr.push(clerk.ext.employeeClerk);
});
this.tableData = arr;
}
}
};
</script>
......
<template>
<div class="per-set-div"></div>
</template>
<script>
export default {
name: "permission-set"
}
</script>
......@@ -81,7 +81,7 @@
<template v-else>
<div v-if="item.fieldType == 0 || item.fieldType == 1 || item.fieldType == 6">{{info[item.fieldCode]}}</div>
<template v-else-if="item.fieldType == 2">
<div v-if="item.systemFlag == 1">{{item.fieldOperations.fieldContent[(info[item.fieldCode] || 1) * 1 - 1].name}}</div>
<div v-if="item.systemFlag == 1">{{!!item.fieldOperations.fieldContent[info[item.fieldCode] * 1 - 1] ? item.fieldOperations.fieldContent[info[item.fieldCode] * 1 - 1].name : ""}}</div>
<div v-else>{{info[item.fieldCode]}}</div>
</template>
<div v-else-if="item.fieldType == 3"></div>
......
......@@ -142,7 +142,7 @@ export default {
},
resignation: {
params: {
fireReason: ths.ruleForm.reason,
fireReason: ths.ruleForm.reason * 1 + 1,
remark: ths.ruleForm.remarks,
recordId: ths.employee.recordId,
fireDate: ths.ruleForm.date
......@@ -151,7 +151,7 @@ export default {
},
changeFireInfo: {
params: {
fireReason: ths.ruleForm.reason,
fireReason: ths.ruleForm.reason * 1 + 1,
remark: ths.ruleForm.remarks,
recordId: ths.employee.recordId,
fireDate: ths.ruleForm.date,
......
......@@ -75,7 +75,7 @@ export default {
data() {
return {
typeLsit: ["全部", "全职", "兼职", "外包", "实习", "无类型"],
reasons: ["家庭原因", "个人原因", "发展原因", "合同到期不续签", "协议解除", "无法胜任工作", "经济性裁员", "严重违法违纪", "其他"],
reasons: ["", "家庭原因", "个人原因", "发展原因", "合同到期不续签", "协议解除", "无法胜任工作", "经济性裁员", "严重违法违纪", "其他"],
propList: {
headPic: {
label: "",
......
......@@ -122,7 +122,7 @@ export const constantRouterMap = [
},
{
path: "/employeeRecord",
name: '共享通讯录二维码',
name: '在职员工',
component: _import('contacts','employeeRecord')
}
]
......
......@@ -157,7 +157,7 @@
arr.push(li.employeeClerkId);
});
let params = {
ids: arr.push(",")
ids: arr.join(",")
}
getRequest("/haoban-manage-web/emp/del", params)
.then(res => {
......
......@@ -30,6 +30,7 @@
</div>
<p class="position">{{his.positionName}}</p>
<p>{{historyStatus[his.historyStatus * 1 - 1]}}<a class="a-href m-l-10 fs-12" @click="editHis(his)" v-if="his.historyStatus == 3">编辑</a></p>
<p v-if="his.historyStatus == 3">离职理由:{{reasons[his.fireReason]}}</p>
<p>{{!!his.storeName ? his.storeName : his.groupName}}</p>
</div>
</li>
......@@ -89,6 +90,7 @@ export default {
info: {},
staticInfo: {},
statusList: ["正式", "试用", "离职"],
reasons: ["", "家庭原因", "个人原因", "发展原因", "合同到期不续签", "协议解除", "无法胜任工作", "经济性裁员", "严重违法违纪", "其他"],
items: [],
fieldList: [],
mileStone: [], // 里程碑数据
......
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