flx:修改人员录入大小限制 盲板抽堵时间
This commit is contained in:
parent
66b1a0d156
commit
e5c001c52e
@ -72,7 +72,7 @@ export default {
|
|||||||
IdCardHead: '身份证头像',
|
IdCardHead: '身份证头像',
|
||||||
spotFaceCollection: '现场采集人脸',
|
spotFaceCollection: '现场采集人脸',
|
||||||
// '现场采集人脸要求:人脸正面免冠照,jpeg或jpg格式,图片像素需为640x480像素或以上,图片大小需不超过500KB,人脸眼间距需大于60像素点'
|
// '现场采集人脸要求:人脸正面免冠照,jpeg或jpg格式,图片像素需为640x480像素或以上,图片大小需不超过500KB,人脸眼间距需大于60像素点'
|
||||||
imgHint: '现场采集人脸要求:人脸正面免冠照,jpg格式,图片像素需为640x480像素或以上,图片大小需为10-200KB,人脸大小占整张图片1/3以上',
|
imgHint: '现场采集人脸要求:人脸正面免冠照,图片格式为jpg格式、大小为10~200KB,人脸大小占整张图片1/3以上',
|
||||||
cancel: '取消',
|
cancel: '取消',
|
||||||
confirm: '确定',
|
confirm: '确定',
|
||||||
noData: '暂无数据',
|
noData: '暂无数据',
|
||||||
|
|||||||
@ -172,7 +172,7 @@ if (process.env.NODE_ENV == "development") {
|
|||||||
// axios.defaults.baseURL ='http://101.43.164.214:45011/' //上海优益(上海建工)
|
// axios.defaults.baseURL ='http://101.43.164.214:45011/' //上海优益(上海建工)
|
||||||
// axios.defaults.baseURL = 'http://192.168.34.221:28888/' //郭圣雄本地
|
// axios.defaults.baseURL = 'http://192.168.34.221:28888/' //郭圣雄本地
|
||||||
// axios.defaults.baseURL = 'http://192.168.34.221:28889/' //郭圣雄本地
|
// axios.defaults.baseURL = 'http://192.168.34.221:28889/' //郭圣雄本地
|
||||||
// axios.defaults.baseURL = "http://192.168.34.221:9111/"; //郭圣雄本地
|
axios.defaults.baseURL = "http://192.168.34.221:9111/"; //郭圣雄本地
|
||||||
// axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地
|
// axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地
|
||||||
// axios.defaults.baseURL = 'http://182.90.224.237:51234/' //郭圣雄远程
|
// axios.defaults.baseURL = 'http://182.90.224.237:51234/' //郭圣雄远程
|
||||||
// axios.defaults.baseURL = 'http://jxj.zhgdyun.com:61212/' //彭洁远程
|
// axios.defaults.baseURL = 'http://jxj.zhgdyun.com:61212/' //彭洁远程
|
||||||
@ -185,8 +185,8 @@ if (process.env.NODE_ENV == "development") {
|
|||||||
// axios.defaults.baseURL = 'http://47.93.215.234:9809/'//鞍钢正式地址(弃用)
|
// axios.defaults.baseURL = 'http://47.93.215.234:9809/'//鞍钢正式地址(弃用)
|
||||||
// axios.defaults.baseURL = 'http://42.180.188.17:9809/'//鞍钢正式地址
|
// axios.defaults.baseURL = 'http://42.180.188.17:9809/'//鞍钢正式地址
|
||||||
// axios.defaults.baseURL = 'http://47.93.215.234:11211/'//鞍钢测试地址(弃用)
|
// axios.defaults.baseURL = 'http://47.93.215.234:11211/'//鞍钢测试地址(弃用)
|
||||||
axios.defaults.baseURL = 'http://42.180.188.17:11211/' //鞍钢测试地址
|
// axios.defaults.baseURL = 'http://42.180.188.17:11211/' //鞍钢测试地址
|
||||||
// axios.defaults.baseURL = 'http://8.136.222.164:8808/' //中科安信正式地址
|
// axios.defaults.baseURL = 'http://8.136.222.164:8808/' //中科安信正式地址
|
||||||
} else if (process.env.NODE_ENV == "debug") {
|
} else if (process.env.NODE_ENV == "debug") {
|
||||||
axios.defaults.baseURL = "https://www.ceshi.com";
|
axios.defaults.baseURL = "https://www.ceshi.com";
|
||||||
} else if (process.env.NODE_ENV == "production") {
|
} else if (process.env.NODE_ENV == "production") {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -1888,7 +1888,7 @@
|
|||||||
<!-- </div> -->
|
<!-- </div> -->
|
||||||
</div>
|
</div>
|
||||||
<el-upload
|
<el-upload
|
||||||
accept=".jpg, .jpeg"
|
accept=".jpg"
|
||||||
class="upload-demo"
|
class="upload-demo"
|
||||||
action="uploadUrl"
|
action="uploadUrl"
|
||||||
:on-remove="(file) => handleRemove(file, 7)"
|
:on-remove="(file) => handleRemove(file, 7)"
|
||||||
@ -2204,6 +2204,8 @@
|
|||||||
:autoCropHeight="cropperOption.autoCropHeight"
|
:autoCropHeight="cropperOption.autoCropHeight"
|
||||||
:autoCrop="true"
|
:autoCrop="true"
|
||||||
:fixedBox="true"
|
:fixedBox="true"
|
||||||
|
:outputSize="0.7"
|
||||||
|
:maxImgSize="300"
|
||||||
></vueCropper>
|
></vueCropper>
|
||||||
<!-- </vue-scroll> -->
|
<!-- </vue-scroll> -->
|
||||||
</div>
|
</div>
|
||||||
@ -3969,12 +3971,19 @@ export default {
|
|||||||
this.$message.error(this.$t("message.companyDiagram.uploadMsg")); //只能上传图片
|
this.$message.error(this.$t("message.companyDiagram.uploadMsg")); //只能上传图片
|
||||||
return false;
|
return false;
|
||||||
} else if (type == 7) {
|
} else if (type == 7) {
|
||||||
|
console.log(file)
|
||||||
if (
|
if (
|
||||||
file.type != "image/jpeg" &&
|
file.type != "image/jpeg" &&
|
||||||
file.type != "image/jpg"
|
file.type != "image/jpg"
|
||||||
// file.type != "image/png"
|
// file.type != "image/png"
|
||||||
) {
|
) {
|
||||||
this.$message.error(this.$t("message.laborMange.hint8")); //"请上传jpg、jpeg格式图片"
|
this.$message.error(this.$t("请上传jpg格式图片")); //"请上传jpg、jpeg格式图片"
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
let imgSize = Number(file.size / 1024);
|
||||||
|
console.log(11111111, imgSize)
|
||||||
|
if (imgSize <= 10 || imgSize >= 200) {
|
||||||
|
this.$message.error("文件大小不能超过200kb小于10kb,请重新上传!")
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1209,8 +1209,8 @@ export default {
|
|||||||
...res.result,
|
...res.result,
|
||||||
// xzGasAnalyzeList: res.result.xzGasAnalyzeList,
|
// xzGasAnalyzeList: res.result.xzGasAnalyzeList,
|
||||||
hotWorkExecutionTime: [
|
hotWorkExecutionTime: [
|
||||||
res.result.workExecutionBeginTime ? res.result.workExecutionBeginTime : "",
|
res.result.actualJobBeginTime ? res.result.actualJobBeginTime : "",
|
||||||
res.result.workExecutionEndTime ? res.result.workExecutionEndTime: "",
|
res.result.actualJobEndTime ? res.result.actualJobEndTime: "",
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
if (this.workDetail.fieldWorkingEnvironment) {
|
if (this.workDetail.fieldWorkingEnvironment) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user