|
@@ -18,7 +18,7 @@
|
|
checkboxChange(val, index);
|
|
checkboxChange(val, index);
|
|
}
|
|
}
|
|
"
|
|
"
|
|
- :disabled="xunJianStore.contentArray.siteList.inspectionStatus == 2"
|
|
|
|
|
|
+ :disabled="xunJianStore.inspectionStatus == 2"
|
|
:activeColor="proxy.$settingStore.themeColor.color"
|
|
:activeColor="proxy.$settingStore.themeColor.color"
|
|
>
|
|
>
|
|
<view class="flex" style="width: 100%; flex-wrap: wrap">
|
|
<view class="flex" style="width: 100%; flex-wrap: wrap">
|
|
@@ -31,37 +31,37 @@
|
|
|
|
|
|
<view v-if="con.remarksBool == true" style="display: flex; height: 32px; line-height: 32px; white-space: nowrap">
|
|
<view v-if="con.remarksBool == true" style="display: flex; height: 32px; line-height: 32px; white-space: nowrap">
|
|
<span>备注:</span>
|
|
<span>备注:</span>
|
|
- <u-input v-model="con.remarks" placeholder="请输入备注" :disabled="xunJianStore.contentArray.siteList.inspectionStatus == 2" customStyle="height:32px;"></u-input>
|
|
|
|
|
|
+ <u-input v-model="con.remarks" placeholder="请输入备注" :disabled="xunJianStore.inspectionStatus == 2" customStyle="height:32px;"></u-input>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="mt15" v-if="con.submissionMethod == 2">
|
|
<view class="mt15" v-if="con.submissionMethod == 2">
|
|
<u-radio-group placement="row" v-model="con.contentOptionListValue" :activeColor="proxy.$settingStore.themeColor.color">
|
|
<u-radio-group placement="row" v-model="con.contentOptionListValue" :activeColor="proxy.$settingStore.themeColor.color">
|
|
<view class="flex" style="width: 100%; flex-wrap: wrap">
|
|
<view class="flex" style="width: 100%; flex-wrap: wrap">
|
|
<view class="mb15" style="width: 50%" v-for="option in con.contentOptionList" :key="option">
|
|
<view class="mb15" style="width: 50%" v-for="option in con.contentOptionList" :key="option">
|
|
- <u-radio :disabled="xunJianStore.contentArray.siteList.inspectionStatus == 2" :label="option.optionName" :name="option.id"> </u-radio>
|
|
|
|
|
|
+ <u-radio :disabled="xunJianStore.inspectionStatus == 2" :label="option.optionName" :name="option.id"> </u-radio>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</u-radio-group>
|
|
</u-radio-group>
|
|
|
|
|
|
<view v-if="con.remarksBool == true" style="display: flex; height: 32px; line-height: 32px; white-space: nowrap">
|
|
<view v-if="con.remarksBool == true" style="display: flex; height: 32px; line-height: 32px; white-space: nowrap">
|
|
<span>备注:</span>
|
|
<span>备注:</span>
|
|
- <u-input v-model="con.remarks" placeholder="请输入备注" :disabled="xunJianStore.contentArray.siteList.inspectionStatus == 2" customStyle="height:32px;"></u-input>
|
|
|
|
|
|
+ <u-input v-model="con.remarks" placeholder="请输入备注" :disabled="xunJianStore.inspectionStatus == 2" customStyle="height:32px;"></u-input>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="mt15" v-if="con.submissionMethod == 3">
|
|
<view class="mt15" v-if="con.submissionMethod == 3">
|
|
<view class="mb15">
|
|
<view class="mb15">
|
|
- <u-textarea v-model="con.contentOptionListValue" placeholder="请输入" maxlength="30" :disabled="xunJianStore.contentArray.siteList.inspectionStatus == 2"></u-textarea>
|
|
|
|
|
|
+ <u-textarea v-model="con.contentOptionListValue" placeholder="请输入" maxlength="30" :disabled="xunJianStore.inspectionStatus == 2"></u-textarea>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view v-if="con.remarksBool == true" style="display: flex; height: 32px; line-height: 32px; white-space: nowrap">
|
|
<view v-if="con.remarksBool == true" style="display: flex; height: 32px; line-height: 32px; white-space: nowrap">
|
|
<span>备注:</span>
|
|
<span>备注:</span>
|
|
- <u-input v-model="con.remarks" placeholder="请输入备注" :disabled="xunJianStore.contentArray.siteList.inspectionStatus == 2" customStyle="height:32px;"></u-input>
|
|
|
|
|
|
+ <u-input v-model="con.remarks" placeholder="请输入备注" :disabled="xunJianStore.inspectionStatus == 2" customStyle="height:32px;"></u-input>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="app-button-fixed" v-if="xunJianStore.contentArray.siteList.inspectionStatus == 1">
|
|
|
|
|
|
+ <view class="app-button-fixed" v-if="xunJianStore.inspectionStatus == 1">
|
|
<view class="app-flex">
|
|
<view class="app-flex">
|
|
<u-button class="app-buttom" style="margin-right: 15px" shape="circle" @click="buttonClick(1)"> 上一步 </u-button>
|
|
<u-button class="app-buttom" style="margin-right: 15px" shape="circle" @click="buttonClick(1)"> 上一步 </u-button>
|
|
|
|
|
|
@@ -167,6 +167,7 @@ async function buttonClick(type) {
|
|
latitude: xunJianStore.contentArray.siteList.latitude,
|
|
latitude: xunJianStore.contentArray.siteList.latitude,
|
|
planSonId: xunJianStore.contentArray.siteList.planSonId,
|
|
planSonId: xunJianStore.contentArray.siteList.planSonId,
|
|
siteId: xunJianStore.contentArray.siteList.id,
|
|
siteId: xunJianStore.contentArray.siteList.id,
|
|
|
|
+ remarks: xunJianStore.contentArray.siteList.remarks,
|
|
recordPictureList: xunJianStore.contentArray.siteList.recordPictureList,
|
|
recordPictureList: xunJianStore.contentArray.siteList.recordPictureList,
|
|
recordOptionList: recordOptionList,
|
|
recordOptionList: recordOptionList,
|
|
};
|
|
};
|
|
@@ -185,7 +186,7 @@ async function buttonClick(type) {
|
|
onLoad((options) => {
|
|
onLoad((options) => {
|
|
contentList.value = xunJianStore.contentArray.contentList;
|
|
contentList.value = xunJianStore.contentArray.contentList;
|
|
|
|
|
|
- if (xunJianStore.contentArray.siteList.inspectionStatus == 2) {
|
|
|
|
|
|
+ if (xunJianStore.inspectionStatus == 2) {
|
|
if (contentList.value.length > 0) {
|
|
if (contentList.value.length > 0) {
|
|
contentList.value.forEach((el) => {
|
|
contentList.value.forEach((el) => {
|
|
el.contentOptionListValue1 = [];
|
|
el.contentOptionListValue1 = [];
|