loulijun2021
2024-04-29 094bff4f727d2fd2c6cf5a923d76782aa3f8010a
pages/mjgl/mjwx.vue
@@ -81,15 +81,15 @@
                     </view>
                  </view>
                  <view class='inputClass contentFont' style="margin: 0 20rpx; width: 95%;">
                     <u--textarea placeholder="请输入" confirm-type="send" border="surround" height='80'
                        v-model="descMessage">
                     <u--textarea placeholder="请输入" :adjustPosition='false' confirm-type="send" border="surround"
                        height='80' v-model="descMessage">
                     </u--textarea>
                  </view>
                  <view style="display: flex;">
                     <view v-for="(pic,index) in fileList" :key="pic.name">
                        <view style="margin: 20rpx 0rpx 20rpx 20rpx;position: relative;">
                           <u-icon name="close" color="#fff" size="26"
                           <u-icon name="close" color="#fff" size="16"
                              style="position: absolute;z-index: 10;right: 0;background-color: black;border-radius:50%;"
                              @click="deletePic(pic)"></u-icon>
@@ -137,15 +137,15 @@
                        </view>
                     </view>
                  </view>
                  <view class='inputClass contentFont' style="margin: 0 20rpx; width: 95%;">
                     <u--textarea placeholder="请输入" confirm-type="send" border="surround" height='80'
                        v-model="descMessage2">
                  <view class='inputClass contentFont' style="margin: 0 20rpx; width: 95%;" @click="show=true">
                     <u--textarea placeholder="请输入" :adjustPosition='false' confirm-type="send" border="surround"
                        height='80' v-model="descMessage2">
                     </u--textarea>
                  </view>
               </view>
               <view style="height: 120rpx;"> </view>
               <!-- <view style="height: 120rpx;"> </view> -->
               <!--    <u-gap height="10" bgColor="#eff0f1"></u-gap>
             
@@ -196,6 +196,18 @@
      </view>
      <u-modal :show="show" title="维修内容" :closeOnClickOverlay="true" @confirm='show=false' @close='show=false'>
         <view class="slot-content">
            <view class='inputClass contentFont' style="">
               <!-- :adjustPosition='false' -->
               <u--textarea placeholder="请输入" confirm-type="send" border="surround" height='80'
                  v-model="descMessage2">
               </u--textarea>
            </view>
         </view>
      </u-modal>
      <!-- <scan-code></scan-code> -->
   </view>
@@ -260,6 +272,9 @@
            descMessage3: '', //更换备件
            fileList2: [], //更换备件图片
            imgPreviewSrcs2: [],
            show: false
         }
      },
      created() {
@@ -449,8 +464,8 @@
               //    "uri": "/"
               // }] : [...this.fileList, ...this.fileList2],
               files: this.fileList === 0 ? [{
                  "uri": "/"
               files: this.fileList.length === 0 ? [{
                  uri: '/'
               }] : this.fileList,
               header: header,
               formData: formData,
@@ -515,5 +530,7 @@
      width: 160rpx;
      height: 160rpx;
      border-radius: 20rpx;
      // color: #fff;
   }
</style>