|
@@ -286,36 +286,50 @@
|
|
|
<input class="uni-input content_num" v-model="errorForm.name" />
|
|
<input class="uni-input content_num" v-model="errorForm.name" />
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
|
|
|
|
|
- <u-form-item label="异常描述:" borderBottom prop="name">
|
|
|
|
|
- <input
|
|
|
|
|
- type="textarea"
|
|
|
|
|
- class="content_num"
|
|
|
|
|
|
|
+ <u-form-item
|
|
|
|
|
+ label="异常描述:"
|
|
|
|
|
+ borderBottom
|
|
|
|
|
+ prop="describes"
|
|
|
|
|
+ :labelStyle="{ alignSelf: 'flex-start', paddingTop: '12rpx' }"
|
|
|
|
|
+ >
|
|
|
|
|
+ <textarea
|
|
|
|
|
+ class="error_popup__textarea"
|
|
|
v-model="errorForm.describes"
|
|
v-model="errorForm.describes"
|
|
|
|
|
+ placeholder="请输入异常描述"
|
|
|
|
|
+ :auto-height="true"
|
|
|
/>
|
|
/>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
</u-form>
|
|
</u-form>
|
|
|
- </view>
|
|
|
|
|
|
|
|
|
|
- <view class="photo_btn" @click="chooseImage">拍照</view>
|
|
|
|
|
- <view class="photo_list">
|
|
|
|
|
- <PreviewPhoto
|
|
|
|
|
- type="add"
|
|
|
|
|
- @imagedelete="imagedelete"
|
|
|
|
|
- :imageList="imageList"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ <view class="error_popup__photo">
|
|
|
|
|
+ <view class="error_popup__photo-header">
|
|
|
|
|
+ <view class="error_popup__photo-label">现场照片</view>
|
|
|
|
|
+ <view class="error_popup__photo-btn" @click="chooseImage">
|
|
|
|
|
+ <text class="error_popup__photo-btn-icon">+</text>
|
|
|
|
|
+ <text>拍照</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="error_popup__photo-list">
|
|
|
|
|
+ <PreviewPhoto
|
|
|
|
|
+ type="add"
|
|
|
|
|
+ @imagedelete="imagedelete"
|
|
|
|
|
+ :imageList="imageList"
|
|
|
|
|
+ />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<template v-slot:operate>
|
|
<template v-slot:operate>
|
|
|
- <view class="operate_box rx-bc">
|
|
|
|
|
- <u-button size="small" class="u-reset-button" @click="errorCancel">
|
|
|
|
|
|
|
+ <view class="error_popup__operate rx-bc">
|
|
|
|
|
+ <u-button size="normal" class="error_popup__btn" @click="errorCancel">
|
|
|
取消
|
|
取消
|
|
|
</u-button>
|
|
</u-button>
|
|
|
|
|
|
|
|
<u-button
|
|
<u-button
|
|
|
type="success"
|
|
type="success"
|
|
|
- size="small"
|
|
|
|
|
- class="u-reset-button"
|
|
|
|
|
|
|
+ size="normal"
|
|
|
|
|
+ class="error_popup__btn"
|
|
|
@click="errorOk()"
|
|
@click="errorOk()"
|
|
|
>
|
|
>
|
|
|
确定
|
|
确定
|
|
@@ -1138,7 +1152,10 @@ export default {
|
|
|
.popup_list {
|
|
.popup_list {
|
|
|
width: 78vw;
|
|
width: 78vw;
|
|
|
min-height: 360rpx;
|
|
min-height: 360rpx;
|
|
|
|
|
+ max-height: 70vh;
|
|
|
|
|
+ overflow-y: auto;
|
|
|
padding: 0 32rpx;
|
|
padding: 0 32rpx;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
|
|
|
.title {
|
|
.title {
|
|
|
color: #333;
|
|
color: #333;
|
|
@@ -1148,6 +1165,74 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+.error_popup__textarea {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ min-height: 120rpx;
|
|
|
|
|
+ max-height: 320rpx;
|
|
|
|
|
+ padding: 12rpx 16rpx;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
+ border: 2rpx solid #f0f8f2;
|
|
|
|
|
+ border-radius: 8rpx;
|
|
|
|
|
+ background: #f0f8f2;
|
|
|
|
|
+ color: $theme-color;
|
|
|
|
|
+ font-size: 26rpx;
|
|
|
|
|
+ line-height: 1.5;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.error_popup__photo {
|
|
|
|
|
+ margin: 24rpx 0 16rpx;
|
|
|
|
|
+
|
|
|
|
|
+ &-header {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ margin-bottom: 16rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &-label {
|
|
|
|
|
+ font-size: 26rpx;
|
|
|
|
|
+ color: #333;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &-btn {
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ height: 56rpx;
|
|
|
|
|
+ padding: 0 24rpx;
|
|
|
|
|
+ background: $theme-color;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ border-radius: 28rpx;
|
|
|
|
|
+ font-size: 24rpx;
|
|
|
|
|
+
|
|
|
|
|
+ &-icon {
|
|
|
|
|
+ font-size: 30rpx;
|
|
|
|
|
+ line-height: 1;
|
|
|
|
|
+ margin-right: 6rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &-list {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.error_popup__operate {
|
|
|
|
|
+ padding: 16rpx 32rpx;
|
|
|
|
|
+ gap: 24rpx;
|
|
|
|
|
+
|
|
|
|
|
+ /deep/ .u-button {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ height: 72rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.error_popup__btn {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
.list_item_btn {
|
|
.list_item_btn {
|
|
|
width: 160rpx;
|
|
width: 160rpx;
|
|
|
height: 54rpx;
|
|
height: 54rpx;
|