修复bug
This commit is contained in:
parent
f8cadc5265
commit
13f13febdb
@ -49,6 +49,7 @@
|
||||
</el-col>
|
||||
<el-col :span="10">
|
||||
<!-- 单位工程名称 -->
|
||||
<label class="xingxing"></label>
|
||||
<el-form-item :label="$t('message.buildersDiary.unitProjectName')+':'" prop="buildName">
|
||||
<el-input v-model="ruleForm.buildName"></el-input>
|
||||
</el-form-item>
|
||||
@ -67,6 +68,7 @@
|
||||
</el-col>
|
||||
<el-col :span="10">
|
||||
<!-- 施工项目部门 -->
|
||||
<label class="xingxing"></label>
|
||||
<el-form-item :label="$t('message.buildersDiary.constructionProjectDepartment')+':'" prop="buildProjectDept">
|
||||
<el-input v-model="ruleForm.buildProjectDept"></el-input>
|
||||
</el-form-item>
|
||||
@ -85,12 +87,14 @@
|
||||
</el-col>
|
||||
<el-col :span="5">
|
||||
<!-- 项目负责人 -->
|
||||
<label class="xingxing"></label>
|
||||
<el-form-item :label="$t('message.buildersDiary.projectDutyPeople')+':'" prop="projectDirector">
|
||||
<el-input v-model="ruleForm.projectDirector"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="5">
|
||||
<!-- 单位工程施工员 -->
|
||||
<label class="xingxing"></label>
|
||||
<el-form-item :label="$t('message.buildersDiary.unitConstructionPeople')+':'" prop="constructionCrew">
|
||||
<el-input v-model="ruleForm.constructionCrew"></el-input>
|
||||
</el-form-item>
|
||||
@ -447,7 +451,7 @@
|
||||
type="primary"
|
||||
>
|
||||
<!-- "新增" : "编辑" -->
|
||||
{{ type == "add" ? $t('message.buildersDiary.add'):$t('message.buildersDiary.edit') }}</el-button
|
||||
{{ type == "add" ? "提交":$t('message.buildersDiary.edit') }}</el-button
|
||||
>
|
||||
</div>
|
||||
</el-col>
|
||||
@ -800,6 +804,67 @@ export default {
|
||||
|
||||
//提交保存
|
||||
submitForm() {
|
||||
if(!this.ruleForm.buildName){
|
||||
this.$message.error("请输入单位工程名称")
|
||||
return false;
|
||||
}
|
||||
if(!this.ruleForm.buildProjectDept){
|
||||
this.$message.error("请输入施工项目部门")
|
||||
return false;
|
||||
}
|
||||
if(!this.ruleForm.projectDirector){
|
||||
this.$message.error("请输入项目负责人")
|
||||
return false;
|
||||
}
|
||||
if(!this.ruleForm.constructionCrew){
|
||||
this.$message.error("请输入单位工程施工员")
|
||||
return false;
|
||||
}
|
||||
if(!this.ruleForm.buildTime){
|
||||
this.$message.error("请选择施工日期")
|
||||
return false;
|
||||
}
|
||||
if(!this.ruleForm.morningWeather){
|
||||
this.$message.error("请输入上午天气")
|
||||
return false;
|
||||
}
|
||||
if(!this.ruleForm.afternoonWeather){
|
||||
this.$message.error("请输入下午天气")
|
||||
return false;
|
||||
}
|
||||
if(!this.ruleForm.temperature){
|
||||
this.$message.error("请输入气温")
|
||||
return false;
|
||||
}
|
||||
if(!this.ruleForm.buildPlace){
|
||||
this.$message.error("请输入分项工程(施工部位)")
|
||||
return false;
|
||||
}
|
||||
|
||||
if(!this.ruleForm.taskTeamType){
|
||||
this.$message.error("请输入作业班组类型")
|
||||
return false;
|
||||
}
|
||||
if(!this.ruleForm.taskTeam){
|
||||
this.$message.error("请输入作业班组名称")
|
||||
return false;
|
||||
}
|
||||
if(!this.ruleForm.morningPersonNum){
|
||||
this.$message.error("请输入上午作业人数")
|
||||
return false;
|
||||
}
|
||||
if(!this.ruleForm.afternoonPersonNum){
|
||||
this.$message.error("请输入下午作业人数")
|
||||
return false;
|
||||
}
|
||||
if(!this.ruleForm.taskCondition){
|
||||
this.$message.error("请输入作业情况")
|
||||
return false;
|
||||
}
|
||||
if(this.fileList.length==0){
|
||||
this.$message.error("请上传附件")
|
||||
return false;
|
||||
}
|
||||
this.$refs.ruleForm.validate((valid) => {
|
||||
if (valid) {
|
||||
let data = JSON.parse(JSON.stringify(this.ruleForm));
|
||||
@ -888,6 +953,13 @@ export default {
|
||||
};
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.xingxing::before{
|
||||
content: "*";
|
||||
color: red;
|
||||
font-size: 14px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.diaryMod {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
@ -323,7 +323,8 @@ export default {
|
||||
if (!this.isEditType) {
|
||||
addPanoramicImageApi(data).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message.success(res.message);
|
||||
// this.$message.success(res.message);
|
||||
this.$message.success("操作成功");
|
||||
this.addPanoramicDialog = false;
|
||||
this.getPanoramaList();
|
||||
} else {
|
||||
@ -333,11 +334,13 @@ export default {
|
||||
} else {
|
||||
editPanoramicImageApi(data).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message.success(res.message);
|
||||
// this.$message.success(res.message);
|
||||
this.$message.success("上传成功");
|
||||
this.addPanoramicDialog = false;
|
||||
this.getPanoramaList();
|
||||
} else {
|
||||
this.$message.error(res.message);
|
||||
// this.$message.error(res.message);
|
||||
this.$message.error("上传失败");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -60,6 +60,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
import {
|
||||
selectByIdRegisterRecordApi,
|
||||
editRegisterRecordApi
|
||||
|
||||
@ -5,26 +5,39 @@
|
||||
</div> -->
|
||||
<div class="content">
|
||||
<!-- 设备型号 -->
|
||||
<div class="detail-item">{{ $t('message.lifterManage.equipmentModel') }}:{{detailData.devModel}}</div>
|
||||
<div class="detail-item">
|
||||
设备型号:{{detailData.devModel}}
|
||||
<!-- {{ $t('message.lifterManage.equipmentModel') }}:{{detailData.devModel}} -->
|
||||
</div>
|
||||
<!-- 创建人 -->
|
||||
<div class="detail-item">{{ $t('message.lifterManage.creator') }}:{{detailData.createUserName}}</div>
|
||||
<!-- <div class="detail-item">{{ $t('message.lifterManage.creator') }}:{{detailData.createUserName}}</div> -->
|
||||
<div class="detail-item">创建人:{{detailData.createUserName}}</div>
|
||||
<!-- 创建时间 -->
|
||||
<div class="detail-item">{{ $t('message.lifterManage.creationTime') }}:{{detailData.createTime}}</div>
|
||||
<!-- <div class="detail-item">{{ $t('message.lifterManage.creationTime') }}:{{detailData.createTime}}</div> -->
|
||||
<div class="detail-item">创建时间:{{detailData.createTime}}</div>
|
||||
<!-- 首次安装高度 -->
|
||||
<div class="detail-item">{{ $t('message.lifterManage.firstInstallHeight') }}:{{detailData.firstInstallHeight}}</div>
|
||||
<div class="detail-item">首次安装高度:{{detailData.firstInstallHeight}}</div>
|
||||
<!-- <div class="detail-item">{{ $t('message.lifterManage.firstInstallHeight') }}:{{detailData.firstInstallHeight}}</div> -->
|
||||
|
||||
<!-- 最终安装高度 -->
|
||||
<div class="detail-item">{{ $t('message.lifterManage.lastInstallHeight') }}:{{detailData.finalInstallHeight}}</div>
|
||||
<!-- <div class="detail-item">{{ $t('message.lifterManage.lastInstallHeight') }}:{{detailData.finalInstallHeight}}</div> -->
|
||||
<div class="detail-item">最终安装高度:{{detailData.finalInstallHeight}}</div>
|
||||
<!-- 计划进场时间 -->
|
||||
<div class="detail-item">{{ $t('message.lifterManage.planMobilizationTime') }}:{{detailData.planEnterTime}}</div>
|
||||
<!-- <div class="detail-item">{{ $t('message.lifterManage.planMobilizationTime') }}:{{detailData.planEnterTime}}</div> -->
|
||||
<div class="detail-item">计划进场时间:{{detailData.planEnterTime}}</div>
|
||||
<!-- 计划安装时间 -->
|
||||
<div class="detail-item">{{ $t('message.lifterManage.planInstallTime') }}:{{detailData.planInstallTime}}</div>
|
||||
<!-- <div class="detail-item">{{ $t('message.lifterManage.planInstallTime') }}:{{detailData.planInstallTime}}</div> -->
|
||||
<div class="detail-item">计划安装时间:{{detailData.planInstallTime}}</div>
|
||||
<!-- 计划拆除时间 -->
|
||||
<div class="detail-item">{{ $t('message.lifterManage.planDismantleTime') }}:{{detailData.planDismantleTime}}</div>
|
||||
<!-- <div class="detail-item">{{ $t('message.lifterManage.planDismantleTime') }}:{{detailData.planDismantleTime}}</div> -->
|
||||
<div class="detail-item">计划拆除时间:{{detailData.planDismantleTime}}</div>
|
||||
<!-- 现场编号 -->
|
||||
<div class="detail-item">{{ $t('message.lifterManage.siteNumber') }}:{{detailData.sceneNumber}}</div>
|
||||
<!-- <div class="detail-item">{{ $t('message.lifterManage.siteNumber') }}:{{detailData.sceneNumber}}</div> -->
|
||||
<div class="detail-item">现场编号:{{detailData.sceneNumber}}</div>
|
||||
<!-- 第 次顶升时间-->
|
||||
<div class="detail-item" v-for="(item,index) in detailData.jackingList" :key="index">
|
||||
{{ $t('message.lifterManage.theFirst') }} {{item.sequenceNo}} {{ $t('message.lifterManage.jackingTime') }}:{{item.jackingTime}}
|
||||
<!-- {{ $t('message.lifterManage.theFirst') }} {{item.sequenceNo}} {{ $t('message.lifterManage.jackingTime') }}:{{item.jackingTime}} -->
|
||||
第 {{item.sequenceNo}} 次顶升时间:{{item.jackingTime}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -390,6 +390,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
import devFilingDetail from './../../projectFront/towerCrane/devFilingDetail.vue'
|
||||
import {
|
||||
selectSchemeRecordApi,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user