| | |
| | | |
| | | <u-form labelPosition="left" :model="info" ref="form" labelWidth="90" :labelStyle="{fontSize:'28rpx'}"> |
| | | <view class="content bgc-ff"> |
| | | |
| | | <u-form-item label="地址" prop="address" required :borderBottom="false" v-if="!isScan"> |
| | | <view class="address-row flex"> |
| | | <view class="address-content f-28" v-if="info.address"> |
| | |
| | | </u-radio-group> |
| | | </u-form-item> |
| | | |
| | | |
| | | <u-form-item v-if="isShowOtherId" class="form-item" labelWidth="100" label="反诈宣防方式:" |
| | | :required="isRequired" :disabled="isDisabled" prop="otherId"> |
| | | <view class="flex j-c-s-b a-i-c" v-if="!currentId" @click="showNotSwindleTypePicker= true"> |
| | | |
| | | <u-checkbox-group v-model="info.otherId" placement="column" @change="checkboxChange"> |
| | | <u-checkbox :customStyle="{marginBottom: '8px'}" v-for="(item, index) in notSwindleTypeList" |
| | | :key="index" :label="item.name" :name="item.value" :disabled="item.disabled"> |
| | | </u-checkbox> |
| | | </u-checkbox-group> |
| | | <!-- <view class="flex j-c-s-b a-i-c" v-if="!currentId" @click="showNotSwindleTypePicker= true"> |
| | | <u-input border="none" v-model="notSwindleValue" disabled disabledColor="#ffffff" |
| | | placeholder="请选择"> |
| | | </u-input> |
| | |
| | | </view> |
| | | <view class="f-30" v-if="currentId"> |
| | | {{notSwindleValue}} |
| | | </view> |
| | | </view> --> |
| | | </u-form-item> |
| | | |
| | | <u-picker :defaultIndex="notSwindleTypeIndex" :closeOnClickOverlay="true" |
| | |
| | | }, |
| | | |
| | | methods: { |
| | | checkboxChange(n) { |
| | | console.log('change', n); |
| | | }, |
| | | radioChange(n) { |
| | | if (n == 1) { |
| | | this.isShowOtherId = true |
| | | } else { |
| | | this.isShowOtherId = false |
| | | this.info.otherId = [] |
| | | } |
| | | console.log('radioChange', n); |
| | | }, |
| | |
| | | }, |
| | | |
| | | addWorkLogRequest() { |
| | | this.info.otherId = JSON.stringify(this.info.otherId) |
| | | addCounterfraud(this.info).then(res => { |
| | | uni.showToast({ |
| | | icon: 'success', |
| | |
| | | }, |
| | | |
| | | updateWorkLogRequest() { |
| | | this.info.otherId = JSON.stringify(this.info.otherId) |
| | | addCounterfraud(this.info).then(res => { |
| | | uni.showToast({ |
| | | icon: 'success', |