|
|
@@ -114,6 +114,23 @@
|
|
|
</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 执行照片 -->
|
|
|
+ <div class="photo-box" v-if="prescription.cropAlbum && prescription.cropAlbum.length">
|
|
|
+ <div class="photo-title">执行照片</div>
|
|
|
+ <div class="photo-img-wrap">
|
|
|
+ <photo-provider :photo-closable="true">
|
|
|
+ <photo-consumer v-for="(src, index) in prescription.cropAlbum" intro="执行照片" :key="index"
|
|
|
+ :src="base_img_url2 + src.filename">
|
|
|
+ <div class="photo-img">
|
|
|
+ <img :src="base_img_url2 + src.filename" />
|
|
|
+ </div>
|
|
|
+ </photo-consumer>
|
|
|
+ </photo-provider>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
<!-- 执行操作 -->
|
|
|
<div class="execute-action" v-if="info?.appType === 1 && prescription.tagType === 0">
|
|
|
<div class="action-item second" @click="handleRemind">稍后执行</div>
|
|
|
@@ -121,21 +138,6 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <!-- 执行照片 -->
|
|
|
- <div class="photo-box">
|
|
|
- <div class="photo-title">执行照片</div>
|
|
|
- <div class="photo-img-wrap">
|
|
|
- <photo-provider :photo-closable="true">
|
|
|
- <photo-consumer v-for="(src, index) in cropAlbum" intro="执行照片" :key="index"
|
|
|
- :src="base_img_url2 + src.filename">
|
|
|
- <div class="photo-img">
|
|
|
- <img :src="base_img_url2 + src.filename" />
|
|
|
- </div>
|
|
|
- </photo-consumer>
|
|
|
- </photo-provider>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
<!-- 底部按钮 -->
|
|
|
<div class="fixed-btn-wrap" v-if="info?.appType === 2">
|
|
|
<div class="fixed-btn" @click="handleConvert">
|
|
|
@@ -160,7 +162,7 @@ import { base_img_url2, resize_300 } from "@/api/config";
|
|
|
const route = useRoute();
|
|
|
const router = useRouter();
|
|
|
// const info = JSON.parse(localStorage.getItem("localUserInfo") || "{}");
|
|
|
-const info = { appType: 2 };
|
|
|
+const info = { appType: 1 };
|
|
|
|
|
|
const detail = ref({
|
|
|
"consequenceText": "",
|
|
|
@@ -246,6 +248,14 @@ const detail = ref({
|
|
|
{
|
|
|
"name": "蒂蛀虫防治",
|
|
|
"tagType": 1,
|
|
|
+ "cropAlbum": [
|
|
|
+ {
|
|
|
+ "filename": "6e707c1f-7095-409e-8b3a-2633e7b36bd5/1e2dc0e7-6f8b-4952-a574-8e8e0713529c/DJI_202601251415_001_1e2dc0e7-6f8b-4952-a574-8e8e0713529c/DJI_20260125141713_0003_V_code-ws0gefwtn5n4.jpeg"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "filename": "dfb387fa-e7d3-4f49-a40c-fcbb9be2baf9/c727d4e9-f5bb-4e40-be2d-efdec3b91702/DJI_202511270800_001_c727d4e9-f5bb-4e40-be2d-efdec3b91702/DJI_20251127080720_0056_V_code-ws0gefyb37kp.jpeg"
|
|
|
+ }
|
|
|
+ ],
|
|
|
"pesticideList": [
|
|
|
{
|
|
|
"code": "1009",
|
|
|
@@ -460,13 +470,6 @@ const triggerDateText = computed(() => {
|
|
|
return d.replace(/-/g, ".");
|
|
|
});
|
|
|
|
|
|
-const cropAlbum = ref([
|
|
|
- {
|
|
|
- filename: '6e707c1f-7095-409e-8b3a-2633e7b36bd5/1e2dc0e7-6f8b-4952-a574-8e8e0713529c/DJI_202601251415_001_1e2dc0e7-6f8b-4952-a574-8e8e0713529c/DJI_20260125141713_0003_V_code-ws0gefwtn5n4.jpeg'
|
|
|
- }, {
|
|
|
- filename: 'dfb387fa-e7d3-4f49-a40c-fcbb9be2baf9/c727d4e9-f5bb-4e40-be2d-efdec3b91702/DJI_202511270800_001_c727d4e9-f5bb-4e40-be2d-efdec3b91702/DJI_20251127080720_0056_V_code-ws0gefyb37kp.jpeg'
|
|
|
- }])
|
|
|
-
|
|
|
const stageList = computed(() => detail.value.groupList || []);
|
|
|
|
|
|
|
|
|
@@ -603,6 +606,18 @@ const changeExecutionMethod = (stageIndex, value) => {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+.photo-box {
|
|
|
+ margin-top: 10px;
|
|
|
+ border: 0.5px dashed #2199F8;
|
|
|
+ border-radius: 5px;
|
|
|
+ padding: 11px 10px;
|
|
|
+ .photo-title {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #000;
|
|
|
+ padding-bottom: 8px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
.group-info {
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
@@ -793,7 +808,6 @@ const changeExecutionMethod = (stageIndex, value) => {
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
gap: 10px;
|
|
|
- margin-top: 8px;
|
|
|
|
|
|
::v-deep {
|
|
|
.PhotoConsumer {
|