update code
parent
6731f5ef7c
commit
7a2554e208
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 查询劳务实名制管理列表
|
||||
export function listAttendance(query) {
|
||||
return request({
|
||||
url: '/project/attendance/list',
|
||||
url: '/system/attendanceData/listEx',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<template>
|
||||
<div class="app-container">
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="82px">
|
||||
<!--
|
||||
<el-form-item label="项目名称" prop="projectId">
|
||||
<el-select :disabled="prjDisabled" v-model="queryParams.projectId" placeholder="请选择项目" clearable
|
||||
@change="doQuerySub()">
|
||||
|
@ -14,6 +15,7 @@
|
|||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
-->
|
||||
<el-form-item label="分包商类型" prop="companyTypeId">
|
||||
<el-select v-model="queryParams.companyTypeId" placeholder="请选择分包商类型" clearable>
|
||||
<el-option value="0" label="所有"></el-option>
|
||||
|
@ -199,9 +201,9 @@ export default {
|
|||
vendorsCode: "huazhu",
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
projectId: null,
|
||||
projectId: 1,
|
||||
workerName: "",
|
||||
deptId: null,
|
||||
deptId: 1,
|
||||
companyTypeId: "0",
|
||||
attendanceTime: new Date(),
|
||||
attendanceOutTime: undefined,
|
||||
|
@ -225,11 +227,10 @@ export default {
|
|||
};
|
||||
},
|
||||
created() {
|
||||
this.$api.publics.getMyProjectList({}).then((response) => {
|
||||
this.projectOptions = response.rows;
|
||||
});
|
||||
|
||||
this.$api.publics.findAttendanceCfgList({}).then((response) => {
|
||||
this.cfgList = response.data || [];
|
||||
this.getList();
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
|
@ -331,7 +332,7 @@ export default {
|
|||
}
|
||||
it.scanPhoto =
|
||||
it.scanPhoto && it.scanPhoto.indexOf("/profile") == 0
|
||||
? "/jhapi" + it.scanPhoto
|
||||
? "" + it.scanPhoto
|
||||
: it.scanPhoto;
|
||||
return it;
|
||||
});
|
||||
|
|
|
@ -45,7 +45,7 @@ module.exports = {
|
|||
},
|
||||
'/profile':{
|
||||
//target: `http://szgc.jhncidg.com/jhapi/profile`,
|
||||
target: `http://62.234.3.186/profile/`,
|
||||
target: `http://127.0.0.1:9004/profile`,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
'^/profile':'/'
|
||||
|
|
Loading…
Reference in New Issue