修改审核bug
This commit is contained in:
parent
f7171b0264
commit
0f4e7af6b9
|
|
@ -1,23 +1,41 @@
|
||||||
import { getToDoNum } from '@/api/system/notice'
|
import { getToDoNum } from '@/api/system/notice';
|
||||||
|
//0 测试 1生产
|
||||||
|
let fileType=1;
|
||||||
|
|
||||||
export function lookFile() {
|
export function lookFile() {
|
||||||
|
if(fileType===0){
|
||||||
return 'http://192.168.0.14:1999/file/statics' //14服务器
|
return 'http://192.168.0.14:1999/file/statics' //14服务器
|
||||||
|
}else{
|
||||||
|
return 'http://218.21.27.6:1999/file/statics' //生产服务器
|
||||||
|
}
|
||||||
// return 'http://112.29.103.165:14413/file/statics' //1.6演示服务器
|
// return 'http://112.29.103.165:14413/file/statics' //1.6演示服务器
|
||||||
// return 'http://218.21.27.6:1999/file/statics' //生产服务器
|
|
||||||
}
|
}
|
||||||
export function lookFaceFile() {
|
export function lookFaceFile() {
|
||||||
return 'http://192.168.0.14:1999/file/statics/' //14服务器
|
if(fileType===0){
|
||||||
|
return 'http://192.168.0.14:1999/file/statics/' //14服务器
|
||||||
|
}else{
|
||||||
|
return 'http://218.21.27.6:1999/file/statics/' //生产服务器
|
||||||
|
}
|
||||||
//return 'http://112.29.103.165:14413/file/statics/' //1.6演示服务器
|
//return 'http://112.29.103.165:14413/file/statics/' //1.6演示服务器
|
||||||
// return 'http://218.21.27.6:1999/file/statics/' //生产服务器
|
// return 'http://218.21.27.6:1999/file/statics/' //生产服务器
|
||||||
}
|
}
|
||||||
export function filePreview() {
|
export function filePreview() {
|
||||||
return 'http://192.168.0.14:8012/onlinePreview?url=' //14服务器
|
if(fileType===0){
|
||||||
// return 'http://112.29.103.165:8012/onlinePreview?url=' //1.6演示服务器
|
return 'http://192.168.0.14:8012/onlinePreview?url=' //14服务器
|
||||||
// return 'http://218.21.27.6:18013/onlinePreview?url='
|
}else{
|
||||||
|
return 'http://218.21.27.6:18013/onlinePreview?url=' //生产服务器
|
||||||
|
}
|
||||||
|
//
|
||||||
|
// return 'http://112.29.103.165:8012/onlinePreview?url=' //1.6演示服务器
|
||||||
|
|
||||||
}
|
}
|
||||||
export function lookMioIoFile() {
|
export function lookMioIoFile() {
|
||||||
// return 'http://218.21.27.6:19090/nxdt-courseware' //生产服务器
|
if(fileType===0){
|
||||||
return 'http://192.168.0.14:9090/nxdt-courseware-1' //14服务器
|
return 'http://192.168.0.14:9090/nxdt-courseware-1' //14服务器
|
||||||
|
}else{
|
||||||
|
return 'http://218.21.27.6:19090/nxdt-courseware' //生产服务器
|
||||||
|
}
|
||||||
|
// return 'http://192.168.0.14:9090/nxdt-courseware-1' //14服务器
|
||||||
}
|
}
|
||||||
|
|
||||||
// lookFile: 'http://218.21.27.6:1999/nxnyback/statics',
|
// lookFile: 'http://218.21.27.6:1999/nxnyback/statics',
|
||||||
|
|
|
||||||
|
|
@ -82,6 +82,12 @@
|
||||||
<el-option label="离场" value="0" />
|
<el-option label="离场" value="0" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="是否上传文件" prop="fileIsActive" label-width="140px">
|
||||||
|
<el-select v-model="personQueryParams.fileIsActive" placeholder="请选择" clearable>
|
||||||
|
<el-option label="已上传" value="1" />
|
||||||
|
<el-option label="未上传" value="0" />
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="人员进场时间范围" label-width="150px">
|
<el-form-item label="人员进场时间范围" label-width="150px">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="timeRange"
|
v-model="timeRange"
|
||||||
|
|
@ -1182,6 +1188,7 @@ export default {
|
||||||
status: undefined,
|
status: undefined,
|
||||||
startDate: undefined,
|
startDate: undefined,
|
||||||
endDate: undefined,
|
endDate: undefined,
|
||||||
|
fileIsActive:undefined,
|
||||||
},
|
},
|
||||||
equipQueryParams: {
|
equipQueryParams: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue