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