Commit a62e41f1 authored by 田翔's avatar 田翔

fix: 区域任务控件完善

parent a4b09401
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "6.0.48", "version": "6.0.49",
"description": "6.0.48 区域任务控件完善", "description": "6.0.49 区域任务控件完善",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -476,12 +476,12 @@ export function LoadTableV2() { ...@@ -476,12 +476,12 @@ export function LoadTableV2() {
} }
//获取台账表 //获取台账表
export function LoadLedgers() { export function LoadLedgers(accountType) {
return request({ return request({
// headers: { // headers: {
// 'Civ-Site': window?.globalConfig?.userInfo?.site // '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' method: 'get'
}) })
} }
......
...@@ -2394,7 +2394,7 @@ const mapWidgets = [ ...@@ -2394,7 +2394,7 @@ const mapWidgets = [
name: '区域任务', name: '区域任务',
icon: <IconPack.DrawArea />, icon: <IconPack.DrawArea />,
schema: { schema: {
title: '', title: '区域任务',
type: 'string', type: 'string',
widget: 'AreaTask', widget: 'AreaTask',
placeholder: '', placeholder: '',
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
width: 100%; width: 100%;
} }
.areaTable {} // .areaTable {}
} }
} }
......
...@@ -80,7 +80,7 @@ const AreaTaskShine = (props) => { ...@@ -80,7 +80,7 @@ const AreaTaskShine = (props) => {
} }
const getAccountList = async () => { const getAccountList = async () => {
const { code, data } = await LoadLedgers() const { code, data } = await LoadLedgers('GIS反馈')
if (code === 0) { if (code === 0) {
setAccountList(data?.root) 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