<view wx:if="{{_createTime}}" class="flex-h">
|
<!-- <t-divider content="变更时间: {{time}}" align="left" /> -->
|
<view>{{index}}. 变更时间: {{_createTime}}</view>
|
<!-- <view wx:if="{{readOnly}}">
|
<t-button theme="primary" size="extra-small" bind:tap="changeEdit">修改</t-button>
|
</view> -->
|
</view>
|
<t-cell title="是否规范">
|
<t-switch
|
model:value="{{dlStandard}}"
|
defaultValue="{{true}}"
|
label="{{['是', '否']}}"
|
slot="note"
|
disabled="{{readOnly}}"
|
bind:change="onStandardChange"
|
/>
|
</t-cell>
|
<t-input
|
label="设备位置"
|
placeholder="请输入安装位置"
|
model:value="{{dlLocation}}"
|
disabled="{{readOnly}}"
|
/>
|
<!-- <t-input
|
label="经度"
|
placeholder="请输入经度"
|
model:value="{{dlLongitude}}"
|
disabled="{{readOnly}}"
|
/>
|
<t-input
|
label="维度"
|
placeholder="请输入维度"
|
model:value="{{dlLatitude}}"
|
disabled="{{readOnly}}"
|
/> -->
|
<t-input
|
wx:if="{{!dlStandard}}"
|
label="不规范说明"
|
placeholder="请输入说明"
|
model:value="{{dlUnstandardReason}}"
|
disabled="{{readOnly}}"
|
/>
|
<!-- <t-input
|
label="更新时间"
|
placeholder="请输入更新时间"
|
model:value="{{_createTime}}"
|
disabled="{{readOnly}}"
|
/> -->
|
<block wx:if="{{_imgPath.length > 0}}">
|
<t-cell title="现场图片">
|
<view class="img-group" slot="description">
|
<view wx:for="{{_imgPath}}" wx:key="index" wx:for-item="m">
|
<t-image
|
src="{{m}}"
|
t-class="img-group_img"
|
shape="round"
|
bindtap="previewImage"
|
data-index="{{index}}"
|
/>
|
</view>
|
</view>
|
</t-cell>
|
</block>
|
<view wx:if="{{!readOnly}}" style="display: flex; gap: 4">
|
<t-button theme="light" block size="small" bind:tap="cancel">取消</t-button>
|
<t-button wx:if="{{!isUpdate}}" theme="primary" block block size="small" bind:tap="confirm"
|
>保存</t-button
|
>
|
<t-button wx:else theme="primary" block block size="small" bind:tap="update">更新</t-button>
|
</view>
|
<t-divider />
|