From 3282e95db0207ee133d1e98d9771dec9d83b0fc4 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 02 四月 2026 16:24:38 +0800
Subject: [PATCH] 2026.4.2 新增专题管理功能
---
pages/inspection/scene/info/components/device-location/index.wxml | 67 ++++++++++++++++++++++-----------
1 files changed, 44 insertions(+), 23 deletions(-)
diff --git a/pages/inspection/scene/info/components/device-location/index.wxml b/pages/inspection/scene/info/components/device-location/index.wxml
index 854451f..a069e05 100644
--- a/pages/inspection/scene/info/components/device-location/index.wxml
+++ b/pages/inspection/scene/info/components/device-location/index.wxml
@@ -1,28 +1,10 @@
-<view wx:if="{{time}}" class="flex-h">
+<view wx:if="{{_createTime}}" class="flex-h">
<!-- <t-divider content="鍙樻洿鏃堕棿: {{time}}" align="left" /> -->
- <view>{{index}}. 鍙樻洿鏃堕棿: {{time}}</view>
- <view wx:if="{{readOnly}}">
+ <view>{{index}}. 鍙樻洿鏃堕棿: {{_createTime}}</view>
+ <!-- <view wx:if="{{readOnly}}">
<t-button theme="primary" size="extra-small" bind:tap="changeEdit">淇敼</t-button>
- </view>
+ </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}}"
@@ -34,12 +16,51 @@
/>
</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"
@@ -47,4 +68,4 @@
>
<t-button wx:else theme="primary" block block size="small" bind:tap="update">鏇存柊</t-button>
</view>
-<!-- <t-divider /> -->
+<t-divider />
--
Gitblit v1.9.3