bug修复:离职人员无法修改人员信息
parent
7490db6777
commit
62c6a063ca
|
@ -99,10 +99,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
|
||||||
getUserInfo,
|
|
||||||
getEmployedBy, getIDCardDeduplication
|
|
||||||
} from "../../../api";
|
|
||||||
import FabButton from "@/components/fab_button/index.vue";
|
import FabButton from "@/components/fab_button/index.vue";
|
||||||
import {getUserInfoV1} from "../../../api/api";
|
import {getUserInfoV1} from "../../../api/api";
|
||||||
|
|
||||||
|
@ -147,12 +143,21 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
async fnGetData() {
|
async fnGetData() {
|
||||||
let data = await getUserInfoV1(
|
let data
|
||||||
{
|
try {
|
||||||
id: this.$store.getters.getUserInfo.USER_ID,
|
data = await getUserInfoV1(
|
||||||
postMethod: 'application/json'
|
{
|
||||||
}
|
id: this.$store.getters.getUserInfo.USER_ID,
|
||||||
)
|
postMethod: 'application/json'
|
||||||
|
}
|
||||||
|
)
|
||||||
|
}catch (e){
|
||||||
|
console.log(e)
|
||||||
|
setTimeout(() => {
|
||||||
|
uni.navigateBack()
|
||||||
|
}, 2000)
|
||||||
|
}
|
||||||
|
|
||||||
this.info = data.info
|
this.info = data.info
|
||||||
// 身份证
|
// 身份证
|
||||||
this.userCardIDPhotoFile = []
|
this.userCardIDPhotoFile = []
|
||||||
|
|
Loading…
Reference in New Issue