提交 56b1a353 authored 作者: gjx's avatar gjx

修改反馈的问题

上级 3284e406
......@@ -8,7 +8,7 @@ VITE_PUBLIC_PATH = /
# VITE_PROXY = [["/Soil","http://36.40.79.205:8069/Soil/"],["/upload","http://localhost:3300/upload"]]
VITE_PROXY = [["/Soil","http://192.168.0.105:8069/Soil/"],["/upload","http://192.168.0.105:8069/upload"]]
VITE_PROXY = [["/Soil","http://36.40.79.205:8069/Soil/"],["/upload","http://36.40.79.205:8069/upload"]]
......@@ -16,7 +16,7 @@ VITE_PROXY = [["/Soil","http://192.168.0.105:8069/Soil/"],["/upload","http://192
VITE_GLOB_API_URL=/Soil
#后台接口全路径地址(必填)
VITE_GLOB_DOMAIN_URL=http://192.168.0.105:8069/Soil/
VITE_GLOB_DOMAIN_URL=http://36.40.79.205:8069/Soil/
# 接口前缀
......
......@@ -20,7 +20,13 @@
</a-radio-group>
</template>
<template #dkghytlx="{ model, field }">
<a-radio-group v-model:value="model[field]">
<a-radio-group
v-model:value="model[field]"
@change="
model['dkghytxm'] = '';
qt = '';
"
>
<a-radio
:style="{ marginRight: '300px', height: '30px', lineHeight: '30px' }"
v-for="(item, index) in showRadioOptions"
......@@ -31,13 +37,13 @@
{{ item.label }}
</template>
<template v-else>
{{ item.label }}
<span v-if="model['dkghytlx'] == '4'">
<a-input v-model:value="model['dkghytxm']" />
</span>
<span v-else>
<a-input v-model:value="model['qt']" disabled="true" />
</span>
<div class="flex">
<span class="mr-3"> {{ item.label }}</span>
<span v-if="model['dkghytlx'] == '4'">
<a-input v-model:value="qt" />
</span>
<span v-else> <a-input v-model:value="qt" disabled="true" /> </span
></div>
</template>
</a-radio>
</a-radio-group>
......@@ -109,7 +115,7 @@
import { useModal } from '/@/components/Modal';
import { ref, watch, toRaw, nextTick } from 'vue';
// import { dict } from '/@/api/common/api'
const qt = ref('');
const [registerModal, { openModal }] = useModal();
const [registerLandModal, { openModal: LandopenModal }] = useModal();
......@@ -577,6 +583,10 @@
const obj = toRaw(val.wrdkjbxxb);
if (!obj.xzydlx) obj.xzydlx = '1';
if (!obj.dkghytlx) obj.dkghytlx = '1';
if (obj.dkghytlx == 4) {
qt.value = obj.dkghytxm;
obj.dkghytxm = '';
}
if (!obj.zbsm) obj.zbsm = 'CGCS2000';
if (!obj.qdyy) obj.qdyy = [];
// 触发-土地使用权人类型
......@@ -627,6 +637,9 @@
});
fieldsValue.dyjddcqk = fieldsValue.dyjddcqk.join(',');
}
if (fieldsValue.dkghytlx == 4) {
fieldsValue.dkghytxm = qt.value;
}
return fieldsValue;
}
......
......@@ -30,10 +30,10 @@
</template>
<!--插槽:table标题-->
<template #tableTitle>
<a-button type="primary" @click="Tj = true" v-auth="'dkdc-tbz-tj'">提交</a-button>
<a-button type="primary" @click="showDetail" v-auth="'dkdc-tbz-zltb'">资料填报</a-button>
<a-button type="primary" @click="showLookModal" v-auth="'dkdc-tbz-jbxx'">查看基本信息</a-button>
<a-button type="primary" @click="showDetail" v-auth="'dkdc-tbz-zltb'">资料填报</a-button>
<a-button type="primary" @click="showModal(2)" v-auth="'dkdc-tbz-tbfsbg'">填报方式变更</a-button>
<a-button type="primary" @click="Tj = true" v-auth="'dkdc-tbz-tj'">提交</a-button>
</template>
</BasicTable>
<!-- 资料填报前置 -->
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论