-
- 插入一行
- 删除选择行
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -235,7 +198,7 @@ export default {
editBtnText: '修改',
viewBtnText: '详情',
labelWidth: 120,
- menuWidth: 190,
+ menuWidth: 240,
dialogWidth: 1200,
dialogClickModal: false,
searchEnter: true,
@@ -265,7 +228,6 @@ export default {
width: 200,
hide: true,
addDisabled: true,
-
},
{
label: '工号',
@@ -275,8 +237,7 @@ export default {
span: 8,
search: false,
width: 200,
- searchLabelWidth:50,
-
+ searchLabelWidth: 50,
},
{
label: '姓名',
@@ -287,7 +248,7 @@ export default {
type: 'select',
dicUrl: '/blade-system/user/page?size=999999¤t=1',
filterable: true,
- searchLabelWidth:50,
+ searchLabelWidth: 50,
props: {
label: 'realName',
value: 'id',
@@ -643,7 +604,7 @@ export default {
editDisplay: false,
search: true,
width: 130,
- searchLabelWidth:50,
+ searchLabelWidth: 50,
dicUrl: '/blade-system/dict/dictionary?code=personnel_position_status',
props: {
label: 'dictValue',
@@ -654,7 +615,66 @@ export default {
},
selectionList: [],
rowData: {}, //获取行数据
-
+ jobTransferform: {},
+ jobOption: {
+ submitBtn: false,
+ emptyBtn: false,
+ column: [
+ {
+ label: '姓名',
+ prop: 'name',
+ disabled: true,
+ },
+ {
+ label: '工号',
+ prop: 'code',
+ disabled: true,
+ },
+ {
+ label: '原所属班组',
+ labelWidth: 120,
+ prop: 'name',
+ disabled: true,
+ },
+ {
+ label: '原所属岗位',
+ labelWidth: 120,
+ prop: 'name',
+ disabled: true,
+ },
+ {
+ label: '新所属班组',
+ prop: 'name55555',
+ labelWidth: 120,
+ type: 'select',
+ dicUrl: '/blade-scheduling/teamSet/findList',
+ props: {
+ label: 'tsName',
+ value: 'id',
+ res: 'data',
+ },
+ rules: [
+ {
+ required: true,
+ message: '请选择',
+ trigger: 'blur',
+ },
+ ],
+ },
+ {
+ label: '新所属岗位',
+ prop: 'name',
+ labelWidth: 120,
+ rules: [
+ {
+ required: true,
+ message: '请输入',
+ trigger: 'blur',
+ },
+ ],
+ },
+ ],
+ },
};
},
mounted() {
@@ -662,6 +682,17 @@ export default {
this.getPlanList();
},
methods: {
+ // 转岗
+ handleJobSave() {
+ this.$refs.jobform.validate((valid, done, msg) => {
+ if (valid) {
+ done();
+ } else {
+ console.log('error submit!!');
+ return false;
+ }
+ });
+ },
onChangeData(val, type) {
if (val && type == 'userId') {
this.form.userCode = val.code; //工号
@@ -687,8 +718,8 @@ export default {
closeDialog(isRefresh) {
this.isAddOpen = false;
this.isShowImport = false;
- this.showDialog = false
-
+ this.showDialog = false;
+
// if (isRefresh) {
this.onLoad(this.page, this.query);
// }
@@ -885,7 +916,8 @@ export default {
// 转岗
transferToFun(row) {
this.showDialog = true;
- this.rowData = row
+ this.rowData = row;
+ this.jobTransferform = row
},
// 个人信息
individualTakeFun(row) {
@@ -896,7 +928,7 @@ export default {
},
//插入一行
insertEvent() {
- console.log(this.rowData,'ceshi');
+ console.log(this.rowData, 'ceshi');
const record = {
jtPostHandle: {
personnel: {},