Houjie
2025-07-24 964faa1077a89713910063c39ebe08fac4e4c56e
pages/ToDoList/ToDoListCheckSure/ToDoListCheckSure.vue
@@ -97,7 +97,7 @@
                  <view class="flex">
                     <view class="flex-sub text-light bg-white  padding-xs margin-xs radius">异常是否报修:</view>
                     <view class="flex-sub bg-white padding-xs     text-right margin-xs radius">
                        <uni-data-select :localdata="item.type" v-model="item.reportFlag"
                        <uni-data-select :localdata="item.type"  @change="handleType($event, index)"  v-model="item.reportFlag"
                           :disabled="item.istrue" />
                     </view>
                  </view>
@@ -202,6 +202,7 @@
            taskId: '',
            imageFilesList: [],
            inspectionResult: '',
            reportFlag:'',
            upOption: {
               page: {
                  num: 0, // 当前页码,默认0,回调之前会加1,即callback(page)会从1开始
@@ -374,6 +375,9 @@
         changeEquipmentList(e) {
            this.formData.num = e;
         },
         handleType(e, index) {
            console.log(e);
         },
         handleCode(e, index) {
            console.log(index);
            // 根据 e 的值来判断是否需要更新 isTrue 的状态
@@ -431,11 +435,11 @@
                  ]; // 新字段,值为一个空数组
                  item.type = [{
                        text: "否",
                        value: 0
                        value: "0"
                     },
                     {
                        text: "是",
                        value: 1
                        value: "1"
                     }
                  ]; // 新字段,值为一个空数组
                  item.istrue = true;
@@ -645,7 +649,7 @@
   }
   .popupView {
      margin-top: 85px;
      margin-top: 45px;
      height: auto;
   }