<view wx:if="{{time}}" class="flex-h">
|
<!-- <t-divider content="变更时间: {{time}}" align="left" /> -->
|
<view>{{index}}. 变更时间: {{time}}</view>
|
<view wx:if="{{readOnly}}">
|
<t-button theme="primary" size="extra-small" bind:tap="changeEdit">修改</t-button>
|
</view>
|
</view>
|
<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-cell title="是否规范">
|
<t-switch
|
model:value="{{dlStandard}}"
|
defaultValue="{{true}}"
|
label="{{['是', '否']}}"
|
slot="note"
|
disabled="{{readOnly}}"
|
bind:change="onStandardChange"
|
/>
|
</t-cell>
|
<t-input
|
wx:if="{{!dlStandard}}"
|
label="不规范说明"
|
placeholder="请输入说明"
|
model:value="{{dlUnstandardReason}}"
|
disabled="{{readOnly}}"
|
/>
|
<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 /> -->
|