Commit a62e41f1 authored by 田翔's avatar 田翔

fix: 区域任务控件完善

parent a4b09401
{
"name": "panda-xform",
"version": "6.0.48",
"description": "6.0.48 区域任务控件完善",
"version": "6.0.49",
"description": "6.0.49 区域任务控件完善",
"keywords": [
"panda-xform"
],
......
......@@ -476,12 +476,12 @@ export function LoadTableV2() {
}
//获取台账表
export function LoadLedgers() {
export function LoadLedgers(accountType) {
return request({
// headers: {
// 'Civ-Site': window?.globalConfig?.userInfo?.site
// },
url: `PandaOMS/OMS/WorkOrderCenter/GetCM_Ledger_LoadLedgers`,
url: `PandaOMS/OMS/WorkOrderCenter/GetCM_Ledger_LoadLedgers${accountType ? `?accountType=${accountType}` : ''}`,
method: 'get'
})
}
......
......@@ -2394,7 +2394,7 @@ const mapWidgets = [
name: '区域任务',
icon: <IconPack.DrawArea />,
schema: {
title: '',
title: '区域任务',
type: 'string',
widget: 'AreaTask',
placeholder: '',
......
......@@ -13,7 +13,7 @@
width: 100%;
}
.areaTable {}
// .areaTable {}
}
}
......
......@@ -80,7 +80,7 @@ const AreaTaskShine = (props) => {
}
const getAccountList = async () => {
const { code, data } = await LoadLedgers()
const { code, data } = await LoadLedgers('GIS反馈')
if (code === 0) {
setAccountList(data?.root)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment