|
@@ -11,13 +11,11 @@
|
|
|
<view v-if="this.isEmpty(this.projectObj.enginName)" style="margin-top: 10;"
|
|
|
@click="pickerShow('name')">
|
|
|
<span style="color: darkgray;">请选择工程</span>
|
|
|
- <image :src="loadImgSrc('icon_right.png')"
|
|
|
- class="to-right-icon"></image>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
</view>
|
|
|
<view v-else style="margin-top: 10;" @click="pickerShow('name')">
|
|
|
<span style="color: black;">{{projectObj.enginName}}</span>
|
|
|
- <image :src="loadImgSrc('icon_right.png')"
|
|
|
- class="to-right-icon"></image>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -55,13 +53,11 @@
|
|
|
</view>
|
|
|
<view v-if="isEmpty(this.projectTime)" @click="openDatetimePicker">
|
|
|
<span style="color: darkgray;">请选择工程时间</span>
|
|
|
- <image :src="loadImgSrc('icon_right.png')"
|
|
|
- class="to-right-icon"></image>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
</view>
|
|
|
<view v-else @click="openDatetimePicker">
|
|
|
<span style="color: black;">{{projectTime}}</span>
|
|
|
- <image :src="loadImgSrc('icon_right.png')"
|
|
|
- class="to-right-icon"></image>
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -178,13 +174,16 @@
|
|
|
|
|
|
<text>危险作业坑大小(长,宽,深)</text>
|
|
|
<input class="uni-input" type="digit" v-model="projectObj.hazardousWorkPitsLong" placeholder="请输入长"
|
|
|
- maxlength="9" style="margin-left: 10px;text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
|
|
|
+ maxlength="9"
|
|
|
+ style="margin-left: 10px;text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
|
|
|
|
|
|
<input class="uni-input" type="digit" v-model="projectObj.hazardousWorkPitsWide" placeholder="请输入宽"
|
|
|
- maxlength="9" style="margin-left: 10px;text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
|
|
|
+ maxlength="9"
|
|
|
+ style="margin-left: 10px;text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
|
|
|
|
|
|
<input class="uni-input" type="digit" v-model="projectObj.hazardousWorkPitsDeep" placeholder="请输入深"
|
|
|
- maxlength="9" style="margin-left: 10px;text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
|
|
|
+ maxlength="9"
|
|
|
+ style="margin-left: 10px;text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -357,13 +356,13 @@
|
|
|
<view class="action-btn">
|
|
|
<button @click="submit" class="btn cu-btn block bg-blue lg round">提交</button>
|
|
|
</view>
|
|
|
-
|
|
|
+
|
|
|
<SelectPicker :list="rows" @change="projectListSelect" v-if="open" @close="close" titleKey="name"
|
|
|
subtitleKey="id" v-model="name"></SelectPicker>
|
|
|
-
|
|
|
+
|
|
|
<yt-dateTimePicker ref="myPicker" @submit="handleSubmit" :start-year="2024" :end-year="2099"
|
|
|
:time-hide="[true, true, true, true, true, true]" :time-label="['年', '月', '日', '时', '分', '秒']" />
|
|
|
-
|
|
|
+
|
|
|
<!-- 下载提示页面 -->
|
|
|
<mypopup :show="show_loding" :popupText="popupText" :titleText="titleText" :cancelText="cancelText"
|
|
|
:confirmText="confirmText" @close="cancel_loding" @confirm="confirm_loding">
|
|
@@ -585,6 +584,10 @@
|
|
|
console.log("bush:" + this.isNeedSupport + this.needSupportText)
|
|
|
},
|
|
|
chooseFile() {
|
|
|
+ if (this.isEmpty(this.projectObj.id)) {
|
|
|
+ this.$modal.msg('请选择工程')
|
|
|
+ return;
|
|
|
+ }
|
|
|
let _this = this;
|
|
|
console.log('文件' + _this.headers);
|
|
|
uni.chooseMessageFile({
|
|
@@ -805,7 +808,7 @@
|
|
|
this.$modal.msg(res.msg);
|
|
|
setTimeout(() => {
|
|
|
uni.navigateBack();
|
|
|
- },1000);
|
|
|
+ }, 1000);
|
|
|
})
|
|
|
},
|
|
|
handleSubmit(e) {
|
|
@@ -849,19 +852,21 @@
|
|
|
justify-content: space-between;
|
|
|
padding: 10px;
|
|
|
position: relative;
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
+
|
|
|
.uni-list {
|
|
|
- border: 1xp solid #eee;
|
|
|
- }
|
|
|
- .to-right-icon {
|
|
|
- width: 15px;
|
|
|
- height: 15px;
|
|
|
- position: absolute;
|
|
|
- top: 50%;
|
|
|
- transform: translateY(-50%);
|
|
|
- }
|
|
|
-
|
|
|
+ border: 1xp solid #eee;
|
|
|
+ }
|
|
|
+
|
|
|
+ .to-right-icon {
|
|
|
+ width: 15px;
|
|
|
+ height: 15px;
|
|
|
+ position: absolute;
|
|
|
+ top: 50%;
|
|
|
+ transform: translateY(-50%);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
.marginLeft5 {
|
|
|
margin-left: 5px;
|
|
@@ -887,8 +892,8 @@
|
|
|
border-radius: 20rpx;
|
|
|
margin: 20rpx;
|
|
|
/*从padding开始往外面裁剪背景*/
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
|
|
|
.uni-list-cell {
|
|
@@ -950,19 +955,20 @@
|
|
|
width: 10px;
|
|
|
height: 10px;
|
|
|
}
|
|
|
+
|
|
|
.btn {
|
|
|
- width: 715rpx;
|
|
|
- height: 69rpx;
|
|
|
- background: #79A4F0;
|
|
|
- border-radius: 6rpx;
|
|
|
- font-size: 25rpx;
|
|
|
- font-family: Microsoft YaHei;
|
|
|
- font-weight: 400;
|
|
|
- color: #FFFFFF;
|
|
|
- line-height: 69rpx;
|
|
|
- margin-top: 40rpx;
|
|
|
- margin-bottom: 100rpx;
|
|
|
- }
|
|
|
+ width: 715rpx;
|
|
|
+ height: 69rpx;
|
|
|
+ background: #79A4F0;
|
|
|
+ border-radius: 6rpx;
|
|
|
+ font-size: 25rpx;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #FFFFFF;
|
|
|
+ line-height: 69rpx;
|
|
|
+ margin-top: 40rpx;
|
|
|
+ margin-bottom: 100rpx;
|
|
|
+ }
|
|
|
|
|
|
|
|
|
.number {
|
|
@@ -975,6 +981,7 @@
|
|
|
padding: 10px;
|
|
|
/* 设置padding以提高视觉效果 */
|
|
|
}
|
|
|
+
|
|
|
.tj-btn {
|
|
|
height: 69rpx;
|
|
|
background: #3184f0;
|
|
@@ -984,9 +991,9 @@
|
|
|
color: #FFFFFF;
|
|
|
line-height: 69rpx;
|
|
|
margin: 40rpx 70rpx;
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.sc-btn {
|
|
|
height: 69rpx;
|
|
|
background: #f0686b;
|
|
@@ -996,9 +1003,9 @@
|
|
|
color: #FFFFFF;
|
|
|
line-height: 69rpx;
|
|
|
margin: 40rpx;
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.num-style {
|
|
|
background: #e8f4f9;
|
|
|
margin: 20rpx;
|
|
@@ -1006,7 +1013,7 @@
|
|
|
border-radius: 20rpx;
|
|
|
border: 1px solid #d4e3f0;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
|
|
|
.textarea {
|
|
|
margin-top: 10upx;
|