违法用地新审核列表添加标注意见传参

main
zhufu 6 days ago
parent 3bfa9221d4
commit a0b92334b2

@ -9,7 +9,7 @@ enum Api {
export const LoadCaseInfoNYDList = (params) =>
defHttp.get({ url: Api.LoadCaseInfoNYDList, params });
export const UpdateDroneCaseInfoBiaoZhu = (params: {id: string, biaozhu: number}) =>
export const UpdateDroneCaseInfoBiaoZhu = (params: {id: string, biaozhu: number, biaozhuyijian: string}) =>
defHttp.post({ url: Api.UpdateDroneCaseInfoBiaoZhu, data:params });
export const UpdatePicturePath = (params) =>
defHttp.post({ url: Api.UpdatePicturePath, data:params });

@ -251,7 +251,8 @@
</a-descriptions>
</a-tab-pane>
</a-tabs>
<div style="height: 40px;" v-if="props.isAuditList">
<div style="height: 80px;" v-if="props.isAuditList">
<a-input v-model:value="biaozhuyijian" style="margin-bottom: 10px;"/>
<a-button type="primary" style="margin-right: 15px;" @click="changeBiaozhu(1)"></a-button>
<a-button type="primary" danger @click="changeBiaozhu(2)"></a-button>
</div>
@ -340,6 +341,7 @@
const activeKey = ref('1');
const geomsList = ref();
const imageList = ref([]);
const biaozhuyijian = ref('')
console.log('props', props.showInfoData);
watch(
() => props.showInfoData,
@ -631,7 +633,7 @@
});
};
const changeBiaozhu = (type: number) => {
UpdateDroneCaseInfoBiaoZhu({id: props.showInfoData.id, biaozhu: type}).then(res => {
UpdateDroneCaseInfoBiaoZhu({id: props.showInfoData.id, biaozhu: type, biaozhuyijian: biaozhuyijian.value}).then(res => {
message.success('标注成功')
})
}
@ -703,7 +705,7 @@
}
::v-deep .ant-tabs .ant-tabs-content-holder {
overflow: auto;
height: calc(80vh - 40px);
height: calc(80vh - 80px);
overflow: auto;
padding-right: 10px;
}

Loading…
Cancel
Save