|
@@ -8,7 +8,8 @@
|
|
|
<view ref="baseRef" class="pd-24" id="base12345">
|
|
<view ref="baseRef" class="pd-24" id="base12345">
|
|
|
<view class="startline-title">证明材料</view>
|
|
<view class="startline-title">证明材料</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="pd-24 bg-#fff mb-10 p-rtv">
|
|
|
|
|
|
|
+ <view v-if="form" class="pd-24 bg-#fff mb-10 p-rtv">
|
|
|
|
|
+ <image class="base_res_logo w-160 h-160" :src="`/static/images/common/base_res_logo${form?.baseInfo?.swyqRes}.png`" mode="widthFix" />
|
|
|
<view class="f-s-30 pd2-16-0 info-border-bottom">
|
|
<view class="f-s-30 pd2-16-0 info-border-bottom">
|
|
|
<span class="c-#666">获评品种:</span>
|
|
<span class="c-#666">获评品种:</span>
|
|
|
<span class="c-#333">{{ form?.baseInfo?.swyqVarietyName || '-' }}</span>
|
|
<span class="c-#333">{{ form?.baseInfo?.swyqVarietyName || '-' }}</span>
|
|
@@ -63,10 +64,10 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <template #bottom>
|
|
|
|
|
|
|
+ <template v-if="form?.baseInfo?.swyqRes == '2'" #bottom>
|
|
|
<view class="pd-20">
|
|
<view class="pd-20">
|
|
|
<view></view>
|
|
<view></view>
|
|
|
- <up-button type="primary">去修改</up-button>
|
|
|
|
|
|
|
+ <up-button type="primary" @click="$u.route({ type: 'redirect', url: '/plant/base/mark-swyq-base/index', params: { id: did } })">去修改</up-button>
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
</z-paging>
|
|
</z-paging>
|
|
@@ -89,20 +90,8 @@ const mapUnitByBaseType: any = {
|
|
|
'2': '平方米',
|
|
'2': '平方米',
|
|
|
'3': '平方米',
|
|
'3': '平方米',
|
|
|
};
|
|
};
|
|
|
-const form = ref<any>({});
|
|
|
|
|
-const formSwyq = ref<any>({
|
|
|
|
|
- swyqVarietyId: '',
|
|
|
|
|
- swyqVarietyName: '',
|
|
|
|
|
- swyqRatedDate: '',
|
|
|
|
|
- swyqCertFile: '',
|
|
|
|
|
- swyqUrl: '',
|
|
|
|
|
-});
|
|
|
|
|
-const rulesSwyq = reactive<any>({
|
|
|
|
|
- swyqVarietyId: [{ required: true, message: '请选择获评品种', trigger: 'blur' }],
|
|
|
|
|
- swyqRatedDate: [{ required: true, message: '请选择获评三无一全基地时间', trigger: 'blur' }],
|
|
|
|
|
- swyqCertFile: [{ required: true, message: '请上传官方公示证明材料', trigger: 'blur' }],
|
|
|
|
|
- swyqUrl: [{ required: true, message: '请输入官方公示网址', trigger: 'blur' }],
|
|
|
|
|
-});
|
|
|
|
|
|
|
+const form = ref<any>(null);
|
|
|
|
|
+
|
|
|
|
|
|
|
|
const did = ref('');
|
|
const did = ref('');
|
|
|
// 根据id获取基地详情
|
|
// 根据id获取基地详情
|
|
@@ -147,8 +136,10 @@ onLoad((options: any) => {
|
|
|
.gap-info-card {
|
|
.gap-info-card {
|
|
|
border: 1rpx solid rgba($u-primary, 0.4);
|
|
border: 1rpx solid rgba($u-primary, 0.4);
|
|
|
}
|
|
}
|
|
|
-.ksqulc {
|
|
|
|
|
- position: relative;
|
|
|
|
|
- height: 100vh;
|
|
|
|
|
|
|
+
|
|
|
|
|
+.base_res_logo {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ right: 30rpx;
|
|
|
|
|
+ top: 30rpx;
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|