|
|
|
@ -47,16 +47,16 @@ |
|
|
|
<el-button type="text" @click="individualTakeFun(scope.row)">个人信息</el-button> |
|
|
|
<el-button type="text" @click="individualTakeFun(scope.row)">个人信息</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template #dataBirth="scope"> |
|
|
|
<template #dataBirth="scope"> |
|
|
|
{{ scope.row.dataBirth ?scope.row.dataBirth.substring(0, 10) : ''}} |
|
|
|
{{ scope.row.dataBirth ? scope.row.dataBirth.substring(0, 10) : '' }} |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template #contractDuration="scope"> |
|
|
|
<template #contractDuration="scope"> |
|
|
|
{{ scope.row.contractDuration ?scope.row.contractDuration.substring(0, 10) : ''}} |
|
|
|
{{ scope.row.contractDuration ? scope.row.contractDuration.substring(0, 10) : '' }} |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template #joinJobDate="scope"> |
|
|
|
<template #joinJobDate="scope"> |
|
|
|
{{ scope.row.joinJobDate ?scope.row.joinJobDate.substring(0, 10) : ''}} |
|
|
|
{{ scope.row.joinJobDate ? scope.row.joinJobDate.substring(0, 10) : '' }} |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template #inJobDate="scope"> |
|
|
|
<template #inJobDate="scope"> |
|
|
|
{{ scope.row.inJobDate ?scope.row.inJobDate.substring(0, 10) : ''}} |
|
|
|
{{ scope.row.inJobDate ? scope.row.inJobDate.substring(0, 10) : '' }} |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</avue-crud> |
|
|
|
</avue-crud> |
|
|
|
|
|
|
|
|
|
|
|
@ -103,7 +103,14 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-dialog> |
|
|
|
</el-dialog> |
|
|
|
<!-- 个人信息 --> |
|
|
|
<!-- 个人信息 --> |
|
|
|
<el-dialog title="个人信息" append-to-body v-if="personalOpen" v-model="personalOpen" width="60%" border> |
|
|
|
<el-dialog |
|
|
|
|
|
|
|
title="个人信息" |
|
|
|
|
|
|
|
append-to-body |
|
|
|
|
|
|
|
v-if="personalOpen" |
|
|
|
|
|
|
|
v-model="personalOpen" |
|
|
|
|
|
|
|
width="60%" |
|
|
|
|
|
|
|
border |
|
|
|
|
|
|
|
> |
|
|
|
<el-table :data="personData"> |
|
|
|
<el-table :data="personData"> |
|
|
|
<el-table-column label="姓名" prop="userName" min-width="120" /> |
|
|
|
<el-table-column label="姓名" prop="userName" min-width="120" /> |
|
|
|
<el-table-column label="工号" prop="userCode" min-width="120" /> |
|
|
|
<el-table-column label="工号" prop="userCode" min-width="120" /> |
|
|
|
@ -718,7 +725,6 @@ export default { |
|
|
|
this.showDialog = false; |
|
|
|
this.showDialog = false; |
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
} else { |
|
|
|
console.log('error submit!!'); |
|
|
|
console.log('error submit!!'); |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
@ -862,10 +868,8 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
const ids = idArr.join(','); |
|
|
|
const ids = idArr.join(','); |
|
|
|
regularization({ ids: ids }).then(res => { |
|
|
|
regularization({ ids: ids }).then(res => { |
|
|
|
if (res.code == 200) { |
|
|
|
|
|
|
|
this.$message.success('转正成功'); |
|
|
|
this.$message.success('转正成功'); |
|
|
|
this.onLoad(this.page); |
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|