This commit is contained in:
zlwu committed 2026-05-25 19:27:30 +08:00
1 parent ee4abd361e
commit c4cc7009e3
46 files changed
+16201 -9698

No files matched your search

+1 -1
View File
@@ -1 +1 @@
21868
47578
+16
View File
@@ -1627,6 +1627,7 @@ class TxnRefundBody(BaseModel):
amount: float = Field(..., gt=0, alias="amount")
remark: Optional[str] = Field(None, alias="remark")
attachments: Optional[str] = Field(None, alias="attachments")
class TxnProductItem(BaseModel):
@@ -1661,6 +1662,8 @@ class TxnUpdateBody(BaseModel):
amount: Optional[float] = Field(None, gt=0, alias="amount")
remark: Optional[str] = Field(None, alias="remark")
finance_submit_attachments: Optional[str] = Field(None, alias="financeSubmitAttachments")
refund_attachments: Optional[str] = Field(None, alias="refundAttachments")
products: Optional[List[TxnProductItem]] = Field(None, alias="products")
class TxnFinanceSubmitBody(BaseModel):
@@ -1732,6 +1735,13 @@ async def get_channel_service_order_detail(
order_dict["products"] = products
txns, _ = ps_svc.list_service_order_txns(db, service_order_id=order_id, tenant_no=tenant_no, page_size=200)
order_dict["transactions"] = txns
if order.order_type == "gmcp":
has_lock = ps_svc._gmcp_has_purchase_lock(db, order_id, tenant_no)
order_dict["hasPurchaseTxn"] = has_lock
order_dict["agreementEditable"] = ps_svc.gmcp_agreement_editable(db, order, tenant_no)
else:
order_dict["hasPurchaseTxn"] = False
order_dict["agreementEditable"] = order.order_status == "dsx"
return success_response(order_dict)
except ValueError as e:
return error_response(400, str(e))
@@ -2022,6 +2032,7 @@ async def create_refund_txn(
order_id,
amount=body.amount,
remark=body.remark,
attachments=body.attachments,
tenant_no=tenant_no,
user_id=user.get("user_id"),
)
@@ -2091,12 +2102,17 @@ async def update_service_order_txn(
):
try:
tenant_no = _get_tenant_no(db, user)
products_data = None
if body.products is not None:
products_data = [p.model_dump(by_alias=False) for p in body.products]
txn = ps_svc.update_service_order_txn(
db,
txn_id,
amount=body.amount,
remark=body.remark,
finance_submit_attachments=body.finance_submit_attachments,
refund_attachments=body.refund_attachments,
products=products_data,
tenant_no=tenant_no,
user_id=user.get("user_id"),
)
+314 -26
View File
@@ -2582,6 +2582,67 @@ def _row_to_dict_service_order_product(row) -> Dict[str, Any]:
}
def _normalize_txn_product_item(p: Dict[str, Any]) -> Dict[str, Any]:
"""流水 products_json 项统一为 camelCase(入库时为 snake_case)。"""
qty = p.get("qty")
if qty is None:
qty = p.get("buyQty") or p.get("buy_qty")
unit_price = p.get("agreementUnitPrice") or p.get("agreement_unit_price") or 0
qty_val = float(qty or 0)
amount = p.get("amount")
if amount is None and qty_val:
amount = float(unit_price or 0) * qty_val
return {
"projectCode": p.get("projectCode") or p.get("project_code") or "",
"projectName": p.get("projectName") or p.get("project_name") or "",
"cellType": p.get("cellType") or p.get("cell_type") or "",
"specText": p.get("specText") or p.get("spec_text") or "",
"agreementUnitPrice": float(unit_price or 0),
"qty": qty_val,
"amount": float(amount or 0),
}
def _enrich_txn_products_from_order(
db,
service_order_id: str,
products: List[Dict[str, Any]],
tenant_no=None,
) -> List[Dict[str, Any]]:
"""退订等流水可能仅存 projectCode,从订单持仓补全项目名与规格。"""
if not db or not service_order_id or not products:
return products
holdings = get_service_order_products(db, service_order_id, tenant_no)
if not holdings:
return products
by_code_spec = {
(h.get("projectCode") or "", h.get("specText") or ""): h for h in holdings
}
by_code: Dict[str, List[Dict[str, Any]]] = {}
for h in holdings:
code = h.get("projectCode") or ""
by_code.setdefault(code, []).append(h)
enriched: List[Dict[str, Any]] = []
for p in products:
item = dict(p)
code = item.get("projectCode") or ""
spec = item.get("specText") or ""
holding = by_code_spec.get((code, spec))
if not holding and code:
matches = by_code.get(code, [])
if len(matches) == 1:
holding = matches[0]
if holding:
if not (item.get("projectName") or "").strip():
item["projectName"] = holding.get("projectName") or ""
if not (item.get("specText") or "").strip():
item["specText"] = holding.get("specText") or ""
if not (item.get("cellType") or "").strip():
item["cellType"] = holding.get("cellType") or ""
enriched.append(item)
return enriched
def _row_to_dict_service_order_txn(row, db=None, tenant_no=None) -> Dict[str, Any]:
tn = tenant_no or row.tenant_no
d = {
@@ -2592,6 +2653,8 @@ def _row_to_dict_service_order_txn(row, db=None, tenant_no=None) -> Dict[str, An
"txnStatus": row.txn_status or "",
"productsJson": row.products_json or "",
"remark": row.remark or "",
"refundAttachments": row.refund_attachments or "",
"refundAttachmentFiles": urls_to_attachment_list(row.refund_attachments, db, tn) if db and row.refund_attachments else [],
"financeSubmitBy": row.finance_submit_by or "",
"financeSubmitTime": row.finance_submit_time.strftime("%Y-%m-%d %H:%M:%S") if row.finance_submit_time else "",
"financeSubmitRemark": row.finance_submit_remark or "",
@@ -2613,7 +2676,13 @@ def _row_to_dict_service_order_txn(row, db=None, tenant_no=None) -> Dict[str, An
}
if row.products_json:
try:
d["products"] = json.loads(row.products_json)
raw_products = json.loads(row.products_json)
products = [_normalize_txn_product_item(x) for x in raw_products]
if db and row.service_order_id:
products = _enrich_txn_products_from_order(
db, row.service_order_id, products, tenant_no
)
d["products"] = products
except Exception:
d["products"] = []
else:
@@ -2801,6 +2870,40 @@ def _calc_gmcp_purchase_total(products):
return total
def _gmcp_has_purchase_lock(db, order_id, tenant_no=None) -> bool:
"""是否存在购买记录(未作废 purchase 流水,或历史建单写入的产品行)。"""
q = db.query(BizChannelServiceOrderTxn).filter(
and_(
BizChannelServiceOrderTxn.service_order_id == order_id,
BizChannelServiceOrderTxn.txn_type == "purchase",
BizChannelServiceOrderTxn.txn_status != "yzf",
BizChannelServiceOrderTxn.del_flag == 0,
)
)
if tenant_no:
q = q.filter(BizChannelServiceOrderTxn.tenant_no == tenant_no)
if q.first():
return True
pq = db.query(BizChannelServiceOrderProduct).filter(
and_(
BizChannelServiceOrderProduct.service_order_id == order_id,
BizChannelServiceOrderProduct.del_flag == 0,
)
)
if tenant_no:
pq = pq.filter(BizChannelServiceOrderProduct.tenant_no == tenant_no)
for row in pq.all():
if float(row.buy_qty or 0) > 0 or float(row.total_buy_qty or 0) > 0:
return True
return False
def gmcp_agreement_editable(db, order, tenant_no=None) -> bool:
if order.order_type != "gmcp" or order.order_status == "yzf":
return False
return not _gmcp_has_purchase_lock(db, order.id, tenant_no or order.tenant_no)
def _resolve_agreement_price_cell_type(db, channel_agreement_id, project_code, spec_text, cell_type_fallback=""):
price_row = (
db.query(BizChannelAgreementProductPrice)
@@ -2953,12 +3056,11 @@ def create_channel_service_order(
prepay_amount = None
elif order_type == "gmcp":
# 购买产品订单:创建后为待生效,走财务确认后生效
if not products:
raise ValueError("购买订单的产品明细不能为空")
# 购买型:建单仅绑定渠道与协议;产品通过 purchase 流水录入并经财务确认
if not channel_agreement_id:
raise ValueError("请选择渠道协议")
_get_valid_channel_agreement(db, channel_agreement_id, channel_id, tenant_no)
purchase_total_amount = _calc_gmcp_purchase_total(products)
purchase_total_amount = _calc_gmcp_purchase_total(products) if products else None
order_status = "dsx"
else:
raise ValueError(f"不支持的订单类型: {order_type}")
@@ -2989,22 +3091,32 @@ def create_channel_service_order(
db.add(order)
db.flush()
# For gmcp: create product rows only (quotas applied after finance confirm)
if order_type == "gmcp" and products:
_save_gmcp_product_rows(db, order_id, products, tenant_no or "zkxw", user_id, now=now)
db.commit()
db.refresh(order)
return order
def update_channel_service_order(db, order_id, *, tenant_no=None, user_id=None, products=None, **kwargs):
"""待生效状态下可更新;预存款可改协议,购买订单可改协议与产品明细"""
"""更新订单基本信息;gmcp 产品仅通过 purchase 流水维护"""
order = get_service_order(db, order_id, tenant_no)
if not order:
raise ValueError("订单不存在")
if order.order_status != "dsx":
raise ValueError("当前状态不允许编辑")
if order.order_status == "yzf":
raise ValueError("已作废订单不可编辑")
if kwargs.get("channel_id"):
raise ValueError("渠道不可修改")
if products is not None and order.order_type == "gmcp":
raise ValueError("请通过「购买产品」操作录入产品明细")
if order.order_type == "yfk":
if order.order_status != "dsx":
raise ValueError("当前状态不允许编辑")
elif order.order_type == "gmcp":
if order.order_status not in ("dsx", "sxz"):
raise ValueError("当前状态不允许编辑")
else:
raise ValueError("不支持的订单类型")
if "dept_name" in kwargs and kwargs["dept_name"] is not None:
order.dept_name = kwargs["dept_name"]
if "remark" in kwargs and kwargs["remark"] is not None:
@@ -3017,15 +3129,14 @@ def update_channel_service_order(db, order_id, *, tenant_no=None, user_id=None,
order.channel_agreement_id = kwargs["channel_agreement_id"]
elif order.order_type == "gmcp":
if "channel_agreement_id" in kwargs and kwargs["channel_agreement_id"] is not None:
_get_valid_channel_agreement(
db, kwargs["channel_agreement_id"], order.channel_id, tenant_no
)
order.channel_agreement_id = kwargs["channel_agreement_id"]
if products is not None:
if not products:
raise ValueError("购买订单的产品明细不能为空")
order.purchase_total_amount = _calc_gmcp_purchase_total(products)
_replace_gmcp_product_rows(db, order_id, products, tenant_no or order.tenant_no, user_id)
new_agreement_id = kwargs["channel_agreement_id"]
if new_agreement_id != (order.channel_agreement_id or ""):
if _gmcp_has_purchase_lock(db, order_id, tenant_no):
raise ValueError("已有购买记录,不可修改渠道协议")
_get_valid_channel_agreement(
db, new_agreement_id, order.channel_id, tenant_no
)
order.channel_agreement_id = new_agreement_id
order.update_by = user_id
order.update_time = datetime.now()
db.add(order)
@@ -3427,7 +3538,7 @@ def create_recharge_txn(
return txn
def create_refund_txn(db, order_id, *, amount, remark=None, tenant_no=None, user_id=None):
def create_refund_txn(db, order_id, *, amount, remark=None, attachments=None, tenant_no=None, user_id=None):
"""创建退款流水(yfk订单),amount <= current_balance"""
order = get_service_order(db, order_id, tenant_no)
if not order:
@@ -3452,6 +3563,7 @@ def create_refund_txn(db, order_id, *, amount, remark=None, tenant_no=None, user
amount=amount,
txn_status="dsx",
remark=remark or "",
refund_attachments=attachments or "",
tenant_no=tenant_no or order.tenant_no,
order_num=0,
create_by=user_id,
@@ -3639,6 +3751,152 @@ def create_unsubscribe_txn(db, order_id, *, products, remark=None, tenant_no=Non
return txn
def _rollback_purchase_txn_holdings(db, order_id, products, user_id, now=None):
now = now or datetime.now()
for p in products:
project_code = p.get("projectCode") or p.get("project_code") or ""
spec_text = p.get("specText") or p.get("spec_text") or ""
qty = float(p.get("qty") or p.get("buyQty") or p.get("buy_qty") or 0)
existing = db.query(BizChannelServiceOrderProduct).filter(
and_(
BizChannelServiceOrderProduct.service_order_id == order_id,
BizChannelServiceOrderProduct.project_code == project_code,
BizChannelServiceOrderProduct.spec_text == (spec_text or ""),
BizChannelServiceOrderProduct.del_flag == 0,
)
).first()
if existing:
existing.total_buy_qty = float(existing.total_buy_qty or 0) - qty
existing.current_qty = float(existing.current_qty or 0) - qty
existing.update_by = user_id
existing.update_time = now
db.add(existing)
def _apply_purchase_txn_holdings(db, order_id, products, tenant_no, user_id, now=None):
now = now or datetime.now()
tn = tenant_no
total_amount = 0.0
for p in products:
project_code = p.get("projectCode") or p.get("project_code") or ""
project_name = p.get("projectName") or p.get("project_name") or ""
cell_type = p.get("cellType") or p.get("cell_type") or ""
spec_text = p.get("specText") or p.get("spec_text") or ""
agreement_unit_price = float(p.get("agreementUnitPrice") or p.get("agreement_unit_price") or 0)
qty = float(p.get("qty") or p.get("buyQty") or p.get("buy_qty") or 0)
if qty <= 0:
raise ValueError("购买份数必须大于0")
amt = float(p.get("amount") or agreement_unit_price * qty)
total_amount += amt
existing = db.query(BizChannelServiceOrderProduct).filter(
and_(
BizChannelServiceOrderProduct.service_order_id == order_id,
BizChannelServiceOrderProduct.project_code == project_code,
BizChannelServiceOrderProduct.spec_text == (spec_text or ""),
BizChannelServiceOrderProduct.del_flag == 0,
)
).first()
if existing:
existing.total_buy_qty = float(existing.total_buy_qty or 0) + qty
existing.current_qty = float(existing.current_qty or 0) + qty
existing.update_by = user_id
existing.update_time = now
db.add(existing)
else:
prod_row = BizChannelServiceOrderProduct(
id=generate_uuid(),
service_order_id=order_id,
project_code=project_code,
project_name=project_name,
cell_type=cell_type,
spec_text=spec_text,
agreement_unit_price=agreement_unit_price,
buy_qty=qty,
buy_amount=amt,
total_buy_qty=qty,
total_unsubscribe_qty=0,
current_qty=qty,
total_unsubscribe_amount=0,
tenant_no=tn,
order_num=0,
remark="",
create_by=user_id,
create_dept_id="",
create_time=now,
update_by=user_id,
update_time=now,
del_flag=0,
)
db.add(prod_row)
db.flush()
return total_amount
def _rollback_unsubscribe_txn_holdings(db, order_id, products, user_id, now=None):
now = now or datetime.now()
for p in products:
project_code = p.get("projectCode") or p.get("project_code") or ""
spec_text = p.get("specText") or p.get("spec_text") or ""
qty = float(p.get("qty") or 0)
existing = db.query(BizChannelServiceOrderProduct).filter(
and_(
BizChannelServiceOrderProduct.service_order_id == order_id,
BizChannelServiceOrderProduct.project_code == project_code,
BizChannelServiceOrderProduct.spec_text == (spec_text or ""),
BizChannelServiceOrderProduct.del_flag == 0,
)
).first()
if existing:
unit_price = float(existing.agreement_unit_price or 0)
existing.total_unsubscribe_qty = float(existing.total_unsubscribe_qty or 0) - qty
existing.current_qty = float(existing.current_qty or 0) + qty
existing.total_unsubscribe_amount = float(existing.total_unsubscribe_amount or 0) - (qty * unit_price)
existing.update_by = user_id
existing.update_time = now
db.add(existing)
def _apply_unsubscribe_txn_holdings(db, order_id, products, user_id, now=None):
now = now or datetime.now()
total_amount = 0.0
for p in products:
project_code = p.get("projectCode") or p.get("project_code") or ""
spec_text = p.get("specText") or p.get("spec_text") or ""
qty = float(p.get("qty") or 0)
if qty <= 0:
raise ValueError("退订数量必须大于0")
existing = db.query(BizChannelServiceOrderProduct).filter(
and_(
BizChannelServiceOrderProduct.service_order_id == order_id,
BizChannelServiceOrderProduct.project_code == project_code,
BizChannelServiceOrderProduct.spec_text == (spec_text or ""),
BizChannelServiceOrderProduct.del_flag == 0,
)
).first()
if not existing:
raise ValueError(f"产品 {project_code} 不存在于持仓中")
current_qty = float(existing.current_qty or 0)
if qty > current_qty:
raise ValueError(f"退订数量 {qty} 超过当前持有数量 {current_qty}")
unit_price = float(existing.agreement_unit_price or 0)
amt = qty * unit_price
total_amount += amt
existing.total_unsubscribe_qty = float(existing.total_unsubscribe_qty or 0) + qty
existing.current_qty = current_qty - qty
existing.total_unsubscribe_amount = float(existing.total_unsubscribe_amount or 0) + amt
existing.update_by = user_id
existing.update_time = now
db.add(existing)
db.flush()
return total_amount
def update_service_order_txn(
db,
txn_id,
@@ -3646,10 +3904,12 @@ def update_service_order_txn(
amount=None,
remark=None,
finance_submit_attachments=None,
refund_attachments=None,
products=None,
tenant_no=None,
user_id=None,
):
"""更新待生效流水:仅 dsx;充值/退款可改金额,购买/退订仅可改备注与凭证"""
"""更新待生效流水:仅 dsx;充值/退款可改金额与附件,购买/退订可改产品明细与备注"""
txn = get_service_order_txn(db, txn_id, tenant_no=tenant_no)
if not txn:
raise ValueError("流水不存在")
@@ -3673,7 +3933,27 @@ def update_service_order_txn(
raise ValueError(f"退款金额不能大于当前余额 {current_balance}")
txn.amount = amt
else:
raise ValueError("购买/退订流水不可修改金额,请作废后重新发起")
raise ValueError("购买/退订流水不可直接修改金额,请调整产品明细")
if products is not None:
if txn_type not in ("purchase", "unsubscribe"):
raise ValueError("仅购买/退订流水可修改产品明细")
if not products:
raise ValueError("产品明细不能为空")
order = get_service_order(db, txn.service_order_id, tenant_no)
if not order:
raise ValueError("关联订单不存在")
old_products = json.loads(txn.products_json) if txn.products_json else []
if txn_type == "purchase":
_rollback_purchase_txn_holdings(db, order.id, old_products, user_id, now)
total_amount = _apply_purchase_txn_holdings(
db, order.id, products, tenant_no or order.tenant_no, user_id, now
)
else:
_rollback_unsubscribe_txn_holdings(db, order.id, old_products, user_id, now)
total_amount = _apply_unsubscribe_txn_holdings(db, order.id, products, user_id, now)
txn.amount = total_amount
txn.products_json = json.dumps(products, ensure_ascii=False)
if remark is not None:
txn.remark = remark or ""
@@ -3681,6 +3961,11 @@ def update_service_order_txn(
if finance_submit_attachments is not None:
txn.finance_submit_attachments = (finance_submit_attachments or "").strip() or None
if refund_attachments is not None:
if txn_type != "refund":
raise ValueError("仅退款流水可修改退款附件")
txn.refund_attachments = (refund_attachments or "").strip() or None
txn.update_by = user_id
txn.update_time = now
db.add(txn)
@@ -3708,7 +3993,10 @@ def submit_txn_finance(db, txn_id, *, finance_submit_remark=None, finance_submit
if finance_submit_attachments:
txn.finance_submit_attachments = finance_submit_attachments
elif not (txn.finance_submit_attachments or "").strip():
txn.finance_submit_attachments = ""
if (txn.txn_type or "").strip() == "refund" and (txn.refund_attachments or "").strip():
txn.finance_submit_attachments = txn.refund_attachments
else:
txn.finance_submit_attachments = ""
txn.update_by = user_id
txn.update_time = now
db.add(txn)
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_backend_app_main_py", "label": "main.py", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L1"}, {"id": "app_main_lifespan", "label": "lifespan()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L20"}, {"id": "app_main_error_json", "label": "_error_json()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L67"}, {"id": "app_main_sqlalchemy_exception_handler", "label": "sqlalchemy_exception_handler()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L80"}, {"id": "app_main_unhandled_exception_handler", "label": "unhandled_exception_handler()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L91"}, {"id": "app_main_mask_secret", "label": "_mask_secret()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L127"}, {"id": "app_main_root", "label": "root()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L149"}, {"id": "app_main_health_check", "label": "health_check()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L154"}, {"id": "app_main_rationale_81", "label": "\u6570\u636e\u5e93\u5f02\u5e38\uff1a\u8fd4\u56de JSON \u5e76\u4fdd\u7559 CORS \u5934\uff0c\u907f\u514d\u6d4f\u89c8\u5668\u53ea\u62a5\u8de8\u57df\u9519\u8bef", "file_type": "rationale", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L81"}, {"id": "app_main_rationale_92", "label": "\u672a\u6355\u83b7\u5f02\u5e38\uff1a\u7edf\u4e00 JSON 500\uff0c\u786e\u4fdd\u8de8\u57df\u573a\u666f\u4e0b\u4ecd\u6709 Access-Control-Allow-Origin", "file_type": "rationale", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L92"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_backend_app_main_py", "target": "contextlib", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_main_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_main_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_main_py", "target": "fastapi", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_main_py", "target": "fastapi_middleware_cors", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_main_py", "target": "fastapi_responses", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_main_py", "target": "sqlalchemy_exc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_main_py", "target": "app_core_config", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_main_py", "target": "app_core_database", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_main_py", "target": "app_core_api_request_log_middleware", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py", "source_location": "L13", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_main_py", "target": "app_core_api_crypto_middleware", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/main.py"Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_backend_app_api_pilot_service_py", "label": "pilot_service.py", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L1"}, {"id": "api_pilot_service_get_tenant_no", "label": "_get_tenant_no()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L17"}, {"id": "api_pilot_service_cellproducttypecreatebody", "label": "CellProductTypeCreateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L32"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "api_pilot_service_cellproducttypeupdatebody", "label": "CellProductTypeUpdateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L41"}, {"id": "api_pilot_service_list_cell_product_types", "label": "list_cell_product_types()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L51"}, {"id": "api_pilot_service_create_cell_product_type", "label": "create_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L69"}, {"id": "api_pilot_service_update_cell_product_type", "label": "update_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L91"}, {"id": "api_pilot_service_delete_cell_product_type", "label": "delete_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L116"}, {"id": "api_pilot_service_cellproductspeccreatebody", "label": "CellProductSpecCreateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L134"}, {"id": "api_pilot_service_cellproductspecupdatebody", "label": "CellProductSpecUpdateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L143"}, {"id": "api_pilot_service_list_cell_product_specs", "label": "list_cell_product_specs()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L153"}, {"id": "api_pilot_service_create_cell_product_spec", "label": "create_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L171"}, {"id": "api_pilot_service_update_cell_product_spec", "label": "update_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L193"}, {"id": "api_pilot_service_delete_cell_product_spec", "label": "delete_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L218"}, {"id": "api_pilot_service_cellproductpricecreatebody", "label": "CellProductPriceCreateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L236"}, {"id": "api_pilot_service_cellproductpriceupdatebody", "label": "CellProductPriceUpdateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L251"}, {"id": "api_pilot_service_list_cell_product_prices", "label": "list_cell_product_prices()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L267"}, {"id": "api_pilot_service_create_cell_product_price", "label": "create_cell_product_price()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L292"}, {"id": "api_pilot_service_update_cell_product_price", "label": "update_cell_product_price()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L320"}, {"id": "api_pilot_service_delete_cell_product_price", "label": "delete_cell_product_price()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L351"}, {"id": "api_pilot_service_projectsystemcreatebody", "label": "ProjectSystemCreateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L369"}, {"id": "api_pilot_service_projectsystemupdatebody", "label": "ProjectSystemUpdateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/apLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_backend_app_api_pilot_service_py", "label": "pilot_service.py", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L1"}, {"id": "api_pilot_service_get_tenant_no", "label": "_get_tenant_no()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L17"}, {"id": "api_pilot_service_cellproducttypecreatebody", "label": "CellProductTypeCreateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L32"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "api_pilot_service_cellproducttypeupdatebody", "label": "CellProductTypeUpdateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L41"}, {"id": "api_pilot_service_list_cell_product_types", "label": "list_cell_product_types()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L51"}, {"id": "api_pilot_service_create_cell_product_type", "label": "create_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L69"}, {"id": "api_pilot_service_update_cell_product_type", "label": "update_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L91"}, {"id": "api_pilot_service_delete_cell_product_type", "label": "delete_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L116"}, {"id": "api_pilot_service_cellproductspeccreatebody", "label": "CellProductSpecCreateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L134"}, {"id": "api_pilot_service_cellproductspecupdatebody", "label": "CellProductSpecUpdateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L143"}, {"id": "api_pilot_service_list_cell_product_specs", "label": "list_cell_product_specs()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L153"}, {"id": "api_pilot_service_create_cell_product_spec", "label": "create_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L171"}, {"id": "api_pilot_service_update_cell_product_spec", "label": "update_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L193"}, {"id": "api_pilot_service_delete_cell_product_spec", "label": "delete_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L218"}, {"id": "api_pilot_service_cellproductpricecreatebody", "label": "CellProductPriceCreateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L236"}, {"id": "api_pilot_service_cellproductpriceupdatebody", "label": "CellProductPriceUpdateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L251"}, {"id": "api_pilot_service_list_cell_product_prices", "label": "list_cell_product_prices()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L267"}, {"id": "api_pilot_service_create_cell_product_price", "label": "create_cell_product_price()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L292"}, {"id": "api_pilot_service_update_cell_product_price", "label": "update_cell_product_price()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L320"}, {"id": "api_pilot_service_delete_cell_product_price", "label": "delete_cell_product_price()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L351"}, {"id": "api_pilot_service_projectsystemcreatebody", "label": "ProjectSystemCreateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L369"}, {"id": "api_pilot_service_projectsystemupdatebody", "label": "ProjectSystemUpdateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/apLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_backend_app_crud_pilot_service_py", "label": "pilot_service.py", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L1"}, {"id": "crud_pilot_service_normalize_date_bound", "label": "_normalize_date_bound()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L39"}, {"id": "crud_pilot_service_user_nick_name_map", "label": "_user_nick_name_map()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L46"}, {"id": "crud_pilot_service_row_to_dict_cell_product_type", "label": "_row_to_dict_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L58"}, {"id": "crud_pilot_service_list_cell_product_types", "label": "list_cell_product_types()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L71"}, {"id": "crud_pilot_service_get_cell_product_type", "label": "get_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L97"}, {"id": "crud_pilot_service_cell_product_type_code_exists", "label": "cell_product_type_code_exists()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L104"}, {"id": "crud_pilot_service_create_cell_product_type", "label": "create_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L115"}, {"id": "crud_pilot_service_update_cell_product_type", "label": "update_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L137"}, {"id": "crud_pilot_service_soft_delete_cell_product_type", "label": "soft_delete_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L159"}, {"id": "crud_pilot_service_row_to_dict_cell_product_spec", "label": "_row_to_dict_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L173"}, {"id": "crud_pilot_service_list_cell_product_specs", "label": "list_cell_product_specs()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L186"}, {"id": "crud_pilot_service_get_cell_product_spec", "label": "get_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L212"}, {"id": "crud_pilot_service_cell_product_spec_code_exists", "label": "cell_product_spec_code_exists()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L219"}, {"id": "crud_pilot_service_create_cell_product_spec", "label": "create_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L230"}, {"id": "crud_pilot_service_update_cell_product_spec", "label": "update_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L252"}, {"id": "crud_pilot_service_soft_delete_cell_product_spec", "label": "soft_delete_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L274"}, {"id": "crud_pilot_service_row_to_dict_cell_product_price", "label": "_row_to_dict_cell_product_price()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L288"}, {"id": "crud_pilot_service_list_cell_product_prices", "label": "list_cell_product_prices()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L307"}, {"id": "crud_pilot_service_get_cell_product_price", "label": "get_cell_product_price()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L336"}, {"id": "crud_pilot_service_cell_product_price_code_exists", "label": "cell_product_price_code_exists()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L343"}, {"id": "crud_pilot_service_create_cell_product_price", "label": "create_cell_product_price()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/baLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_backend_app_models_models_py", "label": "models.py", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L1"}, {"id": "models_models_userrole", "label": "UserRole", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L10"}, {"id": "str", "label": "str", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "models_models_sysuser", "label": "SysUser", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L22"}, {"id": "base", "label": "Base", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "models_models_sysrole", "label": "SysRole", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L48"}, {"id": "models_models_sysuserrole", "label": "SysUserRole", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L68"}, {"id": "models_models_sysrolemenu", "label": "SysRoleMenu", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L87"}, {"id": "models_models_sysroledatascopedetail", "label": "SysRoleDataScopeDetail", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L106"}, {"id": "models_models_sysmenu", "label": "SysMenu", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L126"}, {"id": "models_models_sysdept", "label": "SysDept", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L152"}, {"id": "models_models_systenant", "label": "SysTenant", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L175"}, {"id": "models_models_syssite", "label": "SysSite", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L195"}, {"id": "models_models_syspost", "label": "SysPost", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L220"}, {"id": "models_models_sysuserpost", "label": "SysUserPost", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L240"}, {"id": "models_models_bizitemunit", "label": "BizItemUnit", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L259"}, {"id": "models_models_bizexpresscompany", "label": "BizExpressCompany", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L278"}, {"id": "models_models_bizcustomer", "label": "BizCustomer", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L297"}, {"id": "models_models_bizcellsampletype", "label": "BizCellSampleType", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L320"}, {"id": "models_models_bizcollectionregion", "label": "BizCollectionRegion", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L341"}, {"id": "models_models_bizcollectionhospital", "label": "BizCollectionHospital", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L359"}, {"id": "models_models_bizcollectionprotocolno", "label": "BizCollectionProtocolNo", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L378"}, {"id": "models_models_bizsamplecode", "label": "BizSampleCode", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L400"}, {"id": "models_models_sysdicttype", "label": "SysDictType", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L428"}, {"id": "models_models_sysethnic", "label": "SysEthnic", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L447"}, {"id": "models_models_sysdictdata", "label": "SysDictData", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L466"}, {"id": "models_models_sysapirequestlog", "label": "SysApiRequestLog", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location"Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_backend_app_crud_pilot_service_py", "label": "pilot_service.py", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L1"}, {"id": "crud_pilot_service_normalize_date_bound", "label": "_normalize_date_bound()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L39"}, {"id": "crud_pilot_service_user_nick_name_map", "label": "_user_nick_name_map()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L46"}, {"id": "crud_pilot_service_row_to_dict_cell_product_type", "label": "_row_to_dict_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L58"}, {"id": "crud_pilot_service_list_cell_product_types", "label": "list_cell_product_types()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L71"}, {"id": "crud_pilot_service_get_cell_product_type", "label": "get_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L97"}, {"id": "crud_pilot_service_cell_product_type_code_exists", "label": "cell_product_type_code_exists()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L104"}, {"id": "crud_pilot_service_create_cell_product_type", "label": "create_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L115"}, {"id": "crud_pilot_service_update_cell_product_type", "label": "update_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L137"}, {"id": "crud_pilot_service_soft_delete_cell_product_type", "label": "soft_delete_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L159"}, {"id": "crud_pilot_service_row_to_dict_cell_product_spec", "label": "_row_to_dict_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L173"}, {"id": "crud_pilot_service_list_cell_product_specs", "label": "list_cell_product_specs()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L186"}, {"id": "crud_pilot_service_get_cell_product_spec", "label": "get_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L212"}, {"id": "crud_pilot_service_cell_product_spec_code_exists", "label": "cell_product_spec_code_exists()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L219"}, {"id": "crud_pilot_service_create_cell_product_spec", "label": "create_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L230"}, {"id": "crud_pilot_service_update_cell_product_spec", "label": "update_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L252"}, {"id": "crud_pilot_service_soft_delete_cell_product_spec", "label": "soft_delete_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L274"}, {"id": "crud_pilot_service_row_to_dict_cell_product_price", "label": "_row_to_dict_cell_product_price()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L288"}, {"id": "crud_pilot_service_list_cell_product_prices", "label": "list_cell_product_prices()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L307"}, {"id": "crud_pilot_service_get_cell_product_price", "label": "get_cell_product_price()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L336"}, {"id": "crud_pilot_service_cell_product_price_code_exists", "label": "cell_product_price_code_exists()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L343"}, {"id": "crud_pilot_service_create_cell_product_price", "label": "create_cell_product_price()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/baLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_backend_app_api_pilot_service_py", "label": "pilot_service.py", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L1"}, {"id": "api_pilot_service_get_tenant_no", "label": "_get_tenant_no()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L17"}, {"id": "api_pilot_service_cellproducttypecreatebody", "label": "CellProductTypeCreateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L32"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "api_pilot_service_cellproducttypeupdatebody", "label": "CellProductTypeUpdateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L41"}, {"id": "api_pilot_service_list_cell_product_types", "label": "list_cell_product_types()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L51"}, {"id": "api_pilot_service_create_cell_product_type", "label": "create_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L69"}, {"id": "api_pilot_service_update_cell_product_type", "label": "update_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L91"}, {"id": "api_pilot_service_delete_cell_product_type", "label": "delete_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L116"}, {"id": "api_pilot_service_cellproductspeccreatebody", "label": "CellProductSpecCreateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L134"}, {"id": "api_pilot_service_cellproductspecupdatebody", "label": "CellProductSpecUpdateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L143"}, {"id": "api_pilot_service_list_cell_product_specs", "label": "list_cell_product_specs()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L153"}, {"id": "api_pilot_service_create_cell_product_spec", "label": "create_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L171"}, {"id": "api_pilot_service_update_cell_product_spec", "label": "update_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L193"}, {"id": "api_pilot_service_delete_cell_product_spec", "label": "delete_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L218"}, {"id": "api_pilot_service_cellproductpricecreatebody", "label": "CellProductPriceCreateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L236"}, {"id": "api_pilot_service_cellproductpriceupdatebody", "label": "CellProductPriceUpdateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L251"}, {"id": "api_pilot_service_list_cell_product_prices", "label": "list_cell_product_prices()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L267"}, {"id": "api_pilot_service_create_cell_product_price", "label": "create_cell_product_price()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L292"}, {"id": "api_pilot_service_update_cell_product_price", "label": "update_cell_product_price()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L320"}, {"id": "api_pilot_service_delete_cell_product_price", "label": "delete_cell_product_price()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L351"}, {"id": "api_pilot_service_projectsystemcreatebody", "label": "ProjectSystemCreateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py", "source_location": "L369"}, {"id": "api_pilot_service_projectsystemupdatebody", "label": "ProjectSystemUpdateBody", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/apLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_backend_app_crud_pilot_service_py", "label": "pilot_service.py", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L1"}, {"id": "crud_pilot_service_normalize_date_bound", "label": "_normalize_date_bound()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L39"}, {"id": "crud_pilot_service_user_nick_name_map", "label": "_user_nick_name_map()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L46"}, {"id": "crud_pilot_service_row_to_dict_cell_product_type", "label": "_row_to_dict_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L58"}, {"id": "crud_pilot_service_list_cell_product_types", "label": "list_cell_product_types()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L71"}, {"id": "crud_pilot_service_get_cell_product_type", "label": "get_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L97"}, {"id": "crud_pilot_service_cell_product_type_code_exists", "label": "cell_product_type_code_exists()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L104"}, {"id": "crud_pilot_service_create_cell_product_type", "label": "create_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L115"}, {"id": "crud_pilot_service_update_cell_product_type", "label": "update_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L137"}, {"id": "crud_pilot_service_soft_delete_cell_product_type", "label": "soft_delete_cell_product_type()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L159"}, {"id": "crud_pilot_service_row_to_dict_cell_product_spec", "label": "_row_to_dict_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L173"}, {"id": "crud_pilot_service_list_cell_product_specs", "label": "list_cell_product_specs()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L186"}, {"id": "crud_pilot_service_get_cell_product_spec", "label": "get_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L212"}, {"id": "crud_pilot_service_cell_product_spec_code_exists", "label": "cell_product_spec_code_exists()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L219"}, {"id": "crud_pilot_service_create_cell_product_spec", "label": "create_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L230"}, {"id": "crud_pilot_service_update_cell_product_spec", "label": "update_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L252"}, {"id": "crud_pilot_service_soft_delete_cell_product_spec", "label": "soft_delete_cell_product_spec()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L274"}, {"id": "crud_pilot_service_row_to_dict_cell_product_price", "label": "_row_to_dict_cell_product_price()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L288"}, {"id": "crud_pilot_service_list_cell_product_prices", "label": "list_cell_product_prices()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L307"}, {"id": "crud_pilot_service_get_cell_product_price", "label": "get_cell_product_price()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L336"}, {"id": "crud_pilot_service_cell_product_price_code_exists", "label": "cell_product_price_code_exists()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py", "source_location": "L343"}, {"id": "crud_pilot_service_create_cell_product_price", "label": "create_cell_product_price()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/baLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_backend_app_models_models_py", "label": "models.py", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L1"}, {"id": "models_models_userrole", "label": "UserRole", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L10"}, {"id": "str", "label": "str", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "models_models_sysuser", "label": "SysUser", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L22"}, {"id": "base", "label": "Base", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "models_models_sysrole", "label": "SysRole", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L48"}, {"id": "models_models_sysuserrole", "label": "SysUserRole", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L68"}, {"id": "models_models_sysrolemenu", "label": "SysRoleMenu", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L87"}, {"id": "models_models_sysroledatascopedetail", "label": "SysRoleDataScopeDetail", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L106"}, {"id": "models_models_sysmenu", "label": "SysMenu", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L126"}, {"id": "models_models_sysdept", "label": "SysDept", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L152"}, {"id": "models_models_systenant", "label": "SysTenant", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L175"}, {"id": "models_models_syssite", "label": "SysSite", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L195"}, {"id": "models_models_syspost", "label": "SysPost", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L220"}, {"id": "models_models_sysuserpost", "label": "SysUserPost", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L240"}, {"id": "models_models_bizitemunit", "label": "BizItemUnit", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L259"}, {"id": "models_models_bizexpresscompany", "label": "BizExpressCompany", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L278"}, {"id": "models_models_bizcustomer", "label": "BizCustomer", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L297"}, {"id": "models_models_bizcellsampletype", "label": "BizCellSampleType", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L320"}, {"id": "models_models_bizcollectionregion", "label": "BizCollectionRegion", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L341"}, {"id": "models_models_bizcollectionhospital", "label": "BizCollectionHospital", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L359"}, {"id": "models_models_bizcollectionprotocolno", "label": "BizCollectionProtocolNo", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L378"}, {"id": "models_models_bizsamplecode", "label": "BizSampleCode", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L400"}, {"id": "models_models_sysdicttype", "label": "SysDictType", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L428"}, {"id": "models_models_sysethnic", "label": "SysEthnic", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L447"}, {"id": "models_models_sysdictdata", "label": "SysDictData", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location": "L466"}, {"id": "models_models_sysapirequestlog", "label": "SysApiRequestLog", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py", "source_location"Line truncated
+1
View File
@@ -1845,6 +1845,7 @@ class BizChannelServiceOrderTxn(Base):
txn_status = Column(String(16), nullable=False, default="dsx", comment="dsx待生效 dqr待财务确认 yqr已确认 yzf已作废")
products_json = Column(Text, nullable=True, comment="产品明细JSON")
remark = Column(String(512), nullable=True, comment="备注")
refund_attachments = Column(Text, nullable=True, comment="退款附件(逗号分隔URL)")
finance_submit_by = Column(String(64), nullable=True, comment="发起确认人ID")
finance_submit_time = Column(DateTime, nullable=True, comment="发起确认时间")
finance_submit_remark = Column(String(512), nullable=True, comment="发起确认备注")
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+143 -123
View File
@@ -1,12 +1,12 @@
# Graph Report - app (2026-05-25)
## Corpus Check
- 158 files · ~157,518 words
- 158 files · ~159,246 words
- Verdict: corpus is large enough that graph structure adds value.
## Summary
- 2973 nodes · 12603 edges · 56 communities detected
- Extraction: 39% EXTRACTED · 61% INFERRED · 0% AMBIGUOUS · INFERRED: 7658 edges (avg confidence: 0.63)
- 2999 nodes · 12838 edges · 60 communities detected
- Extraction: 39% EXTRACTED · 61% INFERRED · 0% AMBIGUOUS · INFERRED: 7850 edges (avg confidence: 0.62)
- Token cost: 0 input · 0 output
## Community Hubs (Navigation)
@@ -60,24 +60,28 @@
- [[_COMMUNITY_Community 47|Community 47]]
- [[_COMMUNITY_Community 48|Community 48]]
- [[_COMMUNITY_Community 49|Community 49]]
- [[_COMMUNITY_Community 50|Community 50]]
- [[_COMMUNITY_Community 51|Community 51]]
- [[_COMMUNITY_Community 52|Community 52]]
- [[_COMMUNITY_Community 53|Community 53]]
- [[_COMMUNITY_Community 54|Community 54]]
- [[_COMMUNITY_Community 55|Community 55]]
- [[_COMMUNITY_Community 56|Community 56]]
- [[_COMMUNITY_Community 57|Community 57]]
- [[_COMMUNITY_Community 58|Community 58]]
- [[_COMMUNITY_Community 59|Community 59]]
- [[_COMMUNITY_Community 60|Community 60]]
- [[_COMMUNITY_Community 61|Community 61]]
## God Nodes (most connected - your core abstractions)
1. `success_response()` - 490 edges
2. `error_response()` - 393 edges
3. `SysUser` - 295 edges
1. `success_response()` - 491 edges
2. `error_response()` - 394 edges
3. `SysUser` - 304 edges
4. `BizQcTaskResult` - 242 edges
5. `BizQcMaterialUsage` - 242 edges
6. `BizMaterialStockLog` - 238 edges
7. `BizQcMaterial` - 238 edges
8. `BizMaterial` - 235 edges
9. `BizQcItemParam` - 233 edges
10. `generate_uuid()` - 166 edges
10. `generate_uuid()` - 167 edges
## Surprising Connections (you probably didn't know these)
- `统一记录 API 请求/响应出入参的中间件` --uses--> `SysApiRequestLog` [INFERRED]
@@ -95,268 +99,284 @@
### Community 0 - "Community 0"
Cohesion: 0.02
Nodes (527): attachment_download_url(), create_dept(), create_dict_data(), create_dict_type(), create_express_company(), create_item_unit(), create_menu(), create_post() (+519 more)
Nodes (531): create_dept(), create_dict_data(), create_dict_type(), create_express_company(), create_item_unit(), create_menu(), create_post(), create_role_management() (+523 more)
### Community 1 - "Community 1"
Cohesion: 0.01
Nodes (438): AttachmentDownloadUrlBody, DeptCreateBody, DeptUpdateBody, DictDataCreateBody, DictDataUpdateBody, DictTypeCreateBody, DictTypeUpdateBody, ExpressCompanyCreateBody (+430 more)
Nodes (464): attachment_download_url(), AttachmentDownloadUrlBody, DeptCreateBody, DeptUpdateBody, dict_data_options(), DictDataCreateBody, DictDataUpdateBody, DictTypeCreateBody (+456 more)
### Community 2 - "Community 2"
Cohesion: 0.05
Nodes (367): CellSampleTypeCreateBody, CellSampleTypeUpdateBody, CollectionRegionCreateBody, CollectionRegionUpdateBody, CustomerCreateBody, CustomerUpdateBody, HospitalCreateBody, HospitalUpdateBody (+359 more)
Nodes (313): AuditCreateBody, BatchDetailIdsBody, BatchRefundFinanceSubmitBody, FinanceConfirmBody, FullmoonTodoInsuranceBody, ProtocolCreateBody, ProtocolUpdateBody, 细胞存储 — 采集协议单 / 审核 / 财务确认 / 分期预警 API (+305 more)
### Community 3 - "Community 3"
Cohesion: 0.02
Nodes (168): generate_uuid(), create_cell_product(), update_cell_product(), batch_stock_in(), batch_stock_out(), consumable_code_exists(), create_consumable(), _dec() (+160 more)
Cohesion: 0.05
Nodes (172): generate_uuid(), _build_ancestor_chain(), _build_descendant_chain(), _build_facility_path_label(), build_split_product_codes(), create_cell_products_batch(), create_cell_products_by_quantity(), _edge_meta() (+164 more)
### Community 4 - "Community 4"
Cohesion: 0.03
Nodes (151): _format_attachment_file_size(), get_protocol_nos_used_in_protocols(), urls_to_attachment_list(), soft_delete_infusion_plan(), create_checkup(), delete_actual_item(), delete_reserve_item(), get_checkup_by_application() (+143 more)
Cohesion: 0.02
Nodes (106): get_designer_data(), ProcessDefCreateBody, ProcessDefUpdateBody, PublishVersionBody, 审批意见:前端传 commentText,兼容 comment。, StartInstanceBody, TaskActionBody, _error_json() (+98 more)
### Community 5 - "Community 5"
Cohesion: 0.02
Nodes (139): list_ethnics_for_select(), apply_data_scope(), _get_child_dept_ids(), get_user_dept_id(), _resolve_user_role_scopes(), list_ethnics(), 民族码表 CRUD(全局 sys_ethnic), _row_to_dict() (+131 more)
Cohesion: 0.03
Nodes (141): _persist_protocol_sub_resources(), list_ethnics_for_select(), apply_data_scope(), _get_child_dept_ids(), get_user_dept_id(), 数据权限过滤(V0.3:基于角色 data_scope 的查询级行级过滤) data_scope 值: 1 = 全部数据 2 = 本部门数据 3, 根据用户角色的数据权限过滤查询。 Args: query: SQLAlchemy query 对象 model: 查询, 从 SysUser 读取用户的 dept_id。 (+133 more)
### Community 6 - "Community 6"
Cohesion: 0.03
Nodes (118): _persist_protocol_sub_resources(), ApiRequestLogCRUD, delete(), get_multi_with_filters(), _add_months_yyyymmdd(), align_fq_payment_details_payload(), _apply_payment_detail_list_filters(), _apply_submit_receipt_finance() (+110 more)
Cohesion: 0.02
Nodes (125): get_role_menus(), _avatar_url_field(), _build_user_info_payload(), get_web_auth_menu_codes(), _jwt_user_payload(), logout(), 公共接口(Web 登录、刷新 Token、登出;用户模型对齐 docs/sql/zkxw.sql 基线), 登出:吊销 Redis 会话(若已配置 REDIS_HOST)。 (+117 more)
### Community 7 - "Community 7"
Cohesion: 0.03
Nodes (79): _avatar_url_field(), _build_user_info_payload(), get_web_auth_menu_codes(), _jwt_user_payload(), logout(), 公共接口(Web 登录、刷新 Token、登出;用户模型对齐 docs/sql/zkxw.sql 基线), 登出:吊销 Redis 会话(若已配置 REDIS_HOST)。, 获取当前用户菜单权限标识(sys_menu.perms,经角色继承)。 (+71 more)
Cohesion: 0.04
Nodes (105): delete_cell_product(), get_cell_product(), create_lab_item(), get_lab_item(), item_code_exists(), list_active_lab_items(), list_lab_items(), _row_to_dict() (+97 more)
### Community 8 - "Community 8"
Cohesion: 0.06
Nodes (58): get_designer_data(), ProcessDefCreateBody, ProcessDefUpdateBody, PublishVersionBody, 审批意见:前端传 commentText,兼容 comment。, StartInstanceBody, TaskActionBody, list_params_by_item() (+50 more)
Cohesion: 0.05
Nodes (79): AccessLogCreateBody, AccessLogUpdateBody, CleanRoomCreateBody, CleanRoomUpdateBody, ExhibitionAppointmentCreateBody, ExhibitionAppointmentUpdateBody, OccupancyCreateBody, 运营支撑 API(洁净室、进出记录、仓储设施、储位、展厅预约) (+71 more)
### Community 9 - "Community 9"
Cohesion: 0.07
Nodes (67): AccessLogCreateBody, AccessLogUpdateBody, CleanRoomCreateBody, CleanRoomUpdateBody, ExhibitionAppointmentCreateBody, ExhibitionAppointmentUpdateBody, OccupancyCreateBody, 运营支撑 API(洁净室、进出记录、仓储设施、储位、展厅预约) (+59 more)
Cohesion: 0.06
Nodes (68): _format_attachment_file_size(), urls_to_attachment_list(), _accept_conclusion_label(), _attach_reception_detail(), complete_production_work_order(), configure_temp_production_work_order(), create_outbound_production_work_order(), create_production_work_order_from_reception() (+60 more)
### Community 10 - "Community 10"
Cohesion: 0.05
Nodes (26): BusinessException, InvalidStatusTransitionException, log_delivery_operation(), log_operation(), log_order_operation(), log_settlement_operation(), log_user_operation(), OrderLockedException (+18 more)
### Community 11 - "Community 11"
Cohesion: 0.35
Nodes (61): BatchStockInBody, BatchStockInItem, BatchStockOutBody, BatchStockOutItem, ConsumableCreateBody, ConsumablePackCreateBody, ConsumablePackUpdateBody, ConsumableUpdateBody (+53 more)
### Community 11 - "Community 11"
Cohesion: 0.08
Nodes (47): deduct_for_step(), _display_remark(), list_stock_logs(), _parse_receiver_purpose_from_remark(), 耗材变动记录 CRUD(biz_consumable_stock_log), 撤销步骤此前 step_save 扣减,便于重新填报。, 扣减耗材库存并生成变动记录。调用方控制事务,本函数不 commit。, _resolve_receiver_purpose() (+39 more)
### Community 12 - "Community 12"
Cohesion: 0.09
Nodes (53): batch_delete_research_donations(), change_donation_status(), convert_from_storage(), convert_to_storage(), create_research_donation(), delete_research_donation(), _get_current_user_id(), get_research_donation_detail() (+45 more)
Cohesion: 0.11
Nodes (42): create_collection_protocol(), _active_link_query(), assert_biz_no_available(), create_convert_link(), get_convert_partner(), get_partner_sample_codes(), has_active_convert_link(), upsert_convert_link_for_to_storage() (+34 more)
### Community 13 - "Community 13"
Cohesion: 0.08
Nodes (30): BaseHTTPMiddleware, ApiCryptoError, _b64url_decode(), _b64url_encode(), decrypt_json(), derive_key(), encrypt_json(), gen_nonce_hex() (+22 more)
Cohesion: 0.16
Nodes (32): _create_insurance_company(), _create_insurance_company_invoice(), _create_insurance_project_price(), delete_insurance_company(), delete_insurance_company_invoice(), delete_insurance_project_price(), _fmt_dt(), _generate_uuid() (+24 more)
### Community 14 - "Community 14"
Cohesion: 0.11
Nodes (31): _production_conclusion_label(), _accept_conclusion_label(), _attach_reception_detail(), complete_production_work_order(), configure_temp_production_work_order(), create_outbound_production_work_order(), create_production_work_order_from_reception(), create_production_work_order_manual() (+23 more)
### Community 15 - "Community 15"
Cohesion: 0.12
Nodes (11): get_wechat_pay_client(), get_wechat_pay_v2(), 微信支付工具模块 支持微信支付 V3 API 文档参考: https://pay.weixin.qq.com/docs/v3/apis/index.ht, 统一下单接口 (V3) Args: out_trade_no: 商户订单号 total, 申请退款 Args: out_trade_no: 商户订单号 total_amount, 小程序调起支付的二次签名参数(与公众号 JSAPI 规则一致), 统一下单 (V2 API) Args: out_trade_no: 商户订单号 tot, 生成签名 V3 (SHA256 with RSA) (+3 more)
### Community 15 - "Community 15"
Cohesion: 0.18
Nodes (24): add_step(), copy_step(), create_route(), _create_step_consumable(), _create_step_data_collection(), _create_step_output(), _create_step_reagent(), get_route() (+16 more)
### Community 16 - "Community 16"
Cohesion: 0.16
Nodes (22): get_next_cell_product_code(), _build_ancestor_chain(), _build_descendant_chain(), _build_facility_path_label(), build_split_product_codes(), create_cell_products_batch(), create_cell_products_by_quantity(), delete_cell_product() (+14 more)
Nodes (21): complete_application(), create_application(), create_schedule(), _generate_application_no(), get_application(), get_patient_by_application(), list_applications(), list_infusion_plans() (+13 more)
### Community 17 - "Community 17"
Cohesion: 0.15
Nodes (22): auto_generate_schedules(), complete_application(), create_application(), create_schedule(), _generate_application_no(), get_application(), get_patient_by_application(), list_applications() (+14 more)
Cohesion: 0.17
Nodes (12): BusinessException, InvalidStatusTransitionException, log_delivery_operation(), log_operation(), log_order_operation(), log_settlement_operation(), log_user_operation(), OrderLockedException (+4 more)
### Community 18 - "Community 18"
Cohesion: 0.16
Nodes (19): get_by_schedule(), get_method(), _get_tenant_no(), list_by_application(), list_materials(), 中试服务交付管理 API(交付信息、交付物料、交付方式), soft_delete(), create_delivery() (+11 more)
Cohesion: 0.17
Nodes (18): get_by_schedule(), get_method(), _get_tenant_no(), list_by_application(), list_materials(), 中试服务交付管理 API(交付信息、交付物料、交付方式), soft_delete(), create_delivery() (+10 more)
### Community 19 - "Community 19"
Cohesion: 0.21
Nodes (15): batch_generate_protocol_nos(), batch_issue_protocol_nos(), batch_revoke_protocol_nos(), create_protocol_no(), get_protocol_no(), list_protocol_nos(), _parse_issued_time(), protocol_no_exists() (+7 more)
Nodes (19): _consumable_row_to_dict(), create_process(), _create_sub_consumable(), _create_sub_data_collection(), _create_sub_output(), _create_sub_reagent(), _data_collection_row_to_dict(), get_process() (+11 more)
### Community 20 - "Community 20"
Cohesion: 0.26
Nodes (16): InsuranceCompanyCreateBody, InsuranceCompanyInvoiceCreateBody, InsuranceCompanyInvoiceUpdateBody, InsuranceCompanyUpdateBody, InsuranceProjectPriceCreateBody, InsuranceProjectPriceUpdateBody, _list_insurance_companies(), 保险公司及险种价格管理 API(保险公司 + 开票信息 + 险种价格) (+8 more)
Cohesion: 0.23
Nodes (14): batch_stock_in(), batch_stock_out(), consumable_code_exists(), create_consumable(), _dec(), get_consumable(), _is_enabled_status(), list_consumables() (+6 more)
### Community 21 - "Community 21"
Cohesion: 0.22
Nodes (14): batch_generate_sample_codes(), batch_issue_sample_codes(), batch_revoke_sample_codes(), create_sample_code(), get_sample_code(), list_sample_codes(), _parse_issued_time(), 样本编码池 CRUD(biz_sample_code) (+6 more)
Cohesion: 0.25
Nodes (14): batch_stock_in(), batch_stock_out(), create_reagent(), _dec(), get_reagent(), _is_enabled_status(), list_reagents(), _norm_status() (+6 more)
### Community 22 - "Community 22"
Cohesion: 0.25
Nodes (14): batch_stock_in(), batch_stock_out(), _code_exists(), create_material(), _dec(), _fmt_dt(), get_material(), list_materials() (+6 more)
### Community 23 - "Community 23"
Cohesion: 0.2
Nodes (14): deduct_for_task(), _display_remark(), list_usages(), list_usages_by_task(), _parse_receiver_purpose_from_remark(), 查询质检任务关联的物料使用记录(task_complete)。, 撤销任务此前 task_complete 扣减,便于重新填报物料使用。, 兼容旧数据:领用人/用途曾拼接在 remark 中。 (+6 more)
### Community 23 - "Community 23"
Cohesion: 0.19
Nodes (12): get_role_data_scope(), get_role_menus(), create_role(), get_role(), get_role_menu_ids(), list_roles(), 角色 CRUD(sys_role / sys_role_menu / sys_role_data_scope_detail), role_name_exists() (+4 more)
### Community 24 - "Community 24"
Cohesion: 0.21
Nodes (13): create_collection_region(), create_hospital(), get_collection_region(), get_hospital(), _hospital_names_by_region_ids(), _hospital_to_dict(), list_collection_regions(), list_hospitals() (+5 more)
### Community 25 - "Community 25"
Cohesion: 0.25
Nodes (13): code_exists(), create_material(), _dec(), _fmt_dt(), get_material(), list_materials(), _norm_status(), options_list() (+5 more)
### Community 25 - "Community 25"
Cohesion: 0.25
Nodes (13): batch_issue_protocol_nos(), batch_revoke_protocol_nos(), create_protocol_no(), get_protocol_no(), list_protocol_nos(), _parse_issued_time(), protocol_no_exists(), 采集协议号池 CRUD(biz_collection_protocol_no) (+5 more)
### Community 26 - "Community 26"
Cohesion: 0.26
Nodes (11): _base_query(), _ensure_notification(), _fmt_dt(), generate_sms_content(), list_notifications(), _normalize_date_bound(), resolve_notification(), _row_to_dict() (+3 more)
Nodes (12): batch_issue_sample_codes(), batch_revoke_sample_codes(), create_sample_code(), get_sample_code(), list_sample_codes(), _parse_issued_time(), 样本编码池 CRUD(biz_sample_code), _resolve_issued_user_display_name() (+4 more)
### Community 27 - "Community 27"
Cohesion: 0.23
Nodes (12): create_collection_region(), create_hospital(), get_collection_region(), get_hospital(), _hospital_names_by_region_ids(), _hospital_to_dict(), list_collection_regions(), list_hospitals() (+4 more)
### Community 28 - "Community 28"
Cohesion: 0.27
Nodes (11): _accept_conclusion_label(), _base_query(), _ensure_notification(), _fmt_dt(), generate_sms_content(), list_notifications(), _normalize_date_bound(), resolve_notification() (+3 more)
### Community 28 - "Community 28"
### Community 29 - "Community 29"
Cohesion: 0.24
Nodes (9): 微信消息通知服务 支持微信小程序模板消息推送 使用方式: from app.core.wechat_message import Wech, 发送模板消息 Args: openid: 用户openid templ, send_delivery_notice(), send_delivery_warning(), send_order_status(), send_payment_success(), send_refund_result(), send_urge_notification() (+1 more)
### Community 29 - "Community 29"
Cohesion: 0.24
Nodes (12): list_depts(), _build_tree(), _cascade_soft_delete(), _collect_with_ancestors(), create_dept(), get_dept(), list_depts(), list_depts_tree() (+4 more)
### Community 30 - "Community 30"
Cohesion: 0.23
Nodes (12): Config, ProductBase, ProductCategoryBase, ProductCategoryCreate, ProductCategoryResponse, ProductCreate, ProductResponse, ProductUnitBase (+4 more)
### Community 31 - "Community 31"
Cohesion: 0.24
Nodes (11): deduct_for_step(), _display_remark(), list_stock_logs(), _parse_receiver_purpose_from_remark(), 试剂变动记录 CRUD(biz_reagent_stock_log), 撤销步骤此前 step_save 扣减,便于重新填报。, 扣减试剂库存并生成变动记录。调用方控制事务,本函数不 commit。, _resolve_receiver_purpose() (+3 more)
### Community 31 - "Community 31"
Cohesion: 0.26
Nodes (10): list_menus(), _build_tree(), _cascade_soft_delete(), create_menu(), get_menu(), list_menus(), list_menus_tree(), _row_to_dict() (+2 more)
### Community 32 - "Community 32"
Cohesion: 0.24
Nodes (9): dict_data_options(), create_dict_data(), get_dict_data(), list_dict_data(), list_dict_data_options(), 字典数据 CRUD(sys_dict_data), _row_to_dict(), soft_delete_dict_data() (+1 more)
Cohesion: 0.3
Nodes (10): create_consumable_pack(), get_consumable_pack(), get_pack_detail(), _item_row_to_dict(), list_all_packs(), list_consumable_packs(), pack_code_exists(), _row_to_dict() (+2 more)
### Community 33 - "Community 33"
Cohesion: 0.27
Nodes (8): create_customer(), get_customer(), id_card_taken(), list_customers(), 客户 CRUD(biz_customer), _row_to_dict(), soft_delete_customer(), update_customer()
Nodes (11): _build_tree(), _cascade_soft_delete(), _collect_with_ancestors(), create_dept(), get_dept(), list_depts(), list_depts_tree(), 保留匹配节点及其全部上级,供关键词检索后仍能正确组树。 (+3 more)
### Community 34 - "Community 34"
Cohesion: 0.31
Nodes (8): create_dict_type(), dict_type_code_exists(), get_dict_type(), list_dict_types(), 字典类型 CRUD(sys_dict_type), _row_to_dict(), soft_delete_dict_type(), update_dict_type()
Cohesion: 0.29
Nodes (9): _build_tree(), _cascade_soft_delete(), create_menu(), get_menu(), list_menus(), list_menus_tree(), _row_to_dict(), soft_delete_menu() (+1 more)
### Community 35 - "Community 35"
Cohesion: 0.31
Nodes (8): create_sop_document(), get_sop_document(), list_sop_documents(), SOP文档 CRUD(biz_sop_document), _row_to_dict(), soft_delete_sop_document(), sop_code_exists(), update_sop_document()
Cohesion: 0.27
Nodes (8): create_customer(), get_customer(), id_card_taken(), list_customers(), 客户 CRUD(biz_customer), _row_to_dict(), soft_delete_customer(), update_customer()
### Community 36 - "Community 36"
Cohesion: 0.31
Nodes (8): create_express_company(), express_code_exists(), get_express_company(), list_express_companies(), 快递公司 CRUD(biz_express_company), _row_to_dict(), soft_delete_express_company(), update_express_company()
### Community 37 - "Community 37"
Cohesion: 0.38
Nodes (9): create_check_item(), get_check_item(), item_code_exists(), list_active_check_items(), list_check_items(), _order_query(), _row_to_dict(), soft_delete_check_item() (+1 more)
### Community 37 - "Community 37"
Cohesion: 0.31
Nodes (8): category_code_exists(), create_process_category(), get_process_category(), list_process_categories(), 工艺工序分类 CRUD(biz_process_category), _row_to_dict(), soft_delete_process_category(), update_process_category()
### Community 38 - "Community 38"
Cohesion: 0.31
Nodes (8): create_item_unit(), get_item_unit(), list_item_units(), 物品单位 CRUD(biz_item_unit), _row_to_dict(), soft_delete_item_unit(), unit_code_exists(), update_item_unit()
Cohesion: 0.27
Nodes (8): create_dict_data(), get_dict_data(), list_dict_data(), list_dict_data_options(), 字典数据 CRUD(sys_dict_data), _row_to_dict(), soft_delete_dict_data(), update_dict_data()
### Community 39 - "Community 39"
Cohesion: 0.31
Nodes (8): create_cell_sample_type(), get_cell_sample_type(), list_cell_sample_types(), 细胞样本类型 CRUD(biz_cell_sample_type), _row_to_dict(), soft_delete_cell_sample_type(), type_code_exists(), update_cell_sample_type()
Nodes (8): category_code_exists(), create_process_category(), get_process_category(), list_process_categories(), 工艺工序分类 CRUD(biz_process_category), _row_to_dict(), soft_delete_process_category(), update_process_category()
### Community 40 - "Community 40"
Cohesion: 0.31
Nodes (8): create_output_type(), get_output_type(), list_output_types(), 工艺产出物类型 CRUD(biz_output_type), _row_to_dict(), soft_delete_output_type(), type_code_exists(), update_output_type()
Nodes (8): create_item_unit(), get_item_unit(), list_item_units(), 物品单位 CRUD(biz_item_unit), _row_to_dict(), soft_delete_item_unit(), unit_code_exists(), update_item_unit()
### Community 41 - "Community 41"
Cohesion: 0.36
Nodes (7): create_post(), get_post(), list_posts(), post_code_exists(), _row_to_dict(), soft_delete_post(), update_post()
Cohesion: 0.31
Nodes (8): create_cell_sample_type(), get_cell_sample_type(), list_cell_sample_types(), 细胞样本类型 CRUD(biz_cell_sample_type), _row_to_dict(), soft_delete_cell_sample_type(), type_code_exists(), update_cell_sample_type()
### Community 42 - "Community 42"
Cohesion: 0.31
Nodes (8): create_output_type(), get_output_type(), list_output_types(), 工艺产出物类型 CRUD(biz_output_type), _row_to_dict(), soft_delete_output_type(), type_code_exists(), update_output_type()
### Community 43 - "Community 43"
Cohesion: 0.36
Nodes (7): create_tenant(), get_tenant(), list_tenants(), _row_to_dict(), soft_delete_tenant(), tenant_no_exists(), update_tenant()
### Community 44 - "Community 44"
Cohesion: 0.36
Nodes (7): create_site(), get_site(), list_sites(), _row_to_dict(), site_code_exists(), soft_delete_site(), update_site()
### Community 45 - "Community 45"
Cohesion: 0.29
Nodes (2): BaseModel, SoftDeleteModel
### Community 43 - "Community 43"
### Community 46 - "Community 46"
Cohesion: 0.43
Nodes (7): confirm_infusion(), create_infusion_confirm(), delete_infusion_confirm(), get_confirm_by_id(), list_confirms_by_application(), _row_to_dict(), update_infusion_confirm()
### Community 47 - "Community 47"
Cohesion: 0.38
Nodes (6): derive_legacy_status_from_three(), derive_three_status_from_legacy(), 阶段A兼容:从旧 status 推导三字段。 约束:旧 status 本身混合了支付/配送/订单生命周期,因此只能尽力推断; 若业务侧已有更精确, 阶段A兼容:从三字段反推旧 status(用于旧前端/旧筛选参数兼容)。, ThreeStatus, _to_decimal()
### Community 44 - "Community 44"
Cohesion: 0.43
Nodes (6): list_reviews(), create_release_review(), delete_release_review(), list_reviews_by_schedule(), _row_to_dict(), update_review_conclusion()
### Community 48 - "Community 48"
Cohesion: 0.53
Nodes (5): create_release_review(), delete_release_review(), list_reviews_by_schedule(), _row_to_dict(), update_review_conclusion()
### Community 45 - "Community 45"
### Community 49 - "Community 49"
Cohesion: 0.5
Nodes (3): BaseSettings, Config, Settings
### Community 46 - "Community 46"
### Community 50 - "Community 50"
Cohesion: 0.5
Nodes (2): _auto_fill_create_dept_id(), ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID
### Community 47 - "Community 47"
### Community 51 - "Community 51"
Cohesion: 0.67
Nodes (2): get_menu_list(), 运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,供后端菜单模式联调)
### Community 48 - "Community 48"
### Community 52 - "Community 52"
Cohesion: 1.0
Nodes (1): 请求级别的用户上下文变量 通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传
### Community 49 - "Community 49"
### Community 53 - "Community 53"
Cohesion: 1.0
Nodes (1): API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)
### Community 52 - "Community 52"
### Community 56 - "Community 56"
Cohesion: 1.0
Nodes (1): 发送订单状态通知 Args: openid: 用户openid ord
### Community 53 - "Community 53"
### Community 57 - "Community 57"
Cohesion: 1.0
Nodes (1): 发送支付成功通知 Args: openid: 用户openid ord
### Community 54 - "Community 54"
### Community 58 - "Community 58"
Cohesion: 1.0
Nodes (1): 发送配送通知 Args: openid: 配送员openid task
### Community 55 - "Community 55"
### Community 59 - "Community 59"
Cohesion: 1.0
Nodes (1): 发送配送时效预警 Args: openid: 配送员openid ta
### Community 56 - "Community 56"
### Community 60 - "Community 60"
Cohesion: 1.0
Nodes (1): 发送退款结果通知 Args: openid: 用户openid ord
### Community 57 - "Community 57"
### Community 61 - "Community 61"
Cohesion: 1.0
Nodes (1): 发送催单通知给配送员 Args: deliver_openid: 配送员openid
## Knowledge Gaps
- **90 isolated node(s):** `刷新会话 TTL(refreshToken 续期;已登录用户每次 API 校验通过后滑动续期)`, `写入 refreshToken(用于 one-time 使用/吊销)`, `根据 token 获取当前用户(包含 Redis 会话校验;会话滑动续期)`, `登录凭据 RSA 解密(与前端 JSEncrypt PKCS#1 v1.5 兼容)。`, `Base64 密文 -> JSON 对象(须含 username、password、ts 毫秒时间戳)。` (+85 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **Thin community `Community 42`** (8 nodes): `BaseModel`, `.to_dict()`, `get_active()`, `base.py`, `SoftDeleteModel`, `.restore()`, `.soft_delete()`, `__tablename__()`
- **Thin community `Community 45`** (8 nodes): `BaseModel`, `.to_dict()`, `get_active()`, `base.py`, `SoftDeleteModel`, `.restore()`, `.soft_delete()`, `__tablename__()`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 46`** (4 nodes): `_auto_fill_create_dept_id()`, `get_db()`, `database.py`, `ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID`
- **Thin community `Community 50`** (4 nodes): `_auto_fill_create_dept_id()`, `get_db()`, `database.py`, `ORM before_insert 钩子:当 create_dept_id 为空时,自动从请求上下文填充当前用户部门 ID`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 47`** (3 nodes): `get_menu_list()`, `menu.py`, `运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,供后端菜单模式联调)`
- **Thin community `Community 51`** (3 nodes): `get_menu_list()`, `menu.py`, `运营端菜单接口(与 web-admin 前端静态路由 sqxp.ts 对齐,供后端菜单模式联调)`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 48`** (2 nodes): `context.py`, `请求级别的用户上下文变量 通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传`
- **Thin community `Community 52`** (2 nodes): `context.py`, `请求级别的用户上下文变量 通过 contextvars 在请求处理链路中传递当前用户信息, 供 SQLAlchemy 事件监听器等底层机制使用,避免逐层手动传`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 49`** (2 nodes): `__init__.py`, `API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)`
- **Thin community `Community 53`** (2 nodes): `__init__.py`, `API 路由包(骨架:公共鉴权 + 静态菜单 + 运营端占位)`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 52`** (1 nodes): `发送订单状态通知 Args: openid: 用户openid ord`
- **Thin community `Community 56`** (1 nodes): `发送订单状态通知 Args: openid: 用户openid ord`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 53`** (1 nodes): `发送支付成功通知 Args: openid: 用户openid ord`
- **Thin community `Community 57`** (1 nodes): `发送支付成功通知 Args: openid: 用户openid ord`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 54`** (1 nodes): `发送配送通知 Args: openid: 配送员openid task`
- **Thin community `Community 58`** (1 nodes): `发送配送通知 Args: openid: 配送员openid task`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 55`** (1 nodes): `发送配送时效预警 Args: openid: 配送员openid ta`
- **Thin community `Community 59`** (1 nodes): `发送配送时效预警 Args: openid: 配送员openid ta`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 56`** (1 nodes): `发送退款结果通知 Args: openid: 用户openid ord`
- **Thin community `Community 60`** (1 nodes): `发送退款结果通知 Args: openid: 用户openid ord`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 57`** (1 nodes): `发送催单通知给配送员 Args: deliver_openid: 配送员openid`
- **Thin community `Community 61`** (1 nodes): `发送催单通知给配送员 Args: deliver_openid: 配送员openid`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
## Suggested Questions
_Questions this graph is uniquely positioned to answer:_
- **Why does `SysUser` connect `Community 1` to `Community 2`, `Community 3`, `Community 7`, `Community 8`, `Community 9`, `Community 11`, `Community 12`, `Community 18`, `Community 19`, `Community 20`, `Community 21`, `Community 22`, `Community 30`?**
_High betweenness centrality (0.113) - this node is a cross-community bridge._
- **Why does `generate_uuid()` connect `Community 3` to `Community 0`, `Community 2`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 9`, `Community 12`, `Community 13`, `Community 14`, `Community 16`, `Community 19`, `Community 21`, `Community 22`, `Community 23`, `Community 24`, `Community 25`, `Community 26`, `Community 27`, `Community 29`, `Community 30`, `Community 31`, `Community 32`, `Community 33`, `Community 34`, `Community 35`, `Community 36`, `Community 37`, `Community 38`, `Community 39`, `Community 40`, `Community 41`, `Community 44`?**
_High betweenness centrality (0.082) - this node is a cross-community bridge._
- **Why does `success_response()` connect `Community 0` to `Community 32`, `Community 1`, `Community 5`, `Community 7`, `Community 8`, `Community 44`, `Community 12`, `Community 47`, `Community 16`, `Community 18`, `Community 20`, `Community 23`, `Community 29`, `Community 31`?**
_High betweenness centrality (0.082) - this node is a cross-community bridge._
- **Are the 489 inferred relationships involving `success_response()` (e.g. with `list_storage_release_reviews()` and `get_storage_release_review_detail()`) actually correct?**
_`success_response()` has 489 INFERRED edges - model-reasoned connections that need verification._
- **Are the 461 inferred relationships involving `str` (e.g. with `extract_login_credentials()` and `._make_request()`) actually correct?**
_`str` has 461 INFERRED edges - model-reasoned connections that need verification._
- **Are the 392 inferred relationships involving `error_response()` (e.g. with `_json_error_response()` and `list_storage_release_reviews()`) actually correct?**
_`error_response()` has 392 INFERRED edges - model-reasoned connections that need verification._
- **Are the 293 inferred relationships involving `SysUser` (e.g. with `数据权限过滤(V0.3:基于角色 data_scope 的查询级行级过滤) data_scope 值: 1 = 全部数据 2 = 本部门数据 3` and `从 SysUser 读取用户的 dept_id。`) actually correct?**
_`SysUser` has 293 INFERRED edges - model-reasoned connections that need verification._
- **Why does `SysUser` connect `Community 1` to `Community 2`, `Community 3`, `Community 4`, `Community 5`, `Community 6`, `Community 8`, `Community 10`, `Community 11`, `Community 13`, `Community 18`, `Community 23`, `Community 25`, `Community 26`, `Community 31`?**
_High betweenness centrality (0.108) - this node is a cross-community bridge._
- **Why does `success_response()` connect `Community 0` to `Community 1`, `Community 4`, `Community 5`, `Community 6`, `Community 13`, `Community 18`, `Community 51`?**
_High betweenness centrality (0.087) - this node is a cross-community bridge._
- **Why does `generate_uuid()` connect `Community 3` to `Community 0`, `Community 1`, `Community 2`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 9`, `Community 11`, `Community 12`, `Community 15`, `Community 19`, `Community 20`, `Community 21`, `Community 22`, `Community 23`, `Community 24`, `Community 25`, `Community 26`, `Community 27`, `Community 28`, `Community 31`, `Community 32`, `Community 33`, `Community 34`, `Community 35`, `Community 36`, `Community 37`, `Community 38`, `Community 39`, `Community 40`, `Community 41`, `Community 42`, `Community 43`, `Community 44`, `Community 46`, `Community 48`?**
_High betweenness centrality (0.078) - this node is a cross-community bridge._
- **Are the 490 inferred relationships involving `success_response()` (e.g. with `list_storage_release_reviews()` and `get_storage_release_review_detail()`) actually correct?**
_`success_response()` has 490 INFERRED edges - model-reasoned connections that need verification._
- **Are the 463 inferred relationships involving `str` (e.g. with `unhandled_exception_handler()` and `extract_login_credentials()`) actually correct?**
_`str` has 463 INFERRED edges - model-reasoned connections that need verification._
- **Are the 393 inferred relationships involving `error_response()` (e.g. with `_json_error_response()` and `list_storage_release_reviews()`) actually correct?**
_`error_response()` has 393 INFERRED edges - model-reasoned connections that need verification._
- **Are the 302 inferred relationships involving `SysUser` (e.g. with `数据权限过滤(V0.3:基于角色 data_scope 的查询级行级过滤) data_scope 值: 1 = 全部数据 2 = 本部门数据 3` and `从 SysUser 读取用户的 dept_id。`) actually correct?**
_`SysUser` has 302 INFERRED edges - model-reasoned connections that need verification._
+4 -4
View File
@@ -57,12 +57,12 @@
</div>
<div id="legend"></div>
</div>
<div id="stats">2973 nodes &middot; 12603 edges &middot; 62 communities</div>
<div id="stats">2999 nodes &middot; 12838 edges &middot; 66 communities</div>
</div>
<script>
const RAW_NODES = [{"id": "init_py", "label": "__init__.py", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "__init__.py", "community": 50, "community_name": "Community 50", "source_file": "__init__.py", "file_type": "code", "degree": 0}, {"id": "main_py", "label": "main.py", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "main.py", "community": 7, "community_name": "Community 7", "source_file": "main.py", "file_type": "code", "degree": 4}, {"id": "app_main_lifespan", "label": "lifespan()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "lifespan()", "community": 7, "community_name": "Community 7", "source_file": "main.py", "file_type": "code", "degree": 4}, {"id": "app_main_mask_secret", "label": "_mask_secret()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "_mask_secret()", "community": 7, "community_name": "Community 7", "source_file": "main.py", "file_type": "code", "degree": 1}, {"id": "app_main_root", "label": "root()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "root()", "community": 7, "community_name": "Community 7", "source_file": "main.py", "file_type": "code", "degree": 1}, {"id": "app_main_health_check", "label": "health_check()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "health_check()", "community": 7, "community_name": "Community 7", "source_file": "main.py", "file_type": "code", "degree": 1}, {"id": "tasks_init_py", "label": "__init__.py", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "__init__.py", "community": 7, "community_name": "Community 7", "source_file": "tasks/__init__.py", "file_type": "code", "degree": 2}, {"id": "tasks_init_init_scheduled_tasks", "label": "init_scheduled_tasks()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "init_scheduled_tasks()", "community": 7, "community_name": "Community 7", "source_file": "tasks/__init__.py", "file_type": "code", "degree": 2}, {"id": "tasks_init_shutdown_scheduler", "label": "shutdown_scheduler()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "shutdown_scheduler()", "community": 7, "community_name": "Community 7", "source_file": "tasks/__init__.py", "file_type": "code", "degree": 2}, {"id": "core_auth_py", "label": "auth.py", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.1, "font": {"size": 0, "color": "#ffffff"}, "title": "auth.py", "community": 7, "community_name": "Community 7", "source_file": "core/auth.py", "file_type": "code", "degree": 18}, {"id": "core_auth_redis_session_enabled", "label": "_redis_session_enabled()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "_redis_session_enabled()", "community": 7, "community_name": "Community 7", "source_file": "core/auth.py", "file_type": "code", "degree": 2}, {"id": "core_auth_get_redis_client", "label": "_get_redis_client()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.6, "font": {"size": 0, "color": "#ffffff"}, "title": "_get_redis_client()", "community": 7, "community_name": "Community 7", "source_file": "core/auth.py", "file_type": "code", "degree": 9}, {"id": "core_auth_session_key", "label": "_session_key()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "_session_key()", "community": 7, "community_name": "Community 7", "source_file": "core/auth.py", "file_type": "code", "degree": 5}, {"id": "core_auth_refresh_key", "label": "_refresh_key()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "boLine truncated
const RAW_EDGES = [{"from": "main_py", "to": "app_main_lifespan", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_mask_secret", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_root", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_health_check", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_main_lifespan", "to": "core_login_crypto_ensure_initialized", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_lifespan", "to": "tasks_init_init_scheduled_tasks", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_lifespan", "to": "tasks_init_shutdown_scheduler", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "tasks_init_py", "to": "tasks_init_init_scheduled_tasks", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "tasks_init_py", "to": "tasks_init_shutdown_scheduler", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_redis_session_enabled", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_get_redis_client", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_session_key", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_refresh_key", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_store_session", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_revoke_session", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_extend_session", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_is_session_valid", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_store_refresh_token", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_is_refresh_token_valid", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_revoke_refresh_token", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_create_access_token", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_create_refresh_token", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_decode_token", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_get_current_user_by_token", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_get_current_user", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "Line truncated
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "Community 0", "count": 546}, {"cid": 1, "color": "#F28E2B", "label": "Community 1", "count": 469}, {"cid": 2, "color": "#E15759", "label": "Community 2", "count": 372}, {"cid": 3, "color": "#76B7B2", "label": "Community 3", "count": 186}, {"cid": 4, "color": "#59A14F", "label": "Community 4", "count": 163}, {"cid": 5, "color": "#EDC948", "label": "Community 5", "count": 153}, {"cid": 6, "color": "#B07AA1", "label": "Community 6", "count": 134}, {"cid": 7, "color": "#FF9DA7", "label": "Community 7", "count": 100}, {"cid": 8, "color": "#9C755F", "label": "Community 8", "count": 72}, {"cid": 9, "color": "#BAB0AC", "label": "Community 9", "count": 71}, {"cid": 10, "color": "#4E79A7", "label": "Community 10", "count": 69}, {"cid": 11, "color": "#F28E2B", "label": "Community 11", "count": 68}, {"cid": 12, "color": "#E15759", "label": "Community 12", "count": 58}, {"cid": 13, "color": "#76B7B2", "label": "Community 13", "count": 41}, {"cid": 14, "color": "#59A14F", "label": "Community 14", "count": 33}, {"cid": 15, "color": "#EDC948", "label": "Community 15", "count": 31}, {"cid": 16, "color": "#B07AA1", "label": "Community 16", "count": 24}, {"cid": 17, "color": "#FF9DA7", "label": "Community 17", "count": 23}, {"cid": 18, "color": "#9C755F", "label": "Community 18", "count": 22}, {"cid": 19, "color": "#BAB0AC", "label": "Community 19", "count": 17}, {"cid": 20, "color": "#4E79A7", "label": "Community 20", "count": 17}, {"cid": 21, "color": "#F28E2B", "label": "Community 21", "count": 16}, {"cid": 22, "color": "#E15759", "label": "Community 22", "count": 15}, {"cid": 23, "color": "#76B7B2", "label": "Community 23", "count": 15}, {"cid": 24, "color": "#59A14F", "label": "Community 24", "count": 15}, {"cid": 25, "color": "#EDC948", "label": "Community 25", "count": 15}, {"cid": 26, "color": "#B07AA1", "label": "Community 26", "count": 14}, {"cid": 27, "color": "#FF9DA7", "label": "Community 27", "count": 14}, {"cid": 28, "color": "#9C755F", "label": "Community 28", "count": 13}, {"cid": 29, "color": "#BAB0AC", "label": "Community 29", "count": 13}, {"cid": 30, "color": "#4E79A7", "label": "Community 30", "count": 12}, {"cid": 31, "color": "#F28E2B", "label": "Community 31", "count": 12}, {"cid": 32, "color": "#E15759", "label": "Community 32", "count": 11}, {"cid": 33, "color": "#76B7B2", "label": "Community 33", "count": 11}, {"cid": 34, "color": "#59A14F", "label": "Community 34", "count": 10}, {"cid": 35, "color": "#EDC948", "label": "Community 35", "count": 10}, {"cid": 36, "color": "#B07AA1", "label": "Community 36", "count": 10}, {"cid": 37, "color": "#FF9DA7", "label": "Community 37", "count": 10}, {"cid": 38, "color": "#9C755F", "label": "Community 38", "count": 10}, {"cid": 39, "color": "#BAB0AC", "label": "Community 39", "count": 10}, {"cid": 40, "color": "#4E79A7", "label": "Community 40", "count": 10}, {"cid": 41, "color": "#F28E2B", "label": "Community 41", "count": 9}, {"cid": 42, "color": "#E15759", "label": "Community 42", "count": 8}, {"cid": 43, "color": "#76B7B2", "label": "Community 43", "count": 7}, {"cid": 44, "color": "#59A14F", "label": "Community 44", "count": 7}, {"cid": 45, "color": "#EDC948", "label": "Community 45", "count": 4}, {"cid": 46, "color": "#B07AA1", "label": "Community 46", "count": 4}, {"cid": 47, "color": "#FF9DA7", "label": "Community 47", "count": 3}, {"cid": 48, "color": "#9C755F", "label": "Community 48", "count": 2}, {"cid": 49, "color": "#BAB0AC", "label": "Community 49", "count": 2}, {"cid": 50, "color": "#4E79A7", "label": "Community 50", "count": 1}, {"cid": 51, "color": "#F28E2B", "label": "Community 51", "count": 1}, {"cid": 52, "color": "#E15759", "label": "Community 52", "count": 1}, {"cid": 53, "color": "#76B7B2", "label": "Community 53", "count": 1}, {"cid": 54, "color": "#59A14F", "label": "Community 54", "count": 1}, {"cid": 55, "color": "#EDC948", "label": "Community 55", "count": 1}, {"cid": 56, "color": "#B07AA1", "label": "Community 56", "count": 1}, {"cid": 57, "color": "#FF9DA7", "label": "Community 57", "count": 1}, {"cid": 58, "color": "#9C755F", "label": "Community 58", "count": 1}];
const RAW_NODES = [{"id": "init_py", "label": "__init__.py", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "__init__.py", "community": 54, "community_name": "Community 54", "source_file": "__init__.py", "file_type": "code", "degree": 0}, {"id": "main_py", "label": "main.py", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "main.py", "community": 4, "community_name": "Community 4", "source_file": "main.py", "file_type": "code", "degree": 7}, {"id": "app_main_lifespan", "label": "lifespan()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "lifespan()", "community": 6, "community_name": "Community 6", "source_file": "main.py", "file_type": "code", "degree": 4}, {"id": "app_main_error_json", "label": "_error_json()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "_error_json()", "community": 4, "community_name": "Community 4", "source_file": "main.py", "file_type": "code", "degree": 3}, {"id": "app_main_sqlalchemy_exception_handler", "label": "sqlalchemy_exception_handler()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "sqlalchemy_exception_handler()", "community": 4, "community_name": "Community 4", "source_file": "main.py", "file_type": "code", "degree": 4}, {"id": "app_main_unhandled_exception_handler", "label": "unhandled_exception_handler()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "unhandled_exception_handler()", "community": 4, "community_name": "Community 4", "source_file": "main.py", "file_type": "code", "degree": 5}, {"id": "app_main_mask_secret", "label": "_mask_secret()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "_mask_secret()", "community": 4, "community_name": "Community 4", "source_file": "main.py", "file_type": "code", "degree": 1}, {"id": "app_main_root", "label": "root()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "root()", "community": 4, "community_name": "Community 4", "source_file": "main.py", "file_type": "code", "degree": 1}, {"id": "app_main_health_check", "label": "health_check()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "health_check()", "community": 4, "community_name": "Community 4", "source_file": "main.py", "file_type": "code", "degree": 1}, {"id": "app_main_rationale_81", "label": "\u6570\u636e\u5e93\u5f02\u5e38\uff1a\u8fd4\u56de JSON \u5e76\u4fdd\u7559 CORS \u5934\uff0c\u907f\u514d\u6d4f\u89c8\u5668\u53ea\u62a5\u8de8\u57df\u9519\u8bef", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "\u6570\u636e\u5e93\u5f02\u5e38\uff1a\u8fd4\u56de JSON \u5e76\u4fdd\u7559 CORS \u5934\uff0c\u907f\u514d\u6d4f\u89c8\u5668\u53ea\u62a5\u8de8\u57df\u9519\u8bef", "community": 4, "community_name": "Community 4", "source_file": "main.py", "file_type": "rationale", "degree": 3}, {"id": "app_main_rationale_92", "label": "\u672a\u6355\u83b7\u5f02\u5e38\uff1a\u7edf\u4e00 JSON 500\uff0c\u786e\u4fdd\u8de8\u57df\u573a\u666f\u4e0b\u4ecd\u6709 Access-Control-Allow-Origin", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "\u672a\u6355\u83b7\u5f02\u5e38\uff1a\u7edf\u4e00 JSON 500\uff0c\u786e\u4fdd\u8de8\u57df\u573a\u666f\u4e0b\u4ecd\u6709 Access-Control-Allow-Origin", "community": 4, "community_name": "Community 4", "source_file": "main.py", "file_type": "rationale", "degree": 3}, {"id": "tasks_init_py", "label": "__init__.py", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "__init__.py", "community": 6, "community_name": "Community 6", "source_file": "tasks/__init__.py", "file_type": "code", "degLine truncated
const RAW_EDGES = [{"from": "main_py", "to": "app_main_lifespan", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_error_json", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_sqlalchemy_exception_handler", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_unhandled_exception_handler", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_mask_secret", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_root", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_py", "to": "app_main_health_check", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_main_lifespan", "to": "core_login_crypto_ensure_initialized", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_lifespan", "to": "tasks_init_init_scheduled_tasks", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_lifespan", "to": "tasks_init_shutdown_scheduler", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_error_json", "to": "app_main_sqlalchemy_exception_handler", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_main_error_json", "to": "app_main_unhandled_exception_handler", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_main_sqlalchemy_exception_handler", "to": "app_main_rationale_81", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_main_sqlalchemy_exception_handler", "to": "exception", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_unhandled_exception_handler", "to": "app_main_rationale_92", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_main_unhandled_exception_handler", "to": "exception", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_unhandled_exception_handler", "to": "str", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_rationale_81", "to": "core_api_request_log_middleware_apirequestlogmiddleware", "label": "uses", "title": "uses [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_rationale_81", "to": "core_api_crypto_middleware_apicryptomiddleware", "label": "uses", "title": "uses [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_rationale_92", "to": "core_api_request_log_middleware_apirequestlogmiddleware", "label": "uses", "title": "uses [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "app_main_rationale_92", "to": "core_api_crypto_middleware_apicryptomiddleware", "label": "uses", "title": "uses [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "tasks_init_py", "to": "tasks_init_init_scheduled_tasks", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "tasks_init_py", "to": "tasks_init_shutdown_scheduler", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_redis_session_enabled", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_py", "to": "core_auth_get_redis_client", "labeLine truncated
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "Community 0", "count": 549}, {"cid": 1, "color": "#F28E2B", "label": "Community 1", "count": 494}, {"cid": 2, "color": "#E15759", "label": "Community 2", "count": 318}, {"cid": 3, "color": "#76B7B2", "label": "Community 3", "count": 183}, {"cid": 4, "color": "#59A14F", "label": "Community 4", "count": 164}, {"cid": 5, "color": "#EDC948", "label": "Community 5", "count": 161}, {"cid": 6, "color": "#B07AA1", "label": "Community 6", "count": 158}, {"cid": 7, "color": "#FF9DA7", "label": "Community 7", "count": 112}, {"cid": 8, "color": "#9C755F", "label": "Community 8", "count": 84}, {"cid": 9, "color": "#BAB0AC", "label": "Community 9", "count": 74}, {"cid": 10, "color": "#4E79A7", "label": "Community 10", "count": 68}, {"cid": 11, "color": "#F28E2B", "label": "Community 11", "count": 51}, {"cid": 12, "color": "#E15759", "label": "Community 12", "count": 45}, {"cid": 13, "color": "#76B7B2", "label": "Community 13", "count": 33}, {"cid": 14, "color": "#59A14F", "label": "Community 14", "count": 31}, {"cid": 15, "color": "#EDC948", "label": "Community 15", "count": 26}, {"cid": 16, "color": "#B07AA1", "label": "Community 16", "count": 22}, {"cid": 17, "color": "#FF9DA7", "label": "Community 17", "count": 21}, {"cid": 18, "color": "#9C755F", "label": "Community 18", "count": 21}, {"cid": 19, "color": "#BAB0AC", "label": "Community 19", "count": 21}, {"cid": 20, "color": "#4E79A7", "label": "Community 20", "count": 17}, {"cid": 21, "color": "#F28E2B", "label": "Community 21", "count": 16}, {"cid": 22, "color": "#E15759", "label": "Community 22", "count": 15}, {"cid": 23, "color": "#76B7B2", "label": "Community 23", "count": 15}, {"cid": 24, "color": "#59A14F", "label": "Community 24", "count": 15}, {"cid": 25, "color": "#EDC948", "label": "Community 25", "count": 15}, {"cid": 26, "color": "#B07AA1", "label": "Community 26", "count": 14}, {"cid": 27, "color": "#FF9DA7", "label": "Community 27", "count": 14}, {"cid": 28, "color": "#9C755F", "label": "Community 28", "count": 14}, {"cid": 29, "color": "#BAB0AC", "label": "Community 29", "count": 13}, {"cid": 30, "color": "#4E79A7", "label": "Community 30", "count": 13}, {"cid": 31, "color": "#F28E2B", "label": "Community 31", "count": 12}, {"cid": 32, "color": "#E15759", "label": "Community 32", "count": 12}, {"cid": 33, "color": "#76B7B2", "label": "Community 33", "count": 12}, {"cid": 34, "color": "#59A14F", "label": "Community 34", "count": 11}, {"cid": 35, "color": "#EDC948", "label": "Community 35", "count": 11}, {"cid": 36, "color": "#B07AA1", "label": "Community 36", "count": 10}, {"cid": 37, "color": "#FF9DA7", "label": "Community 37", "count": 10}, {"cid": 38, "color": "#9C755F", "label": "Community 38", "count": 10}, {"cid": 39, "color": "#BAB0AC", "label": "Community 39", "count": 10}, {"cid": 40, "color": "#4E79A7", "label": "Community 40", "count": 10}, {"cid": 41, "color": "#F28E2B", "label": "Community 41", "count": 10}, {"cid": 42, "color": "#E15759", "label": "Community 42", "count": 10}, {"cid": 43, "color": "#76B7B2", "label": "Community 43", "count": 9}, {"cid": 44, "color": "#59A14F", "label": "Community 44", "count": 9}, {"cid": 45, "color": "#EDC948", "label": "Community 45", "count": 8}, {"cid": 46, "color": "#B07AA1", "label": "Community 46", "count": 8}, {"cid": 47, "color": "#FF9DA7", "label": "Community 47", "count": 7}, {"cid": 48, "color": "#9C755F", "label": "Community 48", "count": 6}, {"cid": 49, "color": "#BAB0AC", "label": "Community 49", "count": 4}, {"cid": 50, "color": "#4E79A7", "label": "Community 50", "count": 4}, {"cid": 51, "color": "#F28E2B", "label": "Community 51", "count": 3}, {"cid": 52, "color": "#E15759", "label": "Community 52", "count": 2}, {"cid": 53, "color": "#76B7B2", "label": "Community 53", "count": 2}, {"cid": 54, "color": "#59A14F", "label": "Community 54", "count": 1}, {"cid": 55, "color": "#EDC948", "label": "Community 55", "count": 1}, {"cid": 56, "color": "#B07AA1", "label": "Community 56", "count": 1}, {"cid": 57, "color": "#FF9DA7", "label": "Community 57", "count": 1}, {"cid": 58, "color": "#9C755F", "label": "Community 58", "count": 1}];
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML
function esc(s) {
File diff suppressed because it is too large. Load diff
+4 -4
View File
@@ -1,6 +1,6 @@
{
"/Users/wuzilong/work/00code/zkxw/backend/app/__init__.py": 1778578257.989357,
"/Users/wuzilong/work/00code/zkxw/backend/app/main.py": 1779657081.1526535,
"/Users/wuzilong/work/00code/zkxw/backend/app/main.py": 1779696962.1756186,
"/Users/wuzilong/work/00code/zkxw/backend/app/tasks/__init__.py": 1778579841.437791,
"/Users/wuzilong/work/00code/zkxw/backend/app/core/auth.py": 1779245791.6811426,
"/Users/wuzilong/work/00code/zkxw/backend/app/core/api_crypto.py": 1778578258.039314,
@@ -25,7 +25,7 @@
"/Users/wuzilong/work/00code/zkxw/backend/app/core/wechat_message.py": 1778578258.0458734,
"/Users/wuzilong/work/00code/zkxw/backend/app/models/material.py": 1779283385.245847,
"/Users/wuzilong/work/00code/zkxw/backend/app/models/qc_param.py": 1779022399.0175831,
"/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py": 1779656815.9150407,
"/Users/wuzilong/work/00code/zkxw/backend/app/models/models.py": 1779703780.6930475,
"/Users/wuzilong/work/00code/zkxw/backend/app/models/__init__.py": 1779418058.876012,
"/Users/wuzilong/work/00code/zkxw/backend/app/models/research_donation.py": 1779177348.5945773,
"/Users/wuzilong/work/00code/zkxw/backend/app/models/qc_material.py": 1779284411.5179992,
@@ -110,7 +110,7 @@
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/item_unit.py": 1779265653.7504313,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/qc_work_order.py": 1779692685.3601904,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/process.py": 1779309113.0447981,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py": 1779693009.3103797,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/pilot_service.py": 1779706116.7569036,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/customer.py": 1779686149.7508218,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/workflow.py": 1779265993.677624,
"/Users/wuzilong/work/00code/zkxw/backend/app/crud/sample_sms_notification.py": 1779691673.794283,
@@ -146,7 +146,7 @@
"/Users/wuzilong/work/00code/zkxw/backend/app/api/research_donation.py": 1779692336.7153394,
"/Users/wuzilong/work/00code/zkxw/backend/app/api/ethnic.py": 1779266243.9511197,
"/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_checkup.py": 1779655546.1250906,
"/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py": 1779693022.4024143,
"/Users/wuzilong/work/00code/zkxw/backend/app/api/pilot_service.py": 1779706094.856938,
"/Users/wuzilong/work/00code/zkxw/backend/app/api/workflow.py": 1779266232.4568832,
"/Users/wuzilong/work/00code/zkxw/backend/app/api/sample_sms_notification.py": 1779691678.688495,
"/Users/wuzilong/work/00code/zkxw/backend/app/api/sample_reception.py": 1779692499.6698253,
@@ -0,0 +1,2 @@
ALTER TABLE biz_channel_service_order_txn
ADD COLUMN refund_attachments TEXT NULL COMMENT '退款附件(逗号分隔URL)' AFTER remark;
@@ -0,0 +1,127 @@
# 渠道服务订单(gmcp)— 建单不带产品 + 编辑规则
**日期:** 2026-05-25
**状态:** 已确认(方案 A + 编辑规则)
**关联:** `2026-05-24-channel-service-order-multi-txn-design.md`
---
## 1. 背景与目标
「购买产品份数」(`gmcp`)订单应作为**渠道 + 协议**下的长期容器;每次实际购买通过**操作流水**(`purchase`)完成,且须经**财务确认**后生效。新增订单时不应录入产品明细,避免与「购买产品」流水入口重复,并防止用户误以为建单即已购买。
---
## 2. 方案 A:建单(新增)
### 2.1 前端(`channel-service-order/index.vue` 新增弹窗)
| 字段 | gmcp 新增 |
|------|-----------|
| 订单类型 | 必选(创建后不可改,沿用现有) |
| 渠道 | 必选 |
| 渠道协议 | 必选(须为渠道下生效中协议) |
| 部门名称 | 可填 |
| 备注 | 可填 |
| 产品明细 / 购买合计 | **不展示、不校验、不提交** |
### 2.2 后端(`create_channel_service_order`)
- `order_type=gmcp` 时 **`products` 可选**,不传或空数组均允许。
- 不调用 `_save_gmcp_product_rows`。
- `purchase_total_amount` 初始为 `NULL` 或 `0`(与列表展示约定一致)。
- `order_status` 仍为 `dsx`(待生效)。
- 仍校验 `channel_agreement_id` 存在且协议生效。
### 2.3 购买入口(不变)
- 列表「购买产品」→ `POST /channel-service-orders/{id}/purchase` → `purchase` 流水 `dsx`。
- 流水「发起财务确认」→ `dqr` → 财务确认 → `yqr` 后持仓与订单状态生效。
---
## 3. 编辑规则(gmcp,用户确认)
订单创建后(`dsx` 或 `sxz`,**非** `yzf`)允许编辑,字段权限如下:
| 字段 | 是否可改 | 条件 |
|------|----------|------|
| 渠道 | **否** | 始终只读(新增可选,编辑禁用) |
| 渠道协议 | **条件可改** | 见 §3.1 |
| 部门名称 | **是** | 任意非作废状态 |
| 备注 | **是** | 任意非作废状态 |
| 订单类型 | **否** | 沿用现有 `disabled` |
| 产品明细 | **否** | 不在编辑弹窗维护;仅「购买产品」流水 |
### 3.1 「是否已有购买」— 锁定渠道协议
**定义:** 存在至少一条 **未作废** 的 `purchase` 类型流水(`txn_type=purchase` 且 `txn_status != yzf`)。
- **无购买流水:** 可修改 `channel_agreement_id`(须为新渠道下生效协议;渠道本身不可改)。
- **已有购买流水:** `channel_agreement_id` 只读,后端拒绝变更。
**补充(历史数据):** 若订单无 `purchase` 流水但存在建单时写入的 `biz_channel_service_order_product` 行(旧逻辑迁移数据),视同「已有购买」,协议不可改。
**作废后:** 若所有 `purchase` 流水均为 `yzf` 且无有效持仓行,协议可再次修改(与「从未购买」一致)。
### 3.2 编辑入口与订单状态(已确认)
| 订单状态 | 中文 | gmcp 是否显示「编辑」 |
|----------|------|----------------------|
| `dsx` | 待生效 | 是 |
| `sxz` | 生效中 | **是**(可改备注、部门;协议见 §3.1) |
| `yzf` | 已作废 | 否 |
### 3.3 后端(`update_channel_service_order`)
- **gmcp + `yzf`:** 拒绝更新。
- **gmcp + `dsx` / `sxz`:**
- 允许更新 `dept_name`、`remark`。
- `channel_id`:拒绝(或不接受该字段)。
- `channel_agreement_id`:仅当 §3.1 判定「无购买」时允许;否则 `ValueError("已有购买流水,不可修改渠道协议")`。
- **`products`:** 不再接受;若传入则忽略或 400(推荐拒绝,避免旧客户端误用)。
- **移除** gmcp 下通过 PUT 整单替换产品明细的逻辑。
### 3.4 详情接口扩展(建议)
`GET /channel-service-orders/{id}` 增加只读字段,供前端控制协议下拉禁用:
| 字段 | 类型 | 说明 |
|------|------|------|
| `agreementEditable` | boolean | 是否允许修改协议 |
| `hasPurchaseTxn` | boolean | 是否存在未作废的 purchase 流水 |
---
## 4. yfk(预付款)— 本需求范围
- **新增:** 维持仅渠道 + 协议,不录充值金额(已有)。
- **编辑:** 维持仅 `dsx` 可编辑;本 spec **不扩展** yfk 在 `sxz` 下改备注(除非后续单独需求)。
---
## 5. 前端编辑弹窗(gmcp)
- 与新增相同布局:**无产品明细区块**。
- 渠道:`el-select` **disabled**。
- 渠道协议:`:disabled="!agreementEditable"`(或 `hasPurchaseTxn`)。
- 部门、备注:可编辑。
- 提交 payload 仅含 `deptName`、`remark`、及条件允许时的 `channelAgreementId`;不传 `channelId`、`products`。
---
## 6. 不在本需求范围
- 调整 `create_purchase_txn` 在财务确认前是否预占 `current_qty`(与 multi-txn 文档「确认后累加」的差异,另开任务)。
- 历史订单数据迁移脚本(仅新规则应用于新单与编辑校验;旧 `order_product` 按 §3.1 锁定协议)。
- `yzf` 订单编辑。
---
## 7. 验收要点
1. gmcp 新增:仅渠道+协议+部门+备注,保存成功,详情无产品、无购买总额(或为 0)。
2. gmcp 无购买前编辑:可改协议、部门、备注;渠道不可改。
3. 发起一次「购买产品」后:协议控件禁用,仍可改部门、备注;后端改协议返回错误。
4. gmcp `sxz` 订单仍显示编辑,可改备注与部门。
5. 购买仅通过「购买产品」流水,财务确认前订单仍为待生效或生效中但持仓以流水状态为准(与现网一致)。
+151 -149
View File
@@ -262,19 +262,17 @@
"views_pilot_service_project_price_system_index_vue"
],
"1": [
"api_admin_fetchbatchgenerateprotocolnos",
"api_admin_fetchbatchgeneratesamplecodes",
"api_admin_fetchbatchissueprotocolnos",
"api_admin_fetchbatchissuesamplecodes",
"api_admin_fetchcollectionregionlist",
"api_admin_fetchcreatecollectionregion",
"api_admin_fetchcreatehospital",
"api_admin_fetchcollectionprotocolnolist",
"api_admin_fetchcreatecollectionprotocolno",
"api_admin_fetchcreatesamplecode",
"api_admin_fetchdeletecollectionregion",
"api_admin_fetchdeletehospital",
"api_admin_fetchdeletecollectionprotocolno",
"api_admin_fetchdeletesamplecode",
"api_admin_fetchhospitallist",
"api_admin_fetchsamplecodelist",
"api_admin_fetchupdatecollectionregion",
"api_admin_fetchupdatehospital",
"api_admin_fetchupdatecollectionprotocolno",
"api_admin_fetchupdatesamplecode",
"api_admin_fetchuseroptions",
"api_storage_release_review_batchreviewstoragerelease",
@@ -293,25 +291,25 @@
"art_screen_lock_index_openlockscreen",
"art_screen_lock_index_verifypassword",
"clean_room_index_handlebatchdelete",
"collection_region_index_handleadd",
"collection_region_index_handleaddhospital",
"collection_region_index_handlebatchdelete",
"collection_protocol_no_index_handleadd",
"collection_protocol_no_index_handlebatchdelete",
"collection_protocol_no_index_handlebatchgenerate",
"collection_protocol_no_index_handlebatchissue",
"collection_protocol_no_index_handlebatchrevoke",
"collection_protocol_no_index_handledelete",
"collection_protocol_no_index_handleedit",
"collection_protocol_no_index_handlereset",
"collection_protocol_no_index_handlesearch",
"collection_protocol_no_index_handleselectionchange",
"collection_protocol_no_index_handlesubmit",
"collection_protocol_no_index_handleview",
"collection_protocol_no_index_loaddata",
"collection_protocol_no_index_loaduseroptions",
"collection_protocol_no_index_openbatchgenerate",
"collection_protocol_no_index_openbatchissue",
"collection_protocol_no_index_resetform",
"collection_protocol_no_index_resolveissuedusername",
"collection_region_index_handlebatchdeletehospital",
"collection_region_index_handledelete",
"collection_region_index_handledeletehospital",
"collection_region_index_handleedit",
"collection_region_index_handleedithospital",
"collection_region_index_handlereset",
"collection_region_index_handlesearch",
"collection_region_index_handleselectionchange",
"collection_region_index_handleview",
"collection_region_index_loaddata",
"collection_region_index_loadhospitals",
"collection_region_index_onhospitaldialogclosed",
"collection_region_index_onhospitalselectionchange",
"collection_region_index_openhospitaldialog",
"collection_region_index_submithospital",
"collection_region_index_submitregion",
"components_core_layouts_art_screen_lock_index_vue",
"core_routevalidator_routevalidator",
"core_routevalidator_routevalidator_checkcomponents",
@@ -351,7 +349,6 @@
"sample_code_index_openbatchgenerate",
"sample_code_index_openbatchissue",
"sample_code_index_resetform",
"site_index_handlebatchdelete",
"storage_release_review_storagereleasereviewdialog_fullfileurl",
"storage_release_review_storagereleasereviewdialog_getlist",
"storage_release_review_storagereleasereviewdialog_handlesubmit",
@@ -360,7 +357,7 @@
"storage_release_review_storagereleasereviewdialog_resetform",
"utils_fullscreen_loading_ts",
"utils_fullscreen_loading_withfullscreenloading",
"views_basic_info_collection_region_index_vue",
"views_basic_info_collection_protocol_no_index_vue",
"views_basic_info_sample_code_index_vue",
"views_cell_storage_protocol_protocolauditdialog_vue",
"views_cell_storage_protocol_protocolstatuschangedialog_vue",
@@ -483,6 +480,7 @@
"art_fireworks_effect_index_fireworksystem_preloadimage",
"art_page_content_index_reload",
"channel_service_order_finance_index_handleconfirmattachmentchange",
"clean_room_index_formatuserlabel",
"clean_room_index_loaddeptdata",
"clean_room_index_onpersonselectchange",
"components_business_dialog_form_body_index_vue",
@@ -507,13 +505,6 @@
"qc_work_order_index_formatdetectmethods",
"qc_work_order_index_formatmetric",
"role_index_walk",
"source_chain_chaintoflow_annotateforkedges",
"source_chain_chaintoflow_chainapitoelements",
"source_chain_chaintoflow_haschaingraphcontent",
"source_chain_chaintoflow_layoutchainelements",
"source_chain_chaintoflow_makeflowedge",
"source_chain_chaintoflow_makeflownode",
"source_chain_chaintoflow_nextancestorlink",
"storage_facility_index_if",
"storage_facility_index_push",
"user_index_loaddepttree",
@@ -544,7 +535,6 @@
"utils_tree_path_resolvetreepathdisplay",
"utils_tree_path_ts",
"views_operations_storage_facility_index_vue",
"views_production_cell_product_source_chain_chaintoflow_ts",
"views_production_process_route_index_vue",
"views_production_production_work_order_stepdetailpanel_vue",
"views_quality_inspection_qc_work_order_index_vue",
@@ -747,7 +737,6 @@
"api_admin_fetchupdatecleanroom",
"api_admin_fetchupdatesite",
"api_admin_fetchuserlist",
"clean_room_index_formatuserlabel",
"clean_room_index_handleaccesslog",
"clean_room_index_handleadd",
"clean_room_index_handleaddlog",
@@ -771,6 +760,7 @@
"site_index_formatcontactuserlabel",
"site_index_getsitetypelabel",
"site_index_handleadd",
"site_index_handlebatchdelete",
"site_index_handledelete",
"site_index_handledialogclose",
"site_index_handleedit",
@@ -1128,31 +1118,33 @@
"utils_http_index_ts"
],
"16": [
"api_admin_fetchbatchgenerateprotocolnos",
"api_admin_fetchbatchissueprotocolnos",
"api_admin_fetchcollectionprotocolnolist",
"api_admin_fetchcreatecollectionprotocolno",
"api_admin_fetchdeletecollectionprotocolno",
"api_admin_fetchupdatecollectionprotocolno",
"collection_protocol_no_index_handleadd",
"collection_protocol_no_index_handlebatchdelete",
"collection_protocol_no_index_handlebatchgenerate",
"collection_protocol_no_index_handlebatchissue",
"collection_protocol_no_index_handlebatchrevoke",
"collection_protocol_no_index_handledelete",
"collection_protocol_no_index_handleedit",
"collection_protocol_no_index_handlereset",
"collection_protocol_no_index_handlesearch",
"collection_protocol_no_index_handleselectionchange",
"collection_protocol_no_index_handlesubmit",
"collection_protocol_no_index_handleview",
"collection_protocol_no_index_loaddata",
"collection_protocol_no_index_loaduseroptions",
"collection_protocol_no_index_openbatchgenerate",
"collection_protocol_no_index_openbatchissue",
"collection_protocol_no_index_resetform",
"collection_protocol_no_index_resolveissuedusername",
"views_basic_info_collection_protocol_no_index_vue"
"api_admin_fetchcollectionregionlist",
"api_admin_fetchcreatecollectionregion",
"api_admin_fetchcreatehospital",
"api_admin_fetchdeletecollectionregion",
"api_admin_fetchdeletehospital",
"api_admin_fetchhospitallist",
"api_admin_fetchupdatecollectionregion",
"api_admin_fetchupdatehospital",
"collection_region_index_handleadd",
"collection_region_index_handleaddhospital",
"collection_region_index_handlebatchdelete",
"collection_region_index_handledelete",
"collection_region_index_handledeletehospital",
"collection_region_index_handleedit",
"collection_region_index_handleedithospital",
"collection_region_index_handlereset",
"collection_region_index_handlesearch",
"collection_region_index_handleselectionchange",
"collection_region_index_handleview",
"collection_region_index_loaddata",
"collection_region_index_loadhospitals",
"collection_region_index_onhospitaldialogclosed",
"collection_region_index_onhospitalselectionchange",
"collection_region_index_openhospitaldialog",
"collection_region_index_submithospital",
"collection_region_index_submitregion",
"views_basic_info_collection_region_index_vue"
],
"17": [
"business_highlight_addcopybutton",
@@ -1448,6 +1440,16 @@
"api_qc_task_ts"
],
"35": [
"source_chain_chaintoflow_annotateforkedges",
"source_chain_chaintoflow_chainapitoelements",
"source_chain_chaintoflow_haschaingraphcontent",
"source_chain_chaintoflow_layoutchainelements",
"source_chain_chaintoflow_makeflowedge",
"source_chain_chaintoflow_makeflownode",
"source_chain_chaintoflow_nextancestorlink",
"views_production_cell_product_source_chain_chaintoflow_ts"
],
"36": [
"app_vue",
"main_ts",
"src_app_refreshbuttonautoicons",
@@ -1456,7 +1458,7 @@
"src_main_masksecret",
"utils_sys_console_ts"
],
"36": [
"37": [
"api_leave_fetchcreateleave",
"api_leave_fetchdeleteleave",
"api_leave_fetchleavedetail",
@@ -1465,7 +1467,7 @@
"api_leave_fetchupdateleave",
"api_leave_ts"
],
"37": [
"38": [
"api_qc_work_order_fetchconfigureqcworkorder",
"api_qc_work_order_fetchcreateqcworkorder",
"api_qc_work_order_fetchdeleteqcworkorder",
@@ -1474,7 +1476,7 @@
"api_qc_work_order_fetchupdateqcworkorder",
"api_qc_work_order_ts"
],
"38": [
"39": [
"utils_protocol_payment_labels_formatpaymentamount",
"utils_protocol_payment_labels_formatpaymentduedate",
"utils_protocol_payment_labels_ispaymentduewithinwarnwindow",
@@ -1482,7 +1484,7 @@
"utils_protocol_payment_labels_startoflocalday",
"utils_protocol_payment_labels_ts"
],
"39": [
"40": [
"components_business_production_task_view_dialog_index_vue",
"production_task_view_dialog_index_formatdateonly",
"production_task_view_dialog_index_productstatuslabel",
@@ -1490,7 +1492,7 @@
"production_task_view_dialog_index_taskstatuslabel",
"production_task_view_dialog_index_tasktypelabel"
],
"40": [
"41": [
"api_sample_reception_check_item_fetchcreatesamplereceptioncheckitem",
"api_sample_reception_check_item_fetchdeletesamplereceptioncheckitem",
"api_sample_reception_check_item_fetchsamplereceptioncheckitemlist",
@@ -1498,7 +1500,7 @@
"api_sample_reception_check_item_fetchupdatesamplereceptioncheckitem",
"api_sample_reception_check_item_ts"
],
"41": [
"42": [
"api_qc_third_party_item_fetchcreateqcthirdpartyitem",
"api_qc_third_party_item_fetchdeleteqcthirdpartyitem",
"api_qc_third_party_item_fetchqcthirdpartyitemlist",
@@ -1506,7 +1508,7 @@
"api_qc_third_party_item_fetchupdateqcthirdpartyitem",
"api_qc_third_party_item_ts"
],
"42": [
"43": [
"api_qc_third_party_company_fetchcreateqcthirdpartycompany",
"api_qc_third_party_company_fetchdeleteqcthirdpartycompany",
"api_qc_third_party_company_fetchqcthirdpartycompanylist",
@@ -1514,7 +1516,7 @@
"api_qc_third_party_company_fetchupdateqcthirdpartycompany",
"api_qc_third_party_company_ts"
],
"43": [
"44": [
"api_qc_lab_test_item_fetchcreateqclabtestitem",
"api_qc_lab_test_item_fetchdeleteqclabtestitem",
"api_qc_lab_test_item_fetchqclabtestitemlist",
@@ -1522,7 +1524,7 @@
"api_qc_lab_test_item_fetchupdateqclabtestitem",
"api_qc_lab_test_item_ts"
],
"44": [
"45": [
"production_work_order_usetaskstepeditor_fromapiflag",
"production_work_order_usetaskstepeditor_normalizestepsubtables",
"production_work_order_usetaskstepeditor_parseordernum",
@@ -1530,182 +1532,178 @@
"production_work_order_usetaskstepeditor_usetaskstepeditor",
"views_production_production_work_order_usetaskstepeditor_ts"
],
"45": [
"46": [
"art_global_search_index_focusinput",
"art_global_search_index_handlekeydown",
"art_global_search_index_if",
"art_global_search_index_search",
"components_core_layouts_art_global_search_index_vue"
],
"46": [
"47": [
"art_sidebar_menu_index_if",
"art_sidebar_menu_index_logsidebarmenu",
"components_core_layouts_art_menus_art_sidebar_menu_index_vue",
"components_core_layouts_art_menus_art_sidebar_menu_widget_sidebarsubmenu_vue"
],
"47": [
"48": [
"api_storage_entry_sms_notification_fetchgeneratestorageentrysms",
"api_storage_entry_sms_notification_fetchstorageentrysmslist",
"api_storage_entry_sms_notification_fetchtogglestorageentrysmsnotified",
"api_storage_entry_sms_notification_ts"
],
"48": [
"49": [
"api_sample_sms_notification_fetchgeneratesms",
"api_sample_sms_notification_fetchsamplesmsnotificationlist",
"api_sample_sms_notification_fetchtogglesmsnotified",
"api_sample_sms_notification_ts"
],
"49": [
"50": [
"config_setting_getsettingdefaults",
"config_setting_resettodefaults",
"config_setting_ts"
],
"50": [
"51": [
"config_modules_component_ts",
"modules_component_getenabledglobalcomponents",
"modules_component_getglobalcomponentbykey"
],
"51": [
"52": [
"utils_user_avatar_defaultavatarpathbyrole",
"utils_user_avatar_resolveuseravatarurl",
"utils_user_avatar_ts"
],
"52": [
"53": [
"utils_production_labels_productionconclusionlabel",
"utils_production_labels_productionconclusiontagtype",
"utils_production_labels_ts"
],
"53": [
"54": [
"form_responsive_calculateresponsivespan",
"form_responsive_createresponsivespancalculator",
"utils_form_responsive_ts"
],
"54": [
"55": [
"art_line_chart_index_clearanimationtimers",
"art_line_chart_index_if",
"components_core_charts_art_line_chart_index_vue"
],
"55": [
"56": [
"components_core_layouts_art_header_bar_index_vue",
"components_core_layouts_art_header_bar_widget_artusermenu_vue",
"widget_artusermenu_getrolename"
],
"56": [
"57": [
"art_text_scroll_index_handlecontentclick",
"art_text_scroll_index_measuresizes",
"components_core_text_effect_art_text_scroll_index_vue"
],
"57": [
"58": [
"components_business_order_operate_dialog_bridge_index_vue",
"order_operate_dialog_bridge_index_handlemessage",
"order_operate_dialog_bridge_index_postopen"
],
"58": [
"59": [
"core_uselayoutheight_useautolayoutheight",
"core_uselayoutheight_uselayoutheight",
"hooks_core_uselayoutheight_ts"
],
"59": [
"60": [
"channel_service_order_index_if",
"channel_service_order_index_validate",
"views_pilot_service_channel_service_order_index_vue"
],
"60": [
"61": [
"utils_sort_order_fetchnextsortorder",
"utils_sort_order_ts"
],
"61": [
"62": [
"utils_mask_sensitive_maskidcard",
"utils_mask_sensitive_ts"
],
"62": [
"63": [
"ui_ep_icon_map_resolveepicon",
"utils_ui_ep_icon_map_ts"
],
"63": [
"64": [
"ui_tabs_gettabconfig",
"utils_ui_tabs_ts"
],
"64": [
"65": [
"ui_loading_getloadingbackground",
"utils_ui_loading_ts"
],
"65": [
"66": [
"art_search_bar_index_if",
"components_core_forms_art_search_bar_index_vue"
],
"66": [
"67": [
"art_form_index_if",
"components_core_forms_art_form_index_vue"
],
"67": [
"68": [
"art_wang_editor_index_onsuccess",
"components_core_forms_art_wang_editor_index_vue"
],
"68": [
"69": [
"art_donut_chart_card_index_formatnumber",
"components_core_cards_art_donut_chart_card_index_vue"
],
"69": [
"70": [
"art_k_line_chart_index_getactualcolors",
"components_core_charts_art_k_line_chart_index_vue"
],
"70": [
"71": [
"art_bar_chart_index_creategradientcolor",
"components_core_charts_art_bar_chart_index_vue"
],
"71": [
"72": [
"art_h_bar_chart_index_creategradientcolor",
"components_core_charts_art_h_bar_chart_index_vue"
],
"72": [
"73": [
"art_basic_banner_index_generatemeteors",
"components_core_banners_art_basic_banner_index_vue"
],
"73": [
"74": [
"components_core_layouts_art_settings_panel_composables_usesettingsconfig_ts",
"composables_usesettingsconfig_usesettingsconfig"
],
"74": [
"75": [
"components_core_layouts_art_menus_art_horizontal_menu_index_vue",
"components_core_layouts_art_menus_art_horizontal_menu_widget_horizontalsubmenu_vue"
],
"75": [
"76": [
"components_business_protocol_finance_confirm_fields_finance_attachments_ts",
"protocol_finance_confirm_fields_finance_attachments_financeattachmentstourlstring"
],
"76": [
"77": [
"components_business_order_operate_local_dialog_index_vue",
"order_operate_local_dialog_index_handlemessage"
],
"77": [
"78": [
"components_business_product_view_dialog_index_vue",
"product_view_dialog_index_formatmeasureview"
],
"78": [
"79": [
"core_usefastenter_usefastenter",
"hooks_core_usefastenter_ts"
],
"79": [
"80": [
"core_useheaderbar_useheaderbar",
"hooks_core_useheaderbar_ts"
],
"80": [
"81": [
"designer_flowdesigner_createedge",
"views_system_workflow_designer_flowdesigner_vue"
],
"81": [
"82": [
"source_chain_chainlinkedge_handledblclick",
"views_production_cell_product_source_chain_chainlinkedge_vue"
],
"82": [
"83": [
"production_work_order_dispatchtaskdialog_if",
"views_production_production_work_order_dispatchtaskdialog_vue"
],
"83": [
"channel_service_order_serviceordertxndialog_if",
"views_pilot_service_channel_service_order_serviceordertxndialog_vue"
],
"84": [
"store_index_initstore",
"store_index_ts"
@@ -2191,54 +2189,57 @@
"views_pilot_service_channel_service_order_serviceordertxntable_vue"
],
"245": [
"views_pilot_service_cell_product_price_index_vue"
"views_pilot_service_channel_service_order_serviceordertxndialog_vue"
],
"246": [
"views_pilot_service_cell_product_spec_index_vue"
"views_pilot_service_cell_product_price_index_vue"
],
"247": [
"views_basic_info_cell_sample_type_index_vue"
"views_pilot_service_cell_product_spec_index_vue"
],
"248": [
"views_basic_info_insurance_company_index_vue"
"views_basic_info_cell_sample_type_index_vue"
],
"249": [
"assets_svg_loading_ts"
"views_basic_info_insurance_company_index_vue"
],
"250": [
"store_modules_worktab_ts"
"assets_svg_loading_ts"
],
"251": [
"store_modules_table_ts"
"store_modules_worktab_ts"
],
"252": [
"store_modules_menu_ts"
"store_modules_table_ts"
],
"253": [
"store_modules_setting_ts"
"store_modules_menu_ts"
],
"254": [
"store_modules_user_ts"
"store_modules_setting_ts"
],
"255": [
"router_routesalias_ts"
"store_modules_user_ts"
],
"256": [
"router_core_index_ts"
"router_routesalias_ts"
],
"257": [
"router_modules_sqxp_ts"
"router_core_index_ts"
],
"258": [
"router_modules_index_ts"
"router_modules_sqxp_ts"
],
"259": [
"router_modules_exception_ts"
"router_modules_index_ts"
],
"260": [
"router_routes_staticroutes_ts"
"router_modules_exception_ts"
],
"261": [
"router_routes_staticroutes_ts"
],
"262": [
"router_routes_asyncroutes_ts"
]
},
@@ -2246,7 +2247,7 @@
"0": 0.01,
"1": 0.03,
"2": 0.03,
"3": 0.03,
"3": 0.04,
"4": 0.03,
"5": 0.05,
"6": 0.06,
@@ -2259,7 +2260,7 @@
"13": 0.06,
"14": 0.07,
"15": 0.11,
"16": 0.11,
"16": 0.1,
"17": 0.12,
"18": 0.1,
"19": 0.14,
@@ -2278,24 +2279,24 @@
"32": 0.36,
"33": 0.25,
"34": 0.25,
"35": 0.33,
"36": 0.29,
"35": 0.32,
"36": 0.33,
"37": 0.29,
"38": 0.47,
"39": 0.33,
"38": 0.29,
"39": 0.47,
"40": 0.33,
"41": 0.33,
"42": 0.33,
"43": 0.33,
"44": 0.33,
"45": 0.5,
"46": 0.67,
"47": 0.5,
"45": 0.33,
"46": 0.5,
"47": 0.67,
"48": 0.5,
"49": 1.0,
"50": 0.67,
"51": 1.0,
"52": 0.67,
"49": 0.5,
"50": 1.0,
"51": 0.67,
"52": 1.0,
"53": 0.67,
"54": 0.67,
"55": 0.67,
@@ -2303,7 +2304,7 @@
"57": 0.67,
"58": 0.67,
"59": 0.67,
"60": 1.0,
"60": 0.67,
"61": 1.0,
"62": 1.0,
"63": 1.0,
@@ -2504,7 +2505,8 @@
"258": 1.0,
"259": 1.0,
"260": 1.0,
"261": 1.0
"261": 1.0,
"262": 1.0
},
"gods": [
{
@@ -2563,7 +2565,7 @@
"source": "handleBatchDelete()",
"target": "withFullscreenLoading()",
"source_files": [
"views/basic-info/collection-protocol-no/index.vue",
"views/system/site/index.vue",
"utils/fullscreen-loading.ts"
],
"confidence": "INFERRED",
@@ -2571,21 +2573,21 @@
"why": "inferred connection - not explicitly stated in source; connects across different repos/directories; bridges separate communities; peripheral node `handleBatchDelete()` unexpectedly reaches hub `withFullscreenLoading()`"
},
{
"source": "handleBatchRevoke()",
"source": "handleBatchDelete()",
"target": "withFullscreenLoading()",
"source_files": [
"views/basic-info/collection-protocol-no/index.vue",
"views/basic-info/customer/index.vue",
"utils/fullscreen-loading.ts"
],
"confidence": "INFERRED",
"relation": "calls",
"why": "inferred connection - not explicitly stated in source; connects across different repos/directories; bridges separate communities; peripheral node `handleBatchRevoke()` unexpectedly reaches hub `withFullscreenLoading()`"
"why": "inferred connection - not explicitly stated in source; connects across different repos/directories; bridges separate communities; peripheral node `handleBatchDelete()` unexpectedly reaches hub `withFullscreenLoading()`"
},
{
"source": "handleBatchDelete()",
"target": "withFullscreenLoading()",
"source_files": [
"views/basic-info/customer/index.vue",
"views/basic-info/collection-region/index.vue",
"utils/fullscreen-loading.ts"
],
"confidence": "INFERRED",
+77 -102
View File
@@ -8531,21 +8531,21 @@
"label": "removeAttachment()",
"file_type": "code",
"source_file": "views/cell-storage/fullmoon-todo/index.vue",
"source_location": "L1107"
"source_location": "L1100"
},
{
"id": "fullmoon_todo_index_handlepreviewattachment",
"label": "handlePreviewAttachment()",
"file_type": "code",
"source_file": "views/cell-storage/fullmoon-todo/index.vue",
"source_location": "L1115"
"source_location": "L1108"
},
{
"id": "fullmoon_todo_index_handledownloadattachment",
"label": "handleDownloadAttachment()",
"file_type": "code",
"source_file": "views/cell-storage/fullmoon-todo/index.vue",
"source_location": "L1121"
"source_location": "L1114"
},
{
"id": "views_cell_storage_storage_entry_info_index_vue",
@@ -9161,7 +9161,7 @@
"label": "catch()",
"file_type": "code",
"source_file": "views/system/category/index.vue",
"source_location": "L969"
"source_location": "L964"
},
{
"id": "views_system_express_index_vue",
@@ -9357,7 +9357,7 @@
"label": "revokeLocalPreview()",
"file_type": "code",
"source_file": "views/system/product/index.vue",
"source_location": "L2278"
"source_location": "L2259"
},
{
"id": "views_system_workflow_my_applications_index_vue",
@@ -10288,14 +10288,14 @@
"label": "resetForm()",
"file_type": "code",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L262"
"source_location": "L258"
},
{
"id": "storage_release_review_storagereleasereviewdialog_handlesubmit",
"label": "handleSubmit()",
"file_type": "code",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L271"
"source_location": "L267"
},
{
"id": "views_quality_inspection_storage_release_review_storagereleaseviewdialog_vue",
@@ -10430,13 +10430,6 @@
"source_file": "views/pilot-service/channel-service-order/ServiceOrderTxnDialog.vue",
"source_location": "L1"
},
{
"id": "channel_service_order_serviceordertxndialog_if",
"label": "if()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order/ServiceOrderTxnDialog.vue",
"source_location": "L519"
},
{
"id": "views_pilot_service_channel_index_vue",
"label": "index.vue",
@@ -10652,133 +10645,133 @@
"label": "txnAmountLabel()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L446"
"source_location": "L474"
},
{
"id": "channel_service_order_finance_index_financesubmitremarkdisplay",
"label": "financeSubmitRemarkDisplay()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L454"
"source_location": "L482"
},
{
"id": "channel_service_order_finance_index_fullfileurl",
"label": "fullFileUrl()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L460"
"source_location": "L488"
},
{
"id": "channel_service_order_finance_index_isimagefile",
"label": "isImageFile()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L467"
"source_location": "L495"
},
{
"id": "channel_service_order_finance_index_isvideofile",
"label": "isVideoFile()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L477"
"source_location": "L505"
},
{
"id": "channel_service_order_finance_index_formatlocaldate",
"label": "formatLocalDate()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L497"
"source_location": "L525"
},
{
"id": "channel_service_order_finance_index_loaddata",
"label": "loadData()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L528"
"source_location": "L556"
},
{
"id": "channel_service_order_finance_index_handlesearch",
"label": "handleSearch()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L553"
"source_location": "L583"
},
{
"id": "channel_service_order_finance_index_handlereset",
"label": "handleReset()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L558"
"source_location": "L588"
},
{
"id": "channel_service_order_finance_index_handletabchange",
"label": "handleTabChange()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L567"
"source_location": "L597"
},
{
"id": "channel_service_order_finance_index_handleview",
"label": "handleView()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L669"
"source_location": "L723"
},
{
"id": "channel_service_order_finance_index_openconfirmdialog",
"label": "openConfirmDialog()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L698"
"source_location": "L752"
},
{
"id": "channel_service_order_finance_index_handlevoidtxn",
"label": "handleVoidTxn()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L705"
"source_location": "L759"
},
{
"id": "channel_service_order_finance_index_submitconfirm",
"label": "submitConfirm()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L723"
"source_location": "L777"
},
{
"id": "channel_service_order_finance_index_executesubmitconfirm",
"label": "executeSubmitConfirm()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L732"
"source_location": "L786"
},
{
"id": "channel_service_order_finance_index_handleconfirmattachmentchange",
"label": "handleConfirmAttachmentChange()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L755"
"source_location": "L809"
},
{
"id": "channel_service_order_finance_index_hasuploadingattachments",
"label": "hasUploadingAttachments()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L801"
"source_location": "L849"
},
{
"id": "channel_service_order_finance_index_handlepreviewattachment",
"label": "handlePreviewAttachment()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L812"
"source_location": "L860"
},
{
"id": "channel_service_order_finance_index_handledownloadattachment",
"label": "handleDownloadAttachment()",
"file_type": "code",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L819"
"source_location": "L867"
},
{
"id": "views_pilot_service_project_price_system_index_vue",
@@ -25779,7 +25772,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/cell-storage/fullmoon-todo/index.vue",
"source_location": "L1107",
"source_location": "L1100",
"weight": 1.0
},
{
@@ -25788,7 +25781,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/cell-storage/fullmoon-todo/index.vue",
"source_location": "L1115",
"source_location": "L1108",
"weight": 1.0
},
{
@@ -25797,7 +25790,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/cell-storage/fullmoon-todo/index.vue",
"source_location": "L1121",
"source_location": "L1114",
"weight": 1.0
},
{
@@ -25923,7 +25916,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "views/cell-storage/fullmoon-todo/index.vue",
"source_location": "L1117",
"source_location": "L1110",
"weight": 1.0
},
{
@@ -27183,7 +27176,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/system/category/index.vue",
"source_location": "L969",
"source_location": "L964",
"weight": 1.0
},
{
@@ -27525,7 +27518,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/system/product/index.vue",
"source_location": "L2278",
"source_location": "L2259",
"weight": 1.0
},
{
@@ -28920,7 +28913,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L262",
"source_location": "L258",
"weight": 1.0
},
{
@@ -28929,7 +28922,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L271",
"source_location": "L267",
"weight": 1.0
},
{
@@ -29022,24 +29015,6 @@
"source_location": "L1302",
"weight": 1.0
},
{
"source": "views_pilot_service_channel_service_order_serviceordertxndialog_vue",
"target": "channel_service_order_serviceordertxndialog_if",
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order/ServiceOrderTxnDialog.vue",
"source_location": "L519",
"weight": 1.0
},
{
"source": "views_pilot_service_channel_service_order_serviceordertxndialog_vue",
"target": "channel_service_order_serviceordertxndialog_if",
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order/ServiceOrderTxnDialog.vue",
"source_location": "L526",
"weight": 1.0
},
{
"source": "views_pilot_service_channel_index_vue",
"target": "element_plus",
@@ -29505,7 +29480,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L446",
"source_location": "L474",
"weight": 1.0
},
{
@@ -29514,7 +29489,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L454",
"source_location": "L482",
"weight": 1.0
},
{
@@ -29523,7 +29498,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L460",
"source_location": "L488",
"weight": 1.0
},
{
@@ -29532,7 +29507,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L467",
"source_location": "L495",
"weight": 1.0
},
{
@@ -29541,7 +29516,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L477",
"source_location": "L505",
"weight": 1.0
},
{
@@ -29550,7 +29525,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L497",
"source_location": "L525",
"weight": 1.0
},
{
@@ -29559,7 +29534,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L528",
"source_location": "L556",
"weight": 1.0
},
{
@@ -29568,7 +29543,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L553",
"source_location": "L583",
"weight": 1.0
},
{
@@ -29577,7 +29552,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L558",
"source_location": "L588",
"weight": 1.0
},
{
@@ -29586,7 +29561,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L567",
"source_location": "L597",
"weight": 1.0
},
{
@@ -29595,7 +29570,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L669",
"source_location": "L723",
"weight": 1.0
},
{
@@ -29604,7 +29579,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L698",
"source_location": "L752",
"weight": 1.0
},
{
@@ -29613,7 +29588,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L705",
"source_location": "L759",
"weight": 1.0
},
{
@@ -29622,7 +29597,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L723",
"source_location": "L777",
"weight": 1.0
},
{
@@ -29631,7 +29606,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L732",
"source_location": "L786",
"weight": 1.0
},
{
@@ -29640,7 +29615,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L755",
"source_location": "L809",
"weight": 1.0
},
{
@@ -29649,7 +29624,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L801",
"source_location": "L849",
"weight": 1.0
},
{
@@ -29658,7 +29633,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L812",
"source_location": "L860",
"weight": 1.0
},
{
@@ -29667,7 +29642,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L819",
"source_location": "L867",
"weight": 1.0
},
{
@@ -29676,7 +29651,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L555",
"source_location": "L585",
"weight": 1.0
},
{
@@ -29685,7 +29660,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L564",
"source_location": "L594",
"weight": 1.0
},
{
@@ -29694,7 +29669,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L573",
"source_location": "L603",
"weight": 1.0
},
{
@@ -29703,7 +29678,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L715",
"source_location": "L769",
"weight": 1.0
},
{
@@ -29712,7 +29687,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L725",
"source_location": "L779",
"weight": 1.0
},
{
@@ -29721,7 +29696,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L747",
"source_location": "L801",
"weight": 1.0
},
{
@@ -29730,7 +29705,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L814",
"source_location": "L862",
"weight": 1.0
},
{
@@ -29739,7 +29714,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L815",
"source_location": "L863",
"weight": 1.0
},
{
@@ -35689,7 +35664,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/cell-storage/fullmoon-todo/index.vue",
"source_location": "L1073",
"source_location": "L1066",
"weight": 1.0
},
{
@@ -35699,7 +35674,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/cell-storage/fullmoon-todo/index.vue",
"source_location": "L1088",
"source_location": "L1081",
"weight": 1.0
},
{
@@ -35709,7 +35684,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/cell-storage/fullmoon-todo/index.vue",
"source_location": "L1122",
"source_location": "L1115",
"weight": 1.0
},
{
@@ -36209,7 +36184,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/system/product/index.vue",
"source_location": "L2281",
"source_location": "L2262",
"weight": 1.0
},
{
@@ -36539,7 +36514,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L272",
"source_location": "L268",
"weight": 1.0
},
{
@@ -36549,7 +36524,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L272",
"source_location": "L268",
"weight": 1.0
},
{
@@ -36559,7 +36534,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L289",
"source_location": "L285",
"weight": 1.0
},
{
@@ -36569,7 +36544,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L292",
"source_location": "L288",
"weight": 1.0
},
{
@@ -36579,7 +36554,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue",
"source_location": "L300",
"source_location": "L296",
"weight": 1.0
},
{
@@ -36769,7 +36744,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L543",
"source_location": "L573",
"weight": 1.0
},
{
@@ -36779,7 +36754,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L673",
"source_location": "L727",
"weight": 1.0
},
{
@@ -36789,7 +36764,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L708",
"source_location": "L762",
"weight": 1.0
},
{
@@ -36799,7 +36774,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L743",
"source_location": "L797",
"weight": 1.0
},
{
@@ -36809,7 +36784,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L766",
"source_location": "L814",
"weight": 1.0
},
{
@@ -36819,7 +36794,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L780",
"source_location": "L828",
"weight": 1.0
},
{
@@ -36829,7 +36804,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/pilot-service/channel-service-order-finance/index.vue",
"source_location": "L820",
"source_location": "L868",
"weight": 1.0
},
{
+48 -43
View File
@@ -1,10 +1,10 @@
# Graph Report - src (2026-05-25)
## Corpus Check
- Large corpus: 616 files · ~355,459 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
- Large corpus: 616 files · ~355,733 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
## Summary
- 1717 nodes · 2195 edges · 46 communities detected
- 1716 nodes · 2194 edges · 47 communities detected
- Extraction: 78% EXTRACTED · 22% INFERRED · 0% AMBIGUOUS · INFERRED: 490 edges (avg confidence: 0.8)
- Token cost: 0 input · 0 output
@@ -45,16 +45,17 @@
- [[_COMMUNITY_Community 36|Community 36]]
- [[_COMMUNITY_Community 37|Community 37]]
- [[_COMMUNITY_Community 38|Community 38]]
- [[_COMMUNITY_Community 40|Community 40]]
- [[_COMMUNITY_Community 39|Community 39]]
- [[_COMMUNITY_Community 41|Community 41]]
- [[_COMMUNITY_Community 42|Community 42]]
- [[_COMMUNITY_Community 43|Community 43]]
- [[_COMMUNITY_Community 45|Community 45]]
- [[_COMMUNITY_Community 44|Community 44]]
- [[_COMMUNITY_Community 46|Community 46]]
- [[_COMMUNITY_Community 47|Community 47]]
- [[_COMMUNITY_Community 48|Community 48]]
- [[_COMMUNITY_Community 49|Community 49]]
- [[_COMMUNITY_Community 51|Community 51]]
- [[_COMMUNITY_Community 50|Community 50]]
- [[_COMMUNITY_Community 52|Community 52]]
## God Nodes (most connected - your core abstractions)
1. `get()` - 182 edges
@@ -70,11 +71,11 @@
## Surprising Connections (you probably didn't know these)
- `handleBatchDelete()` --calls--> `withFullscreenLoading()` [INFERRED]
views/basic-info/collection-protocol-no/index.vue → utils/fullscreen-loading.ts
- `handleBatchRevoke()` --calls--> `withFullscreenLoading()` [INFERRED]
views/basic-info/collection-protocol-no/index.vue → utils/fullscreen-loading.ts
views/system/site/index.vue → utils/fullscreen-loading.ts
- `handleBatchDelete()` --calls--> `withFullscreenLoading()` [INFERRED]
views/basic-info/customer/index.vue → utils/fullscreen-loading.ts
- `handleBatchDelete()` --calls--> `withFullscreenLoading()` [INFERRED]
views/basic-info/collection-region/index.vue → utils/fullscreen-loading.ts
- `subscribeTokenRefresh()` --calls--> `push()` [INFERRED]
utils/http/index.ts → views/operations/storage-facility/index.vue
- `handleUnauthorizedResponse()` --calls--> `fetchRefreshToken()` [INFERRED]
@@ -88,15 +89,15 @@ Nodes (86): fetchActiveRegions(), fetchCategoryList(), fetchCategoryParameters()
### Community 1 - "Community 1"
Cohesion: 0.03
Nodes (60): fetchBatchGenerateSampleCodes(), fetchBatchIssueSampleCodes(), fetchCollectionRegionList(), fetchCreateCollectionRegion(), fetchCreateHospital(), fetchCreateSampleCode(), fetchDeleteCollectionRegion(), fetchDeleteHospital() (+52 more)
Nodes (60): fetchBatchGenerateProtocolNos(), fetchBatchGenerateSampleCodes(), fetchBatchIssueProtocolNos(), fetchBatchIssueSampleCodes(), fetchCollectionProtocolNoList(), fetchCreateCollectionProtocolNo(), fetchCreateSampleCode(), fetchDeleteCollectionProtocolNo() (+52 more)
### Community 2 - "Community 2"
Cohesion: 0.03
Nodes (39): fetchGetMenuList(), fetchGetMenuCodes(), fetchGetUserInfo(), fetchLogin(), fetchRefreshToken(), clickTab(), handleTouchEnd(), setTransition() (+31 more)
### Community 3 - "Community 3"
Cohesion: 0.03
Nodes (45): fetchDeptTree(), fetchPostBoundUserIds(), fetchUploadAttachment(), FireworkSystem, reload(), handleConfirmAttachmentChange(), loadDeptData(), onPersonSelectChange() (+37 more)
Cohesion: 0.04
Nodes (43): fetchDeptTree(), fetchPostBoundUserIds(), fetchUploadAttachment(), FireworkSystem, reload(), handleConfirmAttachmentChange(), formatUserLabel(), loadDeptData() (+35 more)
### Community 4 - "Community 4"
Cohesion: 0.03
@@ -147,8 +148,8 @@ Cohesion: 0.11
Nodes (26): toLogin(), base64ToBytes(), bytesToBase64(), decryptJson(), deriveKey(), encryptJson(), fromBase64Url(), hexToBytes() (+18 more)
### Community 16 - "Community 16"
Cohesion: 0.11
Nodes (20): fetchBatchGenerateProtocolNos(), fetchBatchIssueProtocolNos(), fetchCollectionProtocolNoList(), fetchCreateCollectionProtocolNo(), fetchDeleteCollectionProtocolNo(), fetchUpdateCollectionProtocolNo(), handleAdd(), handleBatchDelete() (+12 more)
Cohesion: 0.1
Nodes (19): fetchCollectionRegionList(), fetchCreateCollectionRegion(), fetchCreateHospital(), fetchDeleteCollectionRegion(), fetchDeleteHospital(), fetchHospitalList(), fetchUpdateCollectionRegion(), fetchUpdateHospital() (+11 more)
### Community 17 - "Community 17"
Cohesion: 0.12
@@ -211,58 +212,62 @@ Cohesion: 0.25
Nodes (2): fetchQcTaskDetail(), fetchQcTaskList()
### Community 35 - "Community 35"
Cohesion: 0.32
Nodes (3): annotateForkEdges(), chainApiToElements(), nextAncestorLink()
### Community 36 - "Community 36"
Cohesion: 0.33
Nodes (2): logApiCryptoBootInfo(), maskSecret()
### Community 36 - "Community 36"
### Community 37 - "Community 37"
Cohesion: 0.29
Nodes (2): fetchLeaveDetail(), fetchLeaveList()
### Community 37 - "Community 37"
### Community 38 - "Community 38"
Cohesion: 0.29
Nodes (2): fetchQcWorkOrderDetail(), fetchQcWorkOrderList()
### Community 38 - "Community 38"
### Community 39 - "Community 39"
Cohesion: 0.47
Nodes (3): isPaymentDueWithinWarnWindow(), parsePaymentDueYmd(), startOfLocalDay()
### Community 40 - "Community 40"
### Community 41 - "Community 41"
Cohesion: 0.33
Nodes (2): fetchSampleReceptionCheckItemList(), fetchSampleReceptionCheckItemsActive()
### Community 41 - "Community 41"
### Community 42 - "Community 42"
Cohesion: 0.33
Nodes (2): fetchQcThirdPartyItemList(), fetchQcThirdPartyItemsActive()
### Community 42 - "Community 42"
### Community 43 - "Community 43"
Cohesion: 0.33
Nodes (2): fetchQcThirdPartyCompanyList(), fetchQcThirdPartyCompanyOptions()
### Community 43 - "Community 43"
### Community 44 - "Community 44"
Cohesion: 0.33
Nodes (2): fetchQcLabTestItemList(), fetchQcLabTestItemsActive()
### Community 45 - "Community 45"
### Community 46 - "Community 46"
Cohesion: 0.5
Nodes (2): focusInput(), handleKeydown()
### Community 46 - "Community 46"
### Community 47 - "Community 47"
Cohesion: 0.67
Nodes (2): if(), logSidebarMenu()
### Community 47 - "Community 47"
### Community 48 - "Community 48"
Cohesion: 0.5
Nodes (1): fetchStorageEntrySmsList()
### Community 48 - "Community 48"
### Community 49 - "Community 49"
Cohesion: 0.5
Nodes (1): fetchSampleSmsNotificationList()
### Community 49 - "Community 49"
### Community 50 - "Community 50"
Cohesion: 1.0
Nodes (2): getSettingDefaults(), resetToDefaults()
### Community 51 - "Community 51"
### Community 52 - "Community 52"
Cohesion: 1.0
Nodes (2): defaultAvatarPathByRole(), resolveUserAvatarUrl()
@@ -275,42 +280,42 @@ Nodes (2): defaultAvatarPathByRole(), resolveUserAvatarUrl()
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 34`** (8 nodes): `fetchCompleteQcTask()`, `fetchCreateQcTask()`, `fetchDeleteQcTask()`, `fetchQcTaskDetail()`, `fetchQcTaskList()`, `fetchStartQcTask()`, `fetchUpdateQcTaskAttachments()`, `qc-task.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 35`** (7 nodes): `App.vue`, `main.ts`, `refreshButtonAutoIcons()`, `refreshPanelTitleIcons()`, `logApiCryptoBootInfo()`, `maskSecret()`, `console.ts`
- **Thin community `Community 36`** (7 nodes): `App.vue`, `main.ts`, `refreshButtonAutoIcons()`, `refreshPanelTitleIcons()`, `logApiCryptoBootInfo()`, `maskSecret()`, `console.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 36`** (7 nodes): `fetchCreateLeave()`, `fetchDeleteLeave()`, `fetchLeaveDetail()`, `fetchLeaveList()`, `fetchSubmitLeave()`, `fetchUpdateLeave()`, `leave.ts`
- **Thin community `Community 37`** (7 nodes): `fetchCreateLeave()`, `fetchDeleteLeave()`, `fetchLeaveDetail()`, `fetchLeaveList()`, `fetchSubmitLeave()`, `fetchUpdateLeave()`, `leave.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 37`** (7 nodes): `fetchConfigureQcWorkOrder()`, `fetchCreateQcWorkOrder()`, `fetchDeleteQcWorkOrder()`, `fetchQcWorkOrderDetail()`, `fetchQcWorkOrderList()`, `fetchUpdateQcWorkOrder()`, `qc-work-order.ts`
- **Thin community `Community 38`** (7 nodes): `fetchConfigureQcWorkOrder()`, `fetchCreateQcWorkOrder()`, `fetchDeleteQcWorkOrder()`, `fetchQcWorkOrderDetail()`, `fetchQcWorkOrderList()`, `fetchUpdateQcWorkOrder()`, `qc-work-order.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 40`** (6 nodes): `fetchCreateSampleReceptionCheckItem()`, `fetchDeleteSampleReceptionCheckItem()`, `fetchSampleReceptionCheckItemList()`, `fetchSampleReceptionCheckItemsActive()`, `fetchUpdateSampleReceptionCheckItem()`, `sample-reception-check-item.ts`
- **Thin community `Community 41`** (6 nodes): `fetchCreateSampleReceptionCheckItem()`, `fetchDeleteSampleReceptionCheckItem()`, `fetchSampleReceptionCheckItemList()`, `fetchSampleReceptionCheckItemsActive()`, `fetchUpdateSampleReceptionCheckItem()`, `sample-reception-check-item.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 41`** (6 nodes): `fetchCreateQcThirdPartyItem()`, `fetchDeleteQcThirdPartyItem()`, `fetchQcThirdPartyItemList()`, `fetchQcThirdPartyItemsActive()`, `fetchUpdateQcThirdPartyItem()`, `qc-third-party-item.ts`
- **Thin community `Community 42`** (6 nodes): `fetchCreateQcThirdPartyItem()`, `fetchDeleteQcThirdPartyItem()`, `fetchQcThirdPartyItemList()`, `fetchQcThirdPartyItemsActive()`, `fetchUpdateQcThirdPartyItem()`, `qc-third-party-item.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 42`** (6 nodes): `fetchCreateQcThirdPartyCompany()`, `fetchDeleteQcThirdPartyCompany()`, `fetchQcThirdPartyCompanyList()`, `fetchQcThirdPartyCompanyOptions()`, `fetchUpdateQcThirdPartyCompany()`, `qc-third-party-company.ts`
- **Thin community `Community 43`** (6 nodes): `fetchCreateQcThirdPartyCompany()`, `fetchDeleteQcThirdPartyCompany()`, `fetchQcThirdPartyCompanyList()`, `fetchQcThirdPartyCompanyOptions()`, `fetchUpdateQcThirdPartyCompany()`, `qc-third-party-company.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 43`** (6 nodes): `fetchCreateQcLabTestItem()`, `fetchDeleteQcLabTestItem()`, `fetchQcLabTestItemList()`, `fetchQcLabTestItemsActive()`, `fetchUpdateQcLabTestItem()`, `qc-lab-test-item.ts`
- **Thin community `Community 44`** (6 nodes): `fetchCreateQcLabTestItem()`, `fetchDeleteQcLabTestItem()`, `fetchQcLabTestItemList()`, `fetchQcLabTestItemsActive()`, `fetchUpdateQcLabTestItem()`, `qc-lab-test-item.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 45`** (5 nodes): `focusInput()`, `handleKeydown()`, `if()`, `search()`, `index.vue`
- **Thin community `Community 46`** (5 nodes): `focusInput()`, `handleKeydown()`, `if()`, `search()`, `index.vue`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 46`** (4 nodes): `if()`, `logSidebarMenu()`, `index.vue`, `SidebarSubmenu.vue`
- **Thin community `Community 47`** (4 nodes): `if()`, `logSidebarMenu()`, `index.vue`, `SidebarSubmenu.vue`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 47`** (4 nodes): `fetchGenerateStorageEntrySms()`, `fetchStorageEntrySmsList()`, `fetchToggleStorageEntrySmsNotified()`, `storage-entry-sms-notification.ts`
- **Thin community `Community 48`** (4 nodes): `fetchGenerateStorageEntrySms()`, `fetchStorageEntrySmsList()`, `fetchToggleStorageEntrySmsNotified()`, `storage-entry-sms-notification.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 48`** (4 nodes): `fetchGenerateSms()`, `fetchSampleSmsNotificationList()`, `fetchToggleSmsNotified()`, `sample-sms-notification.ts`
- **Thin community `Community 49`** (4 nodes): `fetchGenerateSms()`, `fetchSampleSmsNotificationList()`, `fetchToggleSmsNotified()`, `sample-sms-notification.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 49`** (3 nodes): `getSettingDefaults()`, `resetToDefaults()`, `setting.ts`
- **Thin community `Community 50`** (3 nodes): `getSettingDefaults()`, `resetToDefaults()`, `setting.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 51`** (3 nodes): `defaultAvatarPathByRole()`, `resolveUserAvatarUrl()`, `user-avatar.ts`
- **Thin community `Community 52`** (3 nodes): `defaultAvatarPathByRole()`, `resolveUserAvatarUrl()`, `user-avatar.ts`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
## Suggested Questions
_Questions this graph is uniquely positioned to answer:_
- **Why does `get()` connect `Community 0` to `Community 1`, `Community 2`, `Community 3`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 9`, `Community 12`, `Community 13`, `Community 14`, `Community 16`, `Community 18`, `Community 19`, `Community 20`, `Community 21`, `Community 24`, `Community 27`, `Community 28`, `Community 29`, `Community 33`, `Community 34`, `Community 36`, `Community 37`, `Community 40`, `Community 41`, `Community 42`, `Community 43`, `Community 47`, `Community 48`?**
_High betweenness centrality (0.256) - this node is a cross-community bridge._
- **Why does `get()` connect `Community 0` to `Community 1`, `Community 2`, `Community 3`, `Community 4`, `Community 5`, `Community 6`, `Community 7`, `Community 9`, `Community 12`, `Community 13`, `Community 14`, `Community 16`, `Community 18`, `Community 19`, `Community 20`, `Community 21`, `Community 24`, `Community 27`, `Community 28`, `Community 29`, `Community 33`, `Community 34`, `Community 35`, `Community 37`, `Community 38`, `Community 41`, `Community 42`, `Community 43`, `Community 44`, `Community 48`, `Community 49`?**
_High betweenness centrality (0.254) - this node is a cross-community bridge._
- **Why does `push()` connect `Community 3` to `Community 0`, `Community 5`, `Community 6`, `Community 7`, `Community 8`, `Community 9`, `Community 10`, `Community 12`, `Community 15`?**
_High betweenness centrality (0.141) - this node is a cross-community bridge._
_High betweenness centrality (0.129) - this node is a cross-community bridge._
- **Why does `handleDynamicRoutes()` connect `Community 2` to `Community 10`?**
_High betweenness centrality (0.054) - this node is a cross-community bridge._
_High betweenness centrality (0.060) - this node is a cross-community bridge._
- **Are the 181 inferred relationships involving `get()` (e.g. with `collectLeafFacilityNodesInTreeOrder()` and `buildTreePathLabelFromFlat()`) actually correct?**
_`get()` has 181 INFERRED edges - model-reasoned connections that need verification._
- **Are the 27 inferred relationships involving `push()` (e.g. with `collectLeafFacilityNodesInTreeOrder()` and `fetchAllPagedRecords()`) actually correct?**
+4 -4
View File
@@ -57,12 +57,12 @@
</div>
<div id="legend"></div>
</div>
<div id="stats">1717 nodes &middot; 2195 edges &middot; 262 communities</div>
<div id="stats">1716 nodes &middot; 2194 edges &middot; 263 communities</div>
</div>
<script>
const RAW_NODES = [{"id": "app_vue", "label": "App.vue", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "App.vue", "community": 35, "community_name": "Community 35", "source_file": "App.vue", "file_type": "code", "degree": 3}, {"id": "src_app_refreshbuttonautoicons", "label": "refreshButtonAutoIcons()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshButtonAutoIcons()", "community": 35, "community_name": "Community 35", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "src_app_refreshpaneltitleicons", "label": "refreshPanelTitleIcons()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshPanelTitleIcons()", "community": 35, "community_name": "Community 35", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "main_ts", "label": "main.ts", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "main.ts", "community": 35, "community_name": "Community 35", "source_file": "main.ts", "file_type": "code", "degree": 4}, {"id": "src_main_masksecret", "label": "maskSecret()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "maskSecret()", "community": 35, "community_name": "Community 35", "source_file": "main.ts", "file_type": "code", "degree": 2}, {"id": "src_main_logapicryptobootinfo", "label": "logApiCryptoBootInfo()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "logApiCryptoBootInfo()", "community": 35, "community_name": "Community 35", "source_file": "main.ts", "file_type": "code", "degree": 2}, {"id": "env_d_ts", "label": "env.d.ts", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "env.d.ts", "community": 85, "community_name": "Community 85", "source_file": "env.d.ts", "file_type": "code", "degree": 0}, {"id": "shims_loose_d_ts", "label": "shims-loose.d.ts", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "shims-loose.d.ts", "community": 86, "community_name": "Community 86", "source_file": "shims-loose.d.ts", "file_type": "code", "degree": 0}, {"id": "directives_index_ts", "label": "index.ts", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "index.ts", "community": 17, "community_name": "Community 17", "source_file": "directives/index.ts", "file_type": "code", "degree": 1}, {"id": "directives_index_setupglobdirectives", "label": "setupGlobDirectives()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.5, "font": {"size": 0, "color": "#ffffff"}, "title": "setupGlobDirectives()", "community": 17, "community_name": "Community 17", "source_file": "directives/index.ts", "file_type": "code", "degree": 5}, {"id": "directives_core_roles_ts", "label": "roles.ts", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "roles.ts", "community": 17, "community_name": "Community 17", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 3}, {"id": "core_roles_checkrolepermission", "label": "checkRolePermission()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "checkRolePermission()", "community": 17, "community_name": "Community 17", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 2}, {"id": "core_roles_removeelement", "label": "removeElement()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "removeElement()", "community": 17, "community_name": "Community 17", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 2}, {"id": "core_roles_setuprolesdirective", "laLine truncated
const RAW_EDGES = [{"from": "app_vue", "to": "src_app_refreshbuttonautoicons", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_vue", "to": "src_app_refreshpaneltitleicons", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_vue", "to": "main_ts", "label": "imports_from", "title": "imports_from [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_ts", "to": "utils_sys_console_ts", "label": "imports_from", "title": "imports_from [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_ts", "to": "src_main_masksecret", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_ts", "to": "src_main_logapicryptobootinfo", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_main_masksecret", "to": "src_main_logapicryptobootinfo", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_index_ts", "to": "directives_index_setupglobdirectives", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_index_setupglobdirectives", "to": "core_auth_setupauthdirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_index_setupglobdirectives", "to": "core_roles_setuprolesdirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_index_setupglobdirectives", "to": "business_highlight_setuphighlightdirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_index_setupglobdirectives", "to": "business_ripple_setuprippledirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_core_roles_ts", "to": "core_roles_checkrolepermission", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_roles_ts", "to": "core_roles_removeelement", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_roles_ts", "to": "core_roles_setuprolesdirective", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_roles_checkrolepermission", "to": "core_roles_removeelement", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_auth_ts", "to": "core_auth_checkauthpermission", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_auth_ts", "to": "core_auth_removeelement", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_auth_ts", "to": "core_auth_setupauthdirective", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_checkauthpermission", "to": "core_auth_removeelement", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_ripple_ts", "to": "business_ripple_setuprippledirective", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_highlight_ts", "to": "business_highlight_highlightcode", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_highlight_ts", "to": "business_highlight_insertlinenumbers", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_highlight_ts", "to": "business_highlight_addcopybutton", "label": "contains", "title": "contains [EXTRACTED]", "dLine truncated
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "Community 0", "count": 259}, {"cid": 1, "color": "#F28E2B", "label": "Community 1", "count": 108}, {"cid": 2, "color": "#E15759", "label": "Community 2", "count": 96}, {"cid": 3, "color": "#76B7B2", "label": "Community 3", "count": 80}, {"cid": 4, "color": "#59A14F", "label": "Community 4", "count": 65}, {"cid": 5, "color": "#EDC948", "label": "Community 5", "count": 56}, {"cid": 6, "color": "#B07AA1", "label": "Community 6", "count": 55}, {"cid": 7, "color": "#FF9DA7", "label": "Community 7", "count": 52}, {"cid": 8, "color": "#9C755F", "label": "Community 8", "count": 51}, {"cid": 9, "color": "#BAB0AC", "label": "Community 9", "count": 45}, {"cid": 10, "color": "#4E79A7", "label": "Community 10", "count": 42}, {"cid": 11, "color": "#F28E2B", "label": "Community 11", "count": 41}, {"cid": 12, "color": "#E15759", "label": "Community 12", "count": 40}, {"cid": 13, "color": "#76B7B2", "label": "Community 13", "count": 39}, {"cid": 14, "color": "#59A14F", "label": "Community 14", "count": 35}, {"cid": 15, "color": "#EDC948", "label": "Community 15", "count": 31}, {"cid": 16, "color": "#B07AA1", "label": "Community 16", "count": 25}, {"cid": 17, "color": "#FF9DA7", "label": "Community 17", "count": 22}, {"cid": 18, "color": "#9C755F", "label": "Community 18", "count": 22}, {"cid": 19, "color": "#BAB0AC", "label": "Community 19", "count": 20}, {"cid": 20, "color": "#4E79A7", "label": "Community 20", "count": 20}, {"cid": 21, "color": "#F28E2B", "label": "Community 21", "count": 19}, {"cid": 22, "color": "#E15759", "label": "Community 22", "count": 17}, {"cid": 23, "color": "#76B7B2", "label": "Community 23", "count": 17}, {"cid": 24, "color": "#59A14F", "label": "Community 24", "count": 17}, {"cid": 25, "color": "#EDC948", "label": "Community 25", "count": 16}, {"cid": 26, "color": "#B07AA1", "label": "Community 26", "count": 13}, {"cid": 27, "color": "#FF9DA7", "label": "Community 27", "count": 12}, {"cid": 28, "color": "#9C755F", "label": "Community 28", "count": 11}, {"cid": 29, "color": "#BAB0AC", "label": "Community 29", "count": 10}, {"cid": 30, "color": "#4E79A7", "label": "Community 30", "count": 9}, {"cid": 31, "color": "#F28E2B", "label": "Community 31", "count": 8}, {"cid": 32, "color": "#E15759", "label": "Community 32", "count": 8}, {"cid": 33, "color": "#76B7B2", "label": "Community 33", "count": 8}, {"cid": 34, "color": "#59A14F", "label": "Community 34", "count": 8}, {"cid": 35, "color": "#EDC948", "label": "Community 35", "count": 7}, {"cid": 36, "color": "#B07AA1", "label": "Community 36", "count": 7}, {"cid": 37, "color": "#FF9DA7", "label": "Community 37", "count": 7}, {"cid": 38, "color": "#9C755F", "label": "Community 38", "count": 6}, {"cid": 39, "color": "#BAB0AC", "label": "Community 39", "count": 6}, {"cid": 40, "color": "#4E79A7", "label": "Community 40", "count": 6}, {"cid": 41, "color": "#F28E2B", "label": "Community 41", "count": 6}, {"cid": 42, "color": "#E15759", "label": "Community 42", "count": 6}, {"cid": 43, "color": "#76B7B2", "label": "Community 43", "count": 6}, {"cid": 44, "color": "#59A14F", "label": "Community 44", "count": 6}, {"cid": 45, "color": "#EDC948", "label": "Community 45", "count": 5}, {"cid": 46, "color": "#B07AA1", "label": "Community 46", "count": 4}, {"cid": 47, "color": "#FF9DA7", "label": "Community 47", "count": 4}, {"cid": 48, "color": "#9C755F", "label": "Community 48", "count": 4}, {"cid": 49, "color": "#BAB0AC", "label": "Community 49", "count": 3}, {"cid": 50, "color": "#4E79A7", "label": "Community 50", "count": 3}, {"cid": 51, "color": "#F28E2B", "label": "Community 51", "count": 3}, {"cid": 52, "color": "#E15759", "label": "Community 52", "count": 3}, {"cid": 53, "color": "#76B7B2", "label": "Community 53", "count": 3}, {"cid": 54, "color": "#59A14F", "label": "Community 54", "count": 3}, {"cid": 55, "color": "#EDC948", "label": "Community 55", "count": 3}, {"cid": 56, "color": "#B07AA1", "label": "Community 56", "count": 3}, {"cid": 57, "color": "#FF9DA7", "label": "Community 57", "count": 3}, {"cid": 58, "color": "#9C755F", "label": "Community 58", "count": 3}, {"cid": 59, "color": "#BAB0AC", "label": "Community 59", "count": 3}, {"cid": 60, "color": "#4E79A7", "label": "Community 60", "count": 2}, {"cid": 61, "color": "#F28E2B", "label": "Community 61", "count": 2}, {"cid": 62, "color": "#E15759", "label": "Community 62", "count": 2}, {"cid": 63, "color": "#76B7B2", "label": "Community 63", "count": 2}, {"cid": 64, "color": "#59A14F", "label": "Community 64", "count": 2}, {"cid": 65, "color": "#EDC948", "label": "Community 65", "count": 2}, {"cid": 66, "color": "#B07AA1", "label": "Community 66", "count": 2}, {"cid": 67, "color": "#FF9DA7", "label": "Community 67", "count": 2}, {"cid": 68, "color": "#9C755F", "label": "Community 68", "count": 2}, {"cid": 69, "color": "#BAB0AC", "label": "Community 69", "count": 2}, {"cid": 70, "color": "#4E79A7", "label": "Community 70", "count": 2}, {Line truncated
const RAW_NODES = [{"id": "app_vue", "label": "App.vue", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "App.vue", "community": 36, "community_name": "Community 36", "source_file": "App.vue", "file_type": "code", "degree": 3}, {"id": "src_app_refreshbuttonautoicons", "label": "refreshButtonAutoIcons()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshButtonAutoIcons()", "community": 36, "community_name": "Community 36", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "src_app_refreshpaneltitleicons", "label": "refreshPanelTitleIcons()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "refreshPanelTitleIcons()", "community": 36, "community_name": "Community 36", "source_file": "App.vue", "file_type": "code", "degree": 1}, {"id": "main_ts", "label": "main.ts", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "main.ts", "community": 36, "community_name": "Community 36", "source_file": "main.ts", "file_type": "code", "degree": 4}, {"id": "src_main_masksecret", "label": "maskSecret()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "maskSecret()", "community": 36, "community_name": "Community 36", "source_file": "main.ts", "file_type": "code", "degree": 2}, {"id": "src_main_logapicryptobootinfo", "label": "logApiCryptoBootInfo()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "logApiCryptoBootInfo()", "community": 36, "community_name": "Community 36", "source_file": "main.ts", "file_type": "code", "degree": 2}, {"id": "env_d_ts", "label": "env.d.ts", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "env.d.ts", "community": 85, "community_name": "Community 85", "source_file": "env.d.ts", "file_type": "code", "degree": 0}, {"id": "shims_loose_d_ts", "label": "shims-loose.d.ts", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "shims-loose.d.ts", "community": 86, "community_name": "Community 86", "source_file": "shims-loose.d.ts", "file_type": "code", "degree": 0}, {"id": "directives_index_ts", "label": "index.ts", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.1, "font": {"size": 0, "color": "#ffffff"}, "title": "index.ts", "community": 17, "community_name": "Community 17", "source_file": "directives/index.ts", "file_type": "code", "degree": 1}, {"id": "directives_index_setupglobdirectives", "label": "setupGlobDirectives()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.5, "font": {"size": 0, "color": "#ffffff"}, "title": "setupGlobDirectives()", "community": 17, "community_name": "Community 17", "source_file": "directives/index.ts", "file_type": "code", "degree": 5}, {"id": "directives_core_roles_ts", "label": "roles.ts", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "roles.ts", "community": 17, "community_name": "Community 17", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 3}, {"id": "core_roles_checkrolepermission", "label": "checkRolePermission()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "checkRolePermission()", "community": 17, "community_name": "Community 17", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 2}, {"id": "core_roles_removeelement", "label": "removeElement()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "removeElement()", "community": 17, "community_name": "Community 17", "source_file": "directives/core/roles.ts", "file_type": "code", "degree": 2}, {"id": "core_roles_setuprolesdirective", "laLine truncated
const RAW_EDGES = [{"from": "app_vue", "to": "src_app_refreshbuttonautoicons", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_vue", "to": "src_app_refreshpaneltitleicons", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "app_vue", "to": "main_ts", "label": "imports_from", "title": "imports_from [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_ts", "to": "utils_sys_console_ts", "label": "imports_from", "title": "imports_from [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_ts", "to": "src_main_masksecret", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_ts", "to": "src_main_logapicryptobootinfo", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_main_masksecret", "to": "src_main_logapicryptobootinfo", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_index_ts", "to": "directives_index_setupglobdirectives", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_index_setupglobdirectives", "to": "core_auth_setupauthdirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_index_setupglobdirectives", "to": "core_roles_setuprolesdirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_index_setupglobdirectives", "to": "business_highlight_setuphighlightdirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_index_setupglobdirectives", "to": "business_ripple_setuprippledirective", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "directives_core_roles_ts", "to": "core_roles_checkrolepermission", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_roles_ts", "to": "core_roles_removeelement", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_roles_ts", "to": "core_roles_setuprolesdirective", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_roles_checkrolepermission", "to": "core_roles_removeelement", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_auth_ts", "to": "core_auth_checkauthpermission", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_auth_ts", "to": "core_auth_removeelement", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_core_auth_ts", "to": "core_auth_setupauthdirective", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "core_auth_checkauthpermission", "to": "core_auth_removeelement", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_ripple_ts", "to": "business_ripple_setuprippledirective", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_highlight_ts", "to": "business_highlight_highlightcode", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_highlight_ts", "to": "business_highlight_insertlinenumbers", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "directives_business_highlight_ts", "to": "business_highlight_addcopybutton", "label": "contains", "title": "contains [EXTRACTED]", "dLine truncated
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "Community 0", "count": 259}, {"cid": 1, "color": "#F28E2B", "label": "Community 1", "count": 105}, {"cid": 2, "color": "#E15759", "label": "Community 2", "count": 96}, {"cid": 3, "color": "#76B7B2", "label": "Community 3", "count": 73}, {"cid": 4, "color": "#59A14F", "label": "Community 4", "count": 65}, {"cid": 5, "color": "#EDC948", "label": "Community 5", "count": 56}, {"cid": 6, "color": "#B07AA1", "label": "Community 6", "count": 55}, {"cid": 7, "color": "#FF9DA7", "label": "Community 7", "count": 52}, {"cid": 8, "color": "#9C755F", "label": "Community 8", "count": 51}, {"cid": 9, "color": "#BAB0AC", "label": "Community 9", "count": 45}, {"cid": 10, "color": "#4E79A7", "label": "Community 10", "count": 42}, {"cid": 11, "color": "#F28E2B", "label": "Community 11", "count": 41}, {"cid": 12, "color": "#E15759", "label": "Community 12", "count": 40}, {"cid": 13, "color": "#76B7B2", "label": "Community 13", "count": 39}, {"cid": 14, "color": "#59A14F", "label": "Community 14", "count": 35}, {"cid": 15, "color": "#EDC948", "label": "Community 15", "count": 31}, {"cid": 16, "color": "#B07AA1", "label": "Community 16", "count": 27}, {"cid": 17, "color": "#FF9DA7", "label": "Community 17", "count": 22}, {"cid": 18, "color": "#9C755F", "label": "Community 18", "count": 22}, {"cid": 19, "color": "#BAB0AC", "label": "Community 19", "count": 20}, {"cid": 20, "color": "#4E79A7", "label": "Community 20", "count": 20}, {"cid": 21, "color": "#F28E2B", "label": "Community 21", "count": 19}, {"cid": 22, "color": "#E15759", "label": "Community 22", "count": 17}, {"cid": 23, "color": "#76B7B2", "label": "Community 23", "count": 17}, {"cid": 24, "color": "#59A14F", "label": "Community 24", "count": 17}, {"cid": 25, "color": "#EDC948", "label": "Community 25", "count": 16}, {"cid": 26, "color": "#B07AA1", "label": "Community 26", "count": 13}, {"cid": 27, "color": "#FF9DA7", "label": "Community 27", "count": 12}, {"cid": 28, "color": "#9C755F", "label": "Community 28", "count": 11}, {"cid": 29, "color": "#BAB0AC", "label": "Community 29", "count": 10}, {"cid": 30, "color": "#4E79A7", "label": "Community 30", "count": 9}, {"cid": 31, "color": "#F28E2B", "label": "Community 31", "count": 8}, {"cid": 32, "color": "#E15759", "label": "Community 32", "count": 8}, {"cid": 33, "color": "#76B7B2", "label": "Community 33", "count": 8}, {"cid": 34, "color": "#59A14F", "label": "Community 34", "count": 8}, {"cid": 35, "color": "#EDC948", "label": "Community 35", "count": 8}, {"cid": 36, "color": "#B07AA1", "label": "Community 36", "count": 7}, {"cid": 37, "color": "#FF9DA7", "label": "Community 37", "count": 7}, {"cid": 38, "color": "#9C755F", "label": "Community 38", "count": 7}, {"cid": 39, "color": "#BAB0AC", "label": "Community 39", "count": 6}, {"cid": 40, "color": "#4E79A7", "label": "Community 40", "count": 6}, {"cid": 41, "color": "#F28E2B", "label": "Community 41", "count": 6}, {"cid": 42, "color": "#E15759", "label": "Community 42", "count": 6}, {"cid": 43, "color": "#76B7B2", "label": "Community 43", "count": 6}, {"cid": 44, "color": "#59A14F", "label": "Community 44", "count": 6}, {"cid": 45, "color": "#EDC948", "label": "Community 45", "count": 6}, {"cid": 46, "color": "#B07AA1", "label": "Community 46", "count": 5}, {"cid": 47, "color": "#FF9DA7", "label": "Community 47", "count": 4}, {"cid": 48, "color": "#9C755F", "label": "Community 48", "count": 4}, {"cid": 49, "color": "#BAB0AC", "label": "Community 49", "count": 4}, {"cid": 50, "color": "#4E79A7", "label": "Community 50", "count": 3}, {"cid": 51, "color": "#F28E2B", "label": "Community 51", "count": 3}, {"cid": 52, "color": "#E15759", "label": "Community 52", "count": 3}, {"cid": 53, "color": "#76B7B2", "label": "Community 53", "count": 3}, {"cid": 54, "color": "#59A14F", "label": "Community 54", "count": 3}, {"cid": 55, "color": "#EDC948", "label": "Community 55", "count": 3}, {"cid": 56, "color": "#B07AA1", "label": "Community 56", "count": 3}, {"cid": 57, "color": "#FF9DA7", "label": "Community 57", "count": 3}, {"cid": 58, "color": "#9C755F", "label": "Community 58", "count": 3}, {"cid": 59, "color": "#BAB0AC", "label": "Community 59", "count": 3}, {"cid": 60, "color": "#4E79A7", "label": "Community 60", "count": 3}, {"cid": 61, "color": "#F28E2B", "label": "Community 61", "count": 2}, {"cid": 62, "color": "#E15759", "label": "Community 62", "count": 2}, {"cid": 63, "color": "#76B7B2", "label": "Community 63", "count": 2}, {"cid": 64, "color": "#59A14F", "label": "Community 64", "count": 2}, {"cid": 65, "color": "#EDC948", "label": "Community 65", "count": 2}, {"cid": 66, "color": "#B07AA1", "label": "Community 66", "count": 2}, {"cid": 67, "color": "#FF9DA7", "label": "Community 67", "count": 2}, {"cid": 68, "color": "#9C755F", "label": "Community 68", "count": 2}, {"cid": 69, "color": "#BAB0AC", "label": "Community 69", "count": 2}, {"cid": 70, "color": "#4E79A7", "label": "Community 70", "count": 2}, {Line truncated
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML
function esc(s) {
+19 -19
View File
@@ -17,8 +17,8 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/common/index.ts": 1778582068.0254738,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/directive/directive.d.ts": 1778582068.026978,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/api/api.d.ts": 1778582068.0246184,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/components.d.ts": 1779700098.614053,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/auto-imports.d.ts": 1779700080.6929684,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/components.d.ts": 1779701445.0289075,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/auto-imports.d.ts": 1779701432.139582,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/store/index.ts": 1778582068.0293276,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/types/router/index.ts": 1778775532.895603,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/locales/index.ts": 1778582068.004279,
@@ -171,7 +171,7 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/core/base/art-logo/index.vue": 1779525781.604071,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/core/media/art-video-player/index.vue": 1779525781.6045322,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/core/media/art-cutter-img/index.vue": 1779525781.6051006,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/protocol-finance-confirm-fields/index.vue": 1779525781.605779,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/protocol-finance-confirm-fields/index.vue": 1779701243.8601995,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/protocol-finance-confirm-fields/finance-attachments.ts": 1778987672.644368,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/qc-task-view-dialog/index.vue": 1779612144.3309839,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/dialog-form-body/index.vue": 1779525781.6069736,
@@ -234,14 +234,14 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolStatusChangeDialog.vue": 1779525781.613681,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolViewDialog.vue": 1779699075.4044075,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolAttachmentReadonly.vue": 1779525781.6162472,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolFormDialog.vue": 1779699092.0957584,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolFormDialog.vue": 1779701228.7021518,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolAuditDialog.vue": 1779525781.6193507,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/sample-reception-info/index.vue": 1779691690.1009152,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/payment-info/index.vue": 1779699056.0146186,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/storage-cert/index.vue": 1779692218.217227,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/payment-info/index.vue": 1779701206.9713361,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/storage-cert/index.vue": 1779701233.6982112,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol-audit/index.vue": 1779686205.7531993,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/material/index.vue": 1779543540.7084875,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue": 1779699073.6049047,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue": 1779701231.7350247,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/storage-entry-info/index.vue": 1779691749.1963794,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/payment-confirm/index.vue": 1779699057.959591,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/material-stock-log/index.vue": 1779543540.7038007,
@@ -254,7 +254,7 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/index.vue": 1779692356.4217088,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationAuditDialog.vue": 1779525781.6319423,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationViewDialog.vue": 1779699979.6871445,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue": 1779525781.635114,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue": 1779701229.6477559,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationStatusChangeDialog.vue": 1779525781.6357327,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/dashboard/console/index.vue": 1779525781.636181,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/tenant/index.vue": 1779543443.6733122,
@@ -262,13 +262,13 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/unit/index.vue": 1779543540.7397332,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/role/index.vue": 1779543540.7380679,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/post/index.vue": 1779543540.7481663,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/category/index.vue": 1779543540.749298,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/category/index.vue": 1779701235.7691681,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/express/index.vue": 1779543540.7485101,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/user/index.vue": 1779543540.7475703,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/user/detail.vue": 1779699977.6617017,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/user/modules/user-dialog.vue": 1779525781.6434622,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/user/modules/user-search.vue": 1779525781.643876,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/product/index.vue": 1779543540.7469623,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/product/index.vue": 1779701247.3336248,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/workflow/my-applications/index.vue": 1779543540.753526,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/workflow/task-pending/index.vue": 1779543540.7526875,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/workflow/task-completed/index.vue": 1779543540.7515533,
@@ -282,7 +282,7 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/dict/index.vue": 1779543540.7390752,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/leave/index.vue": 1779543540.7368186,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/output-type/index.vue": 1779543540.722031,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/cell-product/index.vue": 1779600859.6291723,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/cell-product/index.vue": 1779701253.1696944,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/cell-product/SourceChainGraph.vue": 1779601463.4693549,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/cell-product/source-chain/ChainLinkEdge.vue": 1779601451.8287098,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/cell-product/source-chain/chainInject.ts": 1779601450.6340923,
@@ -292,7 +292,7 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/cell-product/source-chain/SampleCustomerViewDialog.vue": 1779600821.8288937,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/cell-product/source-chain/chainToFlow.ts": 1779601450.3906622,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process-route/index.vue": 1779543540.7289982,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/sop/index.vue": 1779543540.726837,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/sop/index.vue": 1779701234.277916,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-task/index.vue": 1779692921.2198172,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/reagent/index.vue": 1779589143.1296964,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/index.vue": 1779692806.8630154,
@@ -304,7 +304,7 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/EditTaskInfoDialog.vue": 1779525781.6816807,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskOutputList.vue": 1779525781.6822913,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/DispatchTaskDialog.vue": 1779608520.251511,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskOutputProductDialog.vue": 1779525781.6850414,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskOutputProductDialog.vue": 1779701250.4415438,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/consumable-pack/index.vue": 1779543540.719702,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/consumable/index.vue": 1779588932.4529731,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/index.vue": 1779543540.717012,
@@ -317,7 +317,7 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/sample-reception/index.vue": 1779692594.0406384,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-task/index.vue": 1779699971.8908935,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/index.vue": 1779543540.695075,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue": 1779525781.7374997,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue": 1779701230.688804,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseViewDialog.vue": 1779613667.0297782,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/qc-material-usage/index.vue": 1779543540.693297,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/third-party-company/index.vue": 1779699924.4409633,
@@ -327,15 +327,15 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/cell-product-type/index.vue": 1779543540.6913223,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/checkup-institution/index.vue": 1779697615.6754658,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/checkup-institution/CheckupPackagePanel.vue": 1779697623.5824215,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order/index.vue": 1779699826.455601,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order/ServiceOrderTxnTable.vue": 1779699863.6833217,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order/ServiceOrderTxnDialog.vue": 1779699868.898797,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel/index.vue": 1779697613.264022,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order/index.vue": 1779701194.8037386,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order/ServiceOrderTxnTable.vue": 1779701011.5387397,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order/ServiceOrderTxnDialog.vue": 1779701853.6900675,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel/index.vue": 1779701191.4794328,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel/ChannelViewDialog.vue": 1779697640.6669152,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/pilot-application/index.vue": 1779637937.8548203,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/pilot-application/ApplicationDetail.vue": 1779657466.23388,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/cell-product-price/index.vue": 1779697593.9746604,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue": 1779699868.3981209,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue": 1779702213.1513932,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/project-price-system/index.vue": 1779697597.2297914,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/cell-product-spec/index.vue": 1779543540.6845775,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/basic-info/sample-code/index.vue": 1779543540.6835444,
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue", "label": "StorageReleaseReviewDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue", "source_location": "L1"}, {"id": "storage_release_review_storagereleasereviewdialog_fullfileurl", "label": "fullFileUrl()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue", "source_location": "L173"}, {"id": "storage_release_review_storagereleasereviewdialog_isimagefile", "label": "isImageFile()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue", "source_location": "L179"}, {"id": "storage_release_review_storagereleasereviewdialog_removeattachment", "label": "removeAttachment()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue", "source_location": "L185"}, {"id": "storage_release_review_storagereleasereviewdialog_getlist", "label": "_getList()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue", "source_location": "L191"}, {"id": "storage_release_review_storagereleasereviewdialog_resetform", "label": "resetForm()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue", "source_location": "L258"}, {"id": "storage_release_review_storagereleasereviewdialog_handlesubmit", "label": "handleSubmit()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue", "source_location": "L267"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue", "target": "element_plus", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue", "source_location": "L120", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue", "target": "icons_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue", "source_location": "L121", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_business", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue", "source_location": "L122", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_storage_release_review", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue", "source_location": "L123", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_fullscreen_loading", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue", "source_location": "L129", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue", "target": "storage_release_review_storagereleasereviewdialog_fullfileurl", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/quality-inspection/storage-release-review/StorageReleaseReviewDialog.vue", "source_location": "L173", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_quality_inspection_storage_release_review_storagereleasereviewdialog_vue", "target": "storage_release_review_storagereleasereviewdialog_isimagefile",Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_cell_storage_fullmoon_todo_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L1"}, {"id": "fullmoon_todo_index_loaddata", "label": "loadData()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L638"}, {"id": "fullmoon_todo_index_handlesearch", "label": "handleSearch()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L656"}, {"id": "fullmoon_todo_index_handlereset", "label": "handleReset()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L661"}, {"id": "fullmoon_todo_index_formatymdfromany", "label": "formatYmdFromAny()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L669"}, {"id": "fullmoon_todo_index_normalizenewbornsex", "label": "normalizeNewbornSex()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L677"}, {"id": "fullmoon_todo_index_handleexportinsurancesheet", "label": "handleExportInsuranceSheet()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L685"}, {"id": "fullmoon_todo_index_resolveprotocolid", "label": "resolveProtocolId()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L834"}, {"id": "fullmoon_todo_index_resetformfields", "label": "resetFormFields()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L858"}, {"id": "fullmoon_todo_index_resetdialogcontext", "label": "resetDialogContext()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L874"}, {"id": "fullmoon_todo_index_handleinsurancedialogclosed", "label": "handleInsuranceDialogClosed()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L881"}, {"id": "fullmoon_todo_index_parseinsuranceattachmentsfromurls", "label": "parseInsuranceAttachmentsFromUrls()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L885"}, {"id": "fullmoon_todo_index_buildinsuranceattachmentsvalue", "label": "buildInsuranceAttachmentsValue()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L897"}, {"id": "fullmoon_todo_index_buildinsurancepayload", "label": "buildInsurancePayload()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L904"}, {"id": "fullmoon_todo_index_handlebatchedit", "label": "handleBatchEdit()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L921"}, {"id": "fullmoon_todo_index_handleedit", "label": "handleEdit()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L934"}, {"id": "fullmoon_todo_index_handleinsurancecompanychange", "label": "handleInsuranceCompanyChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L957"}, {"id": "fullmoon_todo_index_handleinsurancetypechange", "label": "handleInsuranceTypeChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L965"}, {"id": "fullmoon_todo_index_handlesubmit", "label": "handleSubmit()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L972"}, {"id": "fullmoon_todo_index_fullfileurl", "label": "fullFileUrl()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/fullmoon-todo/index.vue", "source_location": "L1034"}, {"id": "fullmoon_todo_index_isimagefile", "label": "isImageFile()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admiLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_cell_storage_protocol_protocolformdialog_vue", "label": "ProtocolFormDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolFormDialog.vue", "source_location": "L1"}, {"id": "protocol_protocolformdialog_fmtmoney", "label": "fmtMoney()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolFormDialog.vue", "source_location": "L1227"}, {"id": "protocol_protocolformdialog_createemptytransport", "label": "createEmptyTransport()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolFormDialog.vue", "source_location": "L1291"}, {"id": "protocol_protocolformdialog_fullfileurl", "label": "fullFileUrl()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolFormDialog.vue", "source_location": "L1311"}, {"id": "protocol_protocolformdialog_loadethnicoptions", "label": "loadEthnicOptions()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolFormDialog.vue", "source_location": "L1318"}, {"id": "protocol_protocolformdialog_ensureethnicoptioninlist", "label": "ensureEthnicOptionInList()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolFormDialog.vue", "source_location": "L1329"}, {"id": "protocol_protocolformdialog_expressname", "label": "expressName()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolFormDialog.vue", "source_location": "L1357"}, {"id": "protocol_protocolformdialog_for", "label": "for()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolFormDialog.vue", "source_location": "L2025"}, {"id": "protocol_protocolformdialog_if", "label": "if()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolFormDialog.vue", "source_location": "L2561"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_cell_storage_protocol_protocolformdialog_vue", "target": "element_plus", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolFormDialog.vue", "source_location": "L1177", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_cell_storage_protocol_protocolformdialog_vue", "target": "icons_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolFormDialog.vue", "source_location": "L1178", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_cell_storage_protocol_protocolformdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_collection_protocol", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolFormDialog.vue", "source_location": "L1190", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_cell_storage_protocol_protocolformdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_business", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolFormDialog.vue", "source_location": "L1196", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_cell_storage_protocol_protocolformdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_download_attachment", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolFormDialog.vue", "source_location": "L1197", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_cell_storage_protocol_protocolformdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_admin", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolFormDialog.vue", "source_location": "L1198", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_cell_storage_protocol_protocolformdialog_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_ethnic", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/protocol/ProtocolFormDialog.vue", "source_location": "L1211", "weight": 1.0}, {"source":Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_pilot_service_channel_service_order_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order/index.vue", "source_location": "L1"}, {"id": "channel_service_order_index_validate", "label": "validate()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order/index.vue", "source_location": "L1297"}, {"id": "channel_service_order_index_if", "label": "if()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order/index.vue", "source_location": "L1302"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_pilot_service_channel_service_order_index_vue", "target": "channel_service_order_index_validate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order/index.vue", "source_location": "L1297", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_pilot_service_channel_service_order_index_vue", "target": "channel_service_order_index_if", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order/index.vue", "source_location": "L1302", "weight": 1.0}], "raw_calls": [{"caller_nid": "channel_service_order_index_if", "callee": "warning", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order/index.vue", "source_location": "L1304"}, {"caller_nid": "channel_service_order_index_if", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order/index.vue", "source_location": "L1307"}, {"caller_nid": "channel_service_order_index_if", "callee": "map", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order/index.vue", "source_location": "L1307"}, {"caller_nid": "channel_service_order_index_if", "callee": "warning", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order/index.vue", "source_location": "L1309"}, {"caller_nid": "channel_service_order_index_if", "callee": "some", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order/index.vue", "source_location": "L1312"}, {"caller_nid": "channel_service_order_index_if", "callee": "warning", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order/index.vue", "source_location": "L1316"}]}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_components_business_protocol_finance_confirm_fields_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/components/business/protocol-finance-confirm-fields/index.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_sop_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/sop/index.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_research_donation_list_donationformdialog_vue", "label": "DonationFormDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue", "source_location": "L1"}, {"id": "list_donationformdialog_createemptytransport", "label": "createEmptyTransport()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue", "source_location": "L1019"}, {"id": "list_donationformdialog_fullfileurl", "label": "fullFileUrl()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue", "source_location": "L1039"}, {"id": "list_donationformdialog_loadethnicoptions", "label": "loadEthnicOptions()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue", "source_location": "L1046"}, {"id": "list_donationformdialog_ensureethnicoptioninlist", "label": "ensureEthnicOptionInList()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue", "source_location": "L1057"}, {"id": "list_donationformdialog_samplerowlabel", "label": "sampleRowLabel()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue", "source_location": "L1085"}, {"id": "list_donationformdialog_resetform", "label": "resetForm()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue", "source_location": "L1169"}, {"id": "list_donationformdialog_scrolltosection", "label": "scrollToSection()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue", "source_location": "L1224"}, {"id": "list_donationformdialog_normalizesamplerow", "label": "normalizeSampleRow()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue", "source_location": "L1232"}, {"id": "list_donationformdialog_openbatchtransportdialog", "label": "openBatchTransportDialog()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue", "source_location": "L1255"}, {"id": "list_donationformdialog_confirmbatchtransportapply", "label": "confirmBatchTransportApply()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue", "source_location": "L1263"}, {"id": "list_donationformdialog_addsample", "label": "addSample()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue", "source_location": "L1277"}, {"id": "list_donationformdialog_removesample", "label": "removeSample()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue", "source_location": "L1291"}, {"id": "list_donationformdialog_handleopenforadd", "label": "handleOpenForAdd()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue", "source_location": "L1295"}, {"id": "list_donationformdialog_applydonationbundletoform", "label": "applyDonationBundleToForm()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue", "source_location": "L1343"}, {"id": "list_donationformdialog_if", "label": "if()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue", "source_location": "L1978"}, {"id": "list_donationformdialog_ensuredonationprotocolnoinoptions", "label": "ensureDonationProtocolNoInOptions()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue", "source_location": "L2051"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_research_donation_list_donationformdialog_vue", "target": "element_plus", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDialog.vue", "source_location": "L935", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_research_donation_list_donationformdialog_vue", "target": "icons_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/DonationFormDLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_pilot_service_channel_service_order_serviceordertxndialog_vue", "label": "ServiceOrderTxnDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order/ServiceOrderTxnDialog.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_taskoutputproductdialog_vue", "label": "TaskOutputProductDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskOutputProductDialog.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_system_category_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/category/index.vue", "source_location": "L1"}, {"id": "category_index_handleview", "label": "handleView()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/category/index.vue", "source_location": "L489"}, {"id": "category_index_handlecategorytableselectionchange", "label": "handleCategoryTableSelectionChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/category/index.vue", "source_location": "L494"}, {"id": "category_index_collectids", "label": "collectIds()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/category/index.vue", "source_location": "L585"}, {"id": "category_index_catch", "label": "catch()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/category/index.vue", "source_location": "L964"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_system_category_index_vue", "target": "element_plus", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/category/index.vue", "source_location": "L441", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_system_category_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_fullscreen_loading", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/category/index.vue", "source_location": "L442", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_system_category_index_vue", "target": "icons_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/category/index.vue", "source_location": "L443", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_system_category_index_vue", "target": "vue_draggable_plus", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/category/index.vue", "source_location": "L444", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_system_category_index_vue", "target": "element_plus", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/category/index.vue", "source_location": "L445", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_system_category_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_components_business_system_view_dialog_index_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/category/index.vue", "source_location": "L446", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_system_category_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_admin", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/category/index.vue", "source_location": "L447", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_system_category_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_fetch_paged_list", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/category/index.vue", "source_location": "L457", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_system_category_index_vue", "target": "category_index_handleview", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/category/index.vue", "source_location": "L489", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_system_category_index_vue", "target": "category_index_handlecategorytableselectionchange", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/category/index.vue", "source_location": "L494", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_system_category_index_vue", "target": "category_index_collectids", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/category/index.vue", "source_location": "L585", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_system_category_index_vue", "target": "category_index_catLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_pilot_service_channel_service_order_serviceordertxntable_vue", "label": "ServiceOrderTxnTable.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order/ServiceOrderTxnTable.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_cell_storage_storage_cert_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/storage-cert/index.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_cell_storage_payment_info_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/payment-info/index.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_pilot_service_channel_service_order_finance_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue", "source_location": "L1"}, {"id": "channel_service_order_finance_index_txnamountlabel", "label": "txnAmountLabel()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue", "source_location": "L474"}, {"id": "channel_service_order_finance_index_financesubmitremarkdisplay", "label": "financeSubmitRemarkDisplay()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue", "source_location": "L482"}, {"id": "channel_service_order_finance_index_fullfileurl", "label": "fullFileUrl()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue", "source_location": "L488"}, {"id": "channel_service_order_finance_index_isimagefile", "label": "isImageFile()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue", "source_location": "L495"}, {"id": "channel_service_order_finance_index_isvideofile", "label": "isVideoFile()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue", "source_location": "L505"}, {"id": "channel_service_order_finance_index_formatlocaldate", "label": "formatLocalDate()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue", "source_location": "L525"}, {"id": "channel_service_order_finance_index_loaddata", "label": "loadData()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue", "source_location": "L556"}, {"id": "channel_service_order_finance_index_handlesearch", "label": "handleSearch()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue", "source_location": "L583"}, {"id": "channel_service_order_finance_index_handlereset", "label": "handleReset()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue", "source_location": "L588"}, {"id": "channel_service_order_finance_index_handletabchange", "label": "handleTabChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue", "source_location": "L597"}, {"id": "channel_service_order_finance_index_handleview", "label": "handleView()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue", "source_location": "L723"}, {"id": "channel_service_order_finance_index_openconfirmdialog", "label": "openConfirmDialog()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue", "source_location": "L752"}, {"id": "channel_service_order_finance_index_handlevoidtxn", "label": "handleVoidTxn()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue", "source_location": "L759"}, {"id": "channel_service_order_finance_index_submitconfirm", "label": "submitConfirm()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue", "source_location": "L777"}, {"id": "channel_service_order_finance_index_executesubmitconfirm", "label": "executeSubmitConfirm()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue", "source_location": "L786"}, {"id": "channel_service_order_finance_index_handleconfirmattachmentchange", "label": "handleConfirmAttachmentChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue", "source_location": "L809"}, {"id": "channel_service_order_finance_index_hasuploadingattachments", "label": "hasUploadingAttachments()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel-service-order-finance/index.vue", "source_location": "L849"}, {"id": "channel_service_order_finance_index_handlepreviewattachment", "label": "handlePreviewAttachment()", "file_type": "code", "source_file": "/UsLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_system_product_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/product/index.vue", "source_location": "L1"}, {"id": "product_index_if", "label": "if()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/product/index.vue", "source_location": "L1180"}, {"id": "product_index_revokelocalpreview", "label": "revokeLocalPreview()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/product/index.vue", "source_location": "L2259"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_system_product_index_vue", "target": "product_index_if", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/product/index.vue", "source_location": "L1180", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_system_product_index_vue", "target": "product_index_if", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/product/index.vue", "source_location": "L1191", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_system_product_index_vue", "target": "product_index_if", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/product/index.vue", "source_location": "L1232", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_system_product_index_vue", "target": "product_index_if", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/product/index.vue", "source_location": "L1574", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_system_product_index_vue", "target": "product_index_revokelocalpreview", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/product/index.vue", "source_location": "L2259", "weight": 1.0}], "raw_calls": [{"caller_nid": "product_index_if", "callee": "revokeObjectURL", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/product/index.vue", "source_location": "L1182"}, {"caller_nid": "product_index_if", "callee": "revokeObjectURL", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/product/index.vue", "source_location": "L1193"}, {"caller_nid": "product_index_if", "callee": "applyCategoryPriceCoefficientIfNeeded", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/product/index.vue", "source_location": "L1233"}, {"caller_nid": "product_index_if", "callee": "loadCategoryParameters", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/product/index.vue", "source_location": "L1234"}, {"caller_nid": "product_index_if", "callee": "error", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/product/index.vue", "source_location": "L1575"}, {"caller_nid": "product_index_if", "callee": "error", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/product/index.vue", "source_location": "L1576"}, {"caller_nid": "product_index_revokelocalpreview", "callee": "withFullscreenLoading", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/product/index.vue", "source_location": "L2262"}, {"caller_nid": "product_index_revokelocalpreview", "callee": "error", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/system/product/index.vue", "source_location": "L2266"}]}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_pilot_service_channel_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel/index.vue", "source_location": "L1"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_pilot_service_channel_index_vue", "target": "element_plus", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel/index.vue", "source_location": "L1025", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_pilot_service_channel_index_vue", "target": "icons_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel/index.vue", "source_location": "L1026", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_pilot_service_channel_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_views_pilot_service_channel_channelviewdialog_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel/index.vue", "source_location": "L1027", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_pilot_service_channel_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_fullscreen_loading", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel/index.vue", "source_location": "L1028", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_pilot_service_channel_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_business", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel/index.vue", "source_location": "L1029", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_pilot_service_channel_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_download_attachment", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel/index.vue", "source_location": "L1030", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_pilot_service_channel_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_components_common_amount_input_index_vue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel/index.vue", "source_location": "L1031", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_pilot_service_channel_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_money_format", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel/index.vue", "source_location": "L1032", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_pilot_service_channel_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_utils_status_tag_registry", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel/index.vue", "source_location": "L1033", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_pilot_service_channel_index_vue", "target": "users_wuzilong_work_00code_zkxw_web_admin_src_api_admin", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/pilot-service/channel/index.vue", "source_location": "L1046", "weight": 1.0}], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_cell_product_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/cell-product/index.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
@@ -217,12 +217,9 @@
</el-table-column>
</el-table>
</template>
<template
v-if="viewData.financeSubmitAttachmentFiles?.length"
#finance-submit-attachments
>
<template v-if="viewFinanceSubmitAttachmentFiles.length" #finance-submit-attachments>
<ProtocolAttachmentReadonly
:files="viewData.financeSubmitAttachmentFiles"
:files="viewFinanceSubmitAttachmentFiles"
@preview="handlePreviewAttachment"
@download="handleDownloadAttachment"
/>
@@ -243,39 +240,88 @@
<el-dialog
v-model="confirmVisible"
title="确认操作"
width="640px"
:width="txnTypeHasProducts(currentRow?.txnType) ? '960px' : '640px'"
destroy-on-close
:close-on-click-modal="false"
class="finance-receipt-dialog"
>
<div v-if="currentRow" class="dialog-form-layout">
<div v-if="currentRow" v-loading="confirmDetailLoading" class="dialog-form-layout">
<!-- 流水摘要 -->
<div class="detail-section">
<h4 class="detail-section-title">流水信息</h4>
<div class="view-field-row">
<span class="view-field-label">流水类型:</span>
<el-tag :type="txnTypeTagType(currentRow.txnType)" size="small">
{{ txnTypeLabel(currentRow.txnType) }}
</el-tag>
</div>
<div class="view-field-row">
<span class="view-field-label">{{ txnAmountLabel(currentRow.txnType) }}:</span>
<span class="amount-text">¥{{ formatAmount(currentRow.amount) }}</span>
</div>
<div class="view-field-row" v-if="currentRow.financeSubmitByName || currentRow.financeSubmitBy">
<span class="view-field-label">提交人:</span>
<span class="view-field-text">{{ currentRow.financeSubmitByName || currentRow.financeSubmitBy }}</span>
</div>
<div class="view-field-row" v-if="currentRow.financeSubmitTime">
<span class="view-field-label">提交时间:</span>
<span class="view-field-text">{{ currentRow.financeSubmitTime }}</span>
</div>
<div class="view-field-row" v-if="financeSubmitRemarkDisplay(currentRow)">
<span class="view-field-label">备注:</span>
<span class="view-field-text">{{ financeSubmitRemarkDisplay(currentRow) }}</span>
<div class="confirm-flow-kv-grid">
<div class="confirm-flow-kv">
<span class="confirm-flow-kv__label">流水类型</span>
<div class="confirm-flow-kv__value">
<el-tag :type="txnTypeTagType(currentRow.txnType)" size="small">
{{ txnTypeLabel(currentRow.txnType) }}
</el-tag>
</div>
</div>
<div class="confirm-flow-kv">
<span class="confirm-flow-kv__label">{{ txnAmountLabel(currentRow.txnType) }}</span>
<span class="confirm-flow-kv__value amount-text">¥{{ formatAmount(currentRow.amount) }}</span>
</div>
<div
v-if="currentRow.financeSubmitByName || currentRow.financeSubmitBy"
class="confirm-flow-kv"
>
<span class="confirm-flow-kv__label">提交人</span>
<span class="confirm-flow-kv__value">{{
currentRow.financeSubmitByName || currentRow.financeSubmitBy
}}</span>
</div>
<div v-if="currentRow.financeSubmitTime" class="confirm-flow-kv">
<span class="confirm-flow-kv__label">提交时间</span>
<span class="confirm-flow-kv__value">{{ currentRow.financeSubmitTime }}</span>
</div>
<div
v-if="financeSubmitRemarkDisplay(currentRow)"
class="confirm-flow-kv confirm-flow-kv--full"
>
<span class="confirm-flow-kv__label">备注</span>
<span class="confirm-flow-kv__value confirm-flow-kv__value--multiline">{{
financeSubmitRemarkDisplay(currentRow)
}}</span>
</div>
<div v-if="showConfirmFlowAttachments" class="confirm-flow-kv confirm-flow-kv--full">
<span class="confirm-flow-kv__label">{{ confirmTxnSubmitAttachmentLabel }}</span>
<div class="confirm-flow-kv__value">
<ProtocolAttachmentReadonly
:files="confirmTxnSubmitAttachmentFiles"
@preview="handlePreviewAttachment"
@download="handleDownloadAttachment"
/>
</div>
</div>
</div>
</div>
<div
v-if="txnTypeHasProducts(currentRow.txnType) && confirmProducts.length"
class="detail-section confirm-product-section"
>
<h4 class="detail-section-title">产品明细</h4>
<el-table
:data="confirmProducts"
stripe
class="list-table inner-table"
size="small"
>
<el-table-column type="index" label="序号" min-width="60" align="center" />
<el-table-column prop="projectName" label="项目名称" min-width="150" show-overflow-tooltip />
<el-table-column prop="cellType" label="细胞类型" min-width="120" show-overflow-tooltip />
<el-table-column prop="specText" label="规格" min-width="150" show-overflow-tooltip />
<el-table-column label="单价(元)" min-width="120" align="right">
<template #default="{ row }">¥{{ formatAmount(row.agreementUnitPrice) }}</template>
</el-table-column>
<el-table-column prop="qty" label="数量" min-width="100" align="center" />
<el-table-column label="金额(元)" min-width="120" align="right">
<template #default="{ row }">¥{{ formatAmount(row.amount) }}</template>
</el-table-column>
</el-table>
</div>
<div class="form-section-divider"></div>
<!-- 确认表单 -->
@@ -479,10 +525,27 @@
return '金额(元)'
}
/** 购买/退订流水需展示产品明细 */
function txnTypeHasProducts(txnType?: string) {
return txnType === 'purchase' || txnType === 'unsubscribe'
}
function financeSubmitRemarkDisplay(d: Record<string, any>) {
return (d.financeSubmitRemark || d.remark || '').trim()
}
/** 发起确认区附件:退款优先展示 refundAttachmentFiles */
function financeSubmitAttachmentDisplayFiles(d: Record<string, any>) {
if (d.txnType === 'refund' && Array.isArray(d.refundAttachmentFiles) && d.refundAttachmentFiles.length) {
return d.refundAttachmentFiles
}
return Array.isArray(d.financeSubmitAttachmentFiles) ? d.financeSubmitAttachmentFiles : []
}
const viewFinanceSubmitAttachmentFiles = computed(() =>
financeSubmitAttachmentDisplayFiles(viewData.value || {})
)
const minioBaseUrl = (import.meta.env.VITE_MINIO_BASE_URL || '').replace(/\/$/, '')
function fullFileUrl(suffix: string) {
@@ -637,9 +700,10 @@
}
]
// 余额变动(待处理不展示;已处理中已作废的充值不展示)
// 余额变动(待处理不展示;购买产品不展示;已处理中已作废的充值不展示)
const showBalanceSection =
activeTab.value !== 'pending' &&
d.txnType !== 'purchase' &&
!(d.txnStatus === 'yzf' && d.txnType === 'recharge') &&
(d.balanceBefore != null || d.balanceAfter != null)
if (showBalanceSection) {
@@ -661,8 +725,9 @@
})
}
// 发起确认信息
// 发起确认信息(退款附件并入本区,不单独成块)
if (d.financeSubmitTime) {
const submitFiles = financeSubmitAttachmentDisplayFiles(d)
const submitSection: ViewSection = {
title: '发起确认',
fields: [
@@ -672,8 +737,8 @@
{ label: '备注', value: financeSubmitRemarkDisplay(d), span: true }
]
}
if (d.financeSubmitAttachmentFiles?.length) {
submitSection.slotTitle = '提交凭证'
if (submitFiles.length) {
submitSection.slotTitle = d.txnType === 'refund' ? '退款附件' : '提交凭证'
submitSection.slotTitleStyle = 'field'
submitSection.slot = 'finance-submit-attachments'
}
@@ -738,10 +803,29 @@
// ---------------------------------------------------------------------------
const currentRow = ref<any>(null)
/** 待处理确认弹窗 — 流水信息区业务附件 */
const confirmTxnSubmitAttachmentFiles = computed(() =>
currentRow.value ? financeSubmitAttachmentDisplayFiles(currentRow.value) : []
)
const confirmTxnSubmitAttachmentLabel = computed(() => {
const t = currentRow.value?.txnType
if (t === 'recharge') return '充值附件'
if (t === 'refund') return '退款附件'
return '提交凭证'
})
const showConfirmFlowAttachments = computed(() => {
const t = currentRow.value?.txnType
if (t !== 'recharge' && t !== 'refund') return false
return confirmTxnSubmitAttachmentFiles.value.length > 0
})
// ---------------------------------------------------------------------------
// 统一确认弹窗
// ---------------------------------------------------------------------------
const confirmVisible = ref(false)
const confirmDetailLoading = ref(false)
const amountConfirmVisible = ref(false)
const confirmUploadRef = ref()
const confirmForm = reactive({
@@ -749,11 +833,27 @@
attachments: [] as any[]
})
function openConfirmDialog(row: any) {
const confirmProducts = computed(() => {
if (!txnTypeHasProducts(currentRow.value?.txnType)) return []
return currentRow.value?.products || []
})
async function openConfirmDialog(row: any) {
currentRow.value = row
confirmForm.remark = ''
confirmForm.attachments = []
confirmVisible.value = true
if (txnTypeHasProducts(row.txnType)) {
confirmDetailLoading.value = true
try {
const res: any = await fetchServiceOrderTxnDetail(row.id)
currentRow.value = res?.data || res || row
} catch {
currentRow.value = row
} finally {
confirmDetailLoading.value = false
}
}
}
async function handleVoidTxn(row: any) {
@@ -917,13 +1017,17 @@
}
.detail-section-title {
margin: 0 0 16px;
margin: 0 0 12px;
font-size: 14px;
font-weight: 600;
color: var(--mint-text, #334155);
line-height: 1.4;
}
.confirm-product-section {
margin-top: 16px;
}
.view-confirm-form :deep(.el-form-item) {
margin-bottom: 0;
}
@@ -945,6 +1049,40 @@
margin-bottom: 0;
}
.confirm-flow-kv-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px 16px;
}
.confirm-flow-kv {
display: flex;
flex-direction: column;
gap: 4px;
min-width: 0;
&--full {
grid-column: 1 / -1;
}
}
.confirm-flow-kv__label {
font-size: 12px;
color: var(--el-text-color-secondary);
line-height: 1.4;
}
.confirm-flow-kv__value {
font-size: 14px;
color: var(--mint-text, #334155);
line-height: 1.5;
word-break: break-word;
&--multiline {
white-space: pre-wrap;
}
}
.view-field-row {
display: flex;
align-items: center;
@@ -40,10 +40,10 @@
{{ remarkPreview(txn.remark) }}
</span>
<span
v-if="txn.financeSubmitAttachmentFiles?.length"
v-if="txnAttachmentMetaCount(txn)"
class="txn-card__meta-item txn-card__meta-attach"
>
附件 {{ txn.financeSubmitAttachmentFiles.length }} 个
附件 {{ txnAttachmentMetaCount(txn) }} 个
</span>
<span v-if="txn.txnStatus === 'yzf'" class="txn-card__meta-item txn-card__meta-void">
作废 {{ txn.voidByName || '—' }} · {{ txn.voidTime || '—' }}
@@ -126,13 +126,16 @@
size="small"
class="list-table inner-table"
>
<el-table-column
prop="projectName"
label="项目"
min-width="120"
show-overflow-tooltip
/>
<el-table-column prop="specText" label="规格" min-width="100" show-overflow-tooltip />
<el-table-column label="项目" min-width="120" show-overflow-tooltip>
<template #default="{ row }">
{{ row.projectName || row.project_name || row.projectCode || row.project_code || '—' }}
</template>
</el-table-column>
<el-table-column label="规格" min-width="100" show-overflow-tooltip>
<template #default="{ row }">
{{ row.specText || row.spec_text || '—' }}
</template>
</el-table-column>
<el-table-column prop="qty" label="数量" min-width="72" align="center" />
<el-table-column label="金额(元)" min-width="100" align="right">
<template #default="{ row }">¥{{ formatAmount(row.amount) }}</template>
@@ -145,6 +148,23 @@
<section class="txn-card__section">
<h4 class="txn-card__section-title">财务处理信息</h4>
<template v-if="hasFinanceActivity(txn)">
<!-- 待生效退款:申请时已上传附件,尚未提交财务 -->
<template v-if="showRefundPendingFinanceSection(txn)">
<dl class="txn-card__kv-grid txn-card__kv-grid--sub">
<div class="txn-card__kv txn-card__kv--full txn-card__subhead">
<dt>发起财务确认</dt>
</div>
</dl>
<div class="txn-card__attachments">
<span class="txn-card__attachments-label">退款附件</span>
<ProtocolAttachmentReadonly
:files="refundAttachmentFiles(txn)"
@preview="handlePreviewAttachment"
@download="handleDownloadAttachment"
/>
</div>
</template>
<dl v-if="txn.financeSubmitTime" class="txn-card__kv-grid txn-card__kv-grid--sub">
<div class="txn-card__kv txn-card__kv--full txn-card__subhead">
<dt>发起财务确认</dt>
@@ -166,12 +186,14 @@
</div>
</dl>
<div
v-if="txn.financeSubmitTime && txn.financeSubmitAttachmentFiles?.length"
v-if="txn.financeSubmitTime && financeSubmitAttachmentDisplayFiles(txn).length"
class="txn-card__attachments"
>
<span class="txn-card__attachments-label">提交凭证</span>
<span class="txn-card__attachments-label">{{
txn.txnType === 'refund' ? '退款附件' : '提交凭证'
}}</span>
<ProtocolAttachmentReadonly
:files="txn.financeSubmitAttachmentFiles"
:files="financeSubmitAttachmentDisplayFiles(txn)"
@preview="handlePreviewAttachment"
@download="handleDownloadAttachment"
/>
@@ -276,14 +298,120 @@
<el-dialog
v-model="editVisible"
:title="editDialogTitle"
width="560px"
:width="editDialogWidth"
destroy-on-close
append-to-body
align-center
:close-on-click-modal="false"
class="service-order-txn-edit-dialog"
class="service-order-txn-edit-dialog dialog-form-layout"
style="backdrop-filter: none"
>
<el-form label-position="top" class="dialog-form">
<!-- 购买产品:与新增弹窗一致 -->
<div v-if="canEditProducts(editTxn) && editTxn?.txnType === 'purchase'" class="product-detail-table-wrap">
<el-table :data="editForm.items" stripe size="small" class="list-table inner-table">
<el-table-column type="index" label="序号" min-width="60" align="center" />
<el-table-column label="项目/规格" min-width="260">
<template #default="{ row, $index }">
<el-select
v-model="row.priceId"
class="product-detail-cell-control"
placeholder="选择项目"
filterable
popper-class="project-option-popper"
@change="(v: string) => handleEditPurchasePriceChange(v, $index)"
>
<el-option
v-for="p in getAvailablePriceOptionsForEdit($index)"
:key="p.priceId"
:label="formatProjectOptionLabel(p)"
:value="p.priceId"
/>
</el-select>
</template>
</el-table-column>
<el-table-column label="单价(元)" min-width="100" align="right">
<template #default="{ row }">¥{{ formatAmount(row.unitPrice) }}</template>
</el-table-column>
<el-table-column label="份数" min-width="100">
<template #default="{ row }">
<el-input-number
v-model="row.quantity"
class="product-detail-cell-control"
:min="1"
:precision="0"
controls-position="right"
@change="calcEditItemAmount(row)"
/>
</template>
</el-table-column>
<el-table-column label="金额(元)" min-width="100" align="right">
<template #default="{ row }">¥{{ formatAmount(row.amount) }}</template>
</el-table-column>
<el-table-column label="操作" min-width="60" align="center">
<template #default="{ $index }">
<el-button type="danger" link size="small" @click="removeEditPurchaseItem($index)">
<el-icon><Delete /></el-icon>删除
</el-button>
</template>
</el-table-column>
</el-table>
<div class="product-detail-footer">
<el-button size="small" @click="addEditPurchaseItem">
<el-icon><Plus /></el-icon>添加产品
</el-button>
<span class="product-detail-total">
合计:<span class="product-detail-total-value">¥{{ formatAmount(editPurchaseTotalAmount) }}(元)</span>
</span>
</div>
</div>
<!-- 退订产品:与新增弹窗一致 -->
<div
v-else-if="canEditProducts(editTxn) && editTxn?.txnType === 'unsubscribe'"
class="product-detail-table-wrap product-detail-table-wrap--standard-list"
>
<div class="list-body list-wrap product-detail-list-body">
<el-table
v-if="editForm.items.length"
:data="editForm.items"
stripe
class="list-table inner-table"
>
<el-table-column type="index" label="序号" min-width="60" align="center" />
<el-table-column prop="projectName" label="项目名称" min-width="150" show-overflow-tooltip />
<el-table-column prop="specText" label="规格" min-width="120" show-overflow-tooltip />
<el-table-column label="单价(元)" min-width="100" align="right" header-align="center">
<template #default="{ row }">¥{{ formatAmount(row.agreementUnitPrice) }}</template>
</el-table-column>
<el-table-column prop="currentQty" label="当前持有" min-width="80" align="center" header-align="center" />
<el-table-column label="退订数量" min-width="120" align="center" header-align="center">
<template #default="{ row }">
<el-input-number
v-model="row.unsubscribeQty"
class="product-detail-cell-control"
:min="0"
:max="row.currentQty"
:precision="0"
controls-position="right"
@change="calcEditUnsubscribeAmount(row)"
/>
</template>
</el-table-column>
<el-table-column label="退款金额(元)" min-width="120" align="right" header-align="center">
<template #default="{ row }">¥{{ formatAmount(row.refundAmount) }}</template>
</el-table-column>
</el-table>
<el-empty v-else description="没有可退订的产品" :image-size="48" />
</div>
<div
v-if="editForm.items.some((it: any) => (it.unsubscribeQty || 0) > 0)"
class="product-detail-total product-detail-total--right"
>
退订合计:<span class="product-detail-total-value">¥{{ formatAmount(editUnsubscribeTotalAmount) }}(元)</span>
</div>
</div>
<el-form-item v-if="canEditAmount(editTxn)" label="金额(元)">
<AmountInput
v-model="editForm.amount"
@@ -292,16 +420,13 @@
placeholder="请输入金额"
/>
</el-form-item>
<el-form-item v-else-if="editTxn" label="金额(元)">
<span class="amount-text">¥{{ formatAmount(editTxn.amount) }}</span>
<p v-if="editTxn.txnType === 'purchase' || editTxn.txnType === 'unsubscribe'" class="form-label-tip">
购买/退订流水不可修改金额,请作废后重新发起
</p>
</el-form-item>
<el-form-item label="备注">
<el-form-item label="备注" :style="canEditProducts(editTxn) ? { marginTop: '12px' } : undefined">
<el-input v-model="editForm.remark" type="textarea" :rows="3" placeholder="请输入备注" />
</el-form-item>
<el-form-item v-if="canEditAttachments(editTxn)" label="附件">
<el-form-item
v-if="canEditAttachments(editTxn)"
:label="editTxn?.txnType === 'refund' ? '退款附件' : '附件'"
>
<div class="attachment-upload">
<div class="attachment-list">
<el-upload
@@ -436,7 +561,9 @@ import {
fetchServiceOrderTxnList,
fetchSubmitTxnFinance,
fetchUpdateServiceOrderTxn,
fetchVoidTxn
fetchVoidTxn,
fetchChannelAgreementPrices,
fetchChannelServiceOrderDetail
} from '@/api/admin'
import { fetchUploadAttachment } from '@/api/business'
import { downloadAttachmentFile } from '@/utils/download-attachment'
@@ -494,9 +621,32 @@ const editUploadRef = ref<{ clearFiles?: () => void }>()
const editForm = reactive({
amount: null as number | null,
remark: '',
attachments: [] as any[]
attachments: [] as any[],
items: [] as any[]
})
const agreementProducts = ref<any[]>([])
const editDialogWidth = computed(() => {
const t = editTxn.value?.txnType
if (t === 'purchase') return '880px'
if (t === 'unsubscribe') return '920px'
return '560px'
})
const agreementUniqueProjectCount = computed(() => {
const codes = agreementProducts.value.map((p) => p.projectCode).filter(Boolean)
return new Set(codes).size
})
const editPurchaseTotalAmount = computed(() =>
editForm.items.reduce((sum: number, item: any) => sum + (item.amount || 0), 0)
)
const editUnsubscribeTotalAmount = computed(() =>
editForm.items.reduce((sum: number, item: any) => sum + (item.refundAmount || 0), 0)
)
const editDialogTitle = computed(() => {
if (!editTxn.value) return '编辑流水'
return `编辑${txnTypeLabel(editTxn.value.txnType)}流水`
@@ -543,6 +693,30 @@ const initExpandedState = () => {
const financeSubmitRemarkDisplay = (txn: Record<string, any>) =>
(txn.financeSubmitRemark || txn.remark || '').trim()
const refundAttachmentFiles = (txn: Record<string, any>) =>
Array.isArray(txn.refundAttachmentFiles) ? txn.refundAttachmentFiles : []
/** 发起财务确认区展示的凭证:退款优先 refundAttachmentFiles */
const financeSubmitAttachmentDisplayFiles = (txn: Record<string, any>) => {
if (txn.txnType === 'refund') {
const refundFiles = refundAttachmentFiles(txn)
if (refundFiles.length) return refundFiles
}
return Array.isArray(txn.financeSubmitAttachmentFiles) ? txn.financeSubmitAttachmentFiles : []
}
const txnAttachmentMetaCount = (txn: Record<string, any>) => {
if (txn.txnType === 'refund') return refundAttachmentFiles(txn).length
return txn.financeSubmitAttachmentFiles?.length || 0
}
/** 待生效退款流水:已上传退款附件、尚未提交财务 */
const showRefundPendingFinanceSection = (txn: Record<string, any>) =>
txn.txnType === 'refund' &&
txn.txnStatus === 'dsx' &&
!txn.financeSubmitTime &&
refundAttachmentFiles(txn).length > 0
const showBalanceSnapshot = (txn: Record<string, any>) => {
const t = txn.txnType
if (t !== 'recharge' && t !== 'refund') return false
@@ -550,9 +724,9 @@ const showBalanceSnapshot = (txn: Record<string, any>) => {
return txn.balanceBefore != null || txn.balanceAfter != null
}
/** 仅业务已提交财务或财务已确认/作废后展示财务区块 */
/** 业务已提交财务、财务已确认,或待生效退款已带附件时展示财务区块 */
const hasFinanceActivity = (txn: Record<string, any>) =>
!!(txn.financeSubmitTime || txn.financeConfirmTime)
!!(txn.financeSubmitTime || txn.financeConfirmTime || showRefundPendingFinanceSection(txn))
/** 待生效阶段业务侧作废,作废信息归订单信息 */
const showBusinessVoid = (txn: Record<string, any>) =>
@@ -561,8 +735,201 @@ const showBusinessVoid = (txn: Record<string, any>) =>
const canEditAmount = (txn: Record<string, any> | null) =>
txn?.txnStatus === 'dsx' && (txn.txnType === 'recharge' || txn.txnType === 'refund')
const canEditProducts = (txn: Record<string, any> | null) =>
txn?.txnStatus === 'dsx' && (txn.txnType === 'purchase' || txn.txnType === 'unsubscribe')
const canEditAttachments = (txn: Record<string, any> | null) =>
txn?.txnStatus === 'dsx' && txn.txnType === 'recharge'
txn?.txnStatus === 'dsx' && (txn.txnType === 'recharge' || txn.txnType === 'refund')
const unwrapApiList = (res: any): any[] => {
const d = res?.data ?? res
if (Array.isArray(d)) return d
return d?.list ?? d?.records ?? []
}
function normalizeAgreementPriceRows(rows: any[]) {
return (Array.isArray(rows) ? rows : []).map((p) => ({
priceId: p.id,
projectCode: p.projectCode || '',
projectName: p.projectName || '',
cellTypeCode: p.cellTypeCode || '',
cellTypeName: p.cellTypeName || '',
specText: p.specText || '',
unitPrice: p.agreementPrice ?? p.unitPrice ?? 0
}))
}
const formatProjectOptionLabel = (p: any) => {
const name = p?.projectName || p?.projectCode || '-'
const cellType = p?.cellTypeName || '-'
const spec = p?.specText || '-'
return `${name}(${cellType}、${spec}、¥${formatAmount(p?.unitPrice)})`
}
function applySpecToEditItem(item: any, spec: any) {
if (!item || !spec) return
item.priceId = spec.priceId
item.projectCode = spec.projectCode || ''
item.unitPrice = spec.unitPrice ?? 0
item.specText = spec.specText ?? ''
item.projectName = spec.projectName || item.projectName
item.cellTypeName = spec.cellTypeName || ''
item.cellTypeCode = spec.cellTypeCode || ''
item.amount = (item.unitPrice || 0) * (item.quantity || 1)
}
function resetEditItemFields(item: any) {
item.projectName = ''
item.cellTypeName = ''
item.cellTypeCode = ''
item.priceId = ''
item.unitPrice = 0
item.specText = ''
item.amount = 0
}
const calcEditItemAmount = (item: any) => {
item.amount = (item.unitPrice || 0) * (item.quantity || 0)
}
const calcEditUnsubscribeAmount = (item: any) => {
item.refundAmount = (item.agreementUnitPrice || 0) * (item.unsubscribeQty || 0)
}
const getAvailablePriceOptionsForEdit = (currentIndex: number) => {
const usedProjectCodes = new Set(
editForm.items
.map((it, idx) => (idx !== currentIndex ? it.projectCode : ''))
.filter(Boolean)
)
const currentProjectCode = editForm.items[currentIndex]?.projectCode || ''
return agreementProducts.value.filter((p) => {
if (currentProjectCode && p.projectCode === currentProjectCode) return true
return !usedProjectCodes.has(p.projectCode)
})
}
const addEditPurchaseItem = () => {
if (editForm.items.length >= agreementUniqueProjectCount.value) {
ElMessage.warning('已添加全部可选项目')
return
}
editForm.items.push({
projectCode: '',
projectName: '',
cellTypeCode: '',
cellTypeName: '',
priceId: '',
unitPrice: 0,
quantity: 1,
amount: 0,
specText: ''
})
}
const removeEditPurchaseItem = (index: number) => {
editForm.items.splice(index, 1)
}
const handleEditPurchasePriceChange = (priceId: string, index: number) => {
const item = editForm.items[index]
if (!priceId) {
resetEditItemFields(item)
item.priceId = ''
item.projectCode = ''
return
}
const spec = agreementProducts.value.find((p: any) => p.priceId === priceId)
if (!spec) return
const duplicated = editForm.items.some(
(it, idx) => idx !== index && it.projectCode === spec.projectCode
)
if (duplicated) {
ElMessage.warning('同一项目不能重复添加')
item.priceId = ''
resetEditItemFields(item)
item.projectCode = ''
return
}
resetEditItemFields(item)
item.projectCode = spec.projectCode
applySpecToEditItem(item, spec)
}
function mapTxnProductsToPurchaseItems(products: any[]) {
return (products || []).map((p) => {
const projectCode = p.projectCode || p.project_code || ''
const specText = p.specText || p.spec_text || ''
const spec =
agreementProducts.value.find(
(ap) => ap.projectCode === projectCode && ap.specText === specText
) || agreementProducts.value.find((ap) => ap.projectCode === projectCode)
const qty = Number(p.qty ?? p.quantity ?? 1)
const unitPrice = Number(
p.agreementUnitPrice ?? p.agreement_unit_price ?? spec?.unitPrice ?? 0
)
return {
projectCode,
projectName: p.projectName || p.project_name || spec?.projectName || '',
cellTypeCode: spec?.cellTypeCode || '',
cellTypeName: p.cellType || p.cell_type || spec?.cellTypeName || '',
priceId: spec?.priceId || '',
unitPrice,
quantity: qty,
amount: Number(p.amount ?? unitPrice * qty),
specText: specText || spec?.specText || ''
}
})
}
async function loadAgreementProductsForEdit() {
agreementProducts.value = []
const agreementId = props.order?.channelAgreementId
if (!agreementId) return
try {
const res: any = await fetchChannelAgreementPrices(agreementId)
agreementProducts.value = normalizeAgreementPriceRows(unwrapApiList(res))
} catch {
agreementProducts.value = []
}
}
async function loadUnsubscribeItemsForEdit(txn: Record<string, any>) {
editForm.items = []
const orderId = props.order?.id || txn.serviceOrderId
if (!orderId) return
try {
const res: any = await fetchChannelServiceOrderDetail(orderId)
const detail = res?.data ?? res ?? {}
const holdings = detail.products || []
const txnProducts = txn.products || []
const txnQtyMap = new Map<string, number>()
for (const p of txnProducts) {
const code = p.projectCode || p.project_code || ''
const spec = p.specText || p.spec_text || ''
txnQtyMap.set(`${code}||${spec}`, Number(p.qty || 0))
}
editForm.items = holdings
.map((p: any) => {
const key = `${p.projectCode}||${p.specText || ''}`
const txnQty = txnQtyMap.get(key) || 0
const maxQty = (p.currentQty || 0) + txnQty
return {
projectCode: p.projectCode,
projectName: p.projectName,
cellType: p.cellType,
specText: p.specText,
agreementUnitPrice: p.agreementUnitPrice,
currentQty: maxQty,
unsubscribeQty: txnQty,
refundAmount: txnQty * (p.agreementUnitPrice || 0)
}
})
.filter((p: any) => p.currentQty > 0 || p.unsubscribeQty > 0)
} catch {
editForm.items = []
}
}
const minioBaseUrl = (import.meta.env.VITE_MINIO_BASE_URL || '').replace(/\/$/, '')
@@ -603,11 +970,22 @@ function cloneAttachmentFiles(files: any[] = []) {
return files.map((f) => ({ ...f, _uploading: false }))
}
const openEditDialog = (txn: Record<string, any>) => {
const openEditDialog = async (txn: Record<string, any>) => {
editTxn.value = txn
editForm.amount = Number(txn.amount) || null
editForm.remark = txn.remark || ''
editForm.attachments = cloneAttachmentFiles(txn.financeSubmitAttachmentFiles || [])
editForm.items = []
editForm.attachments = cloneAttachmentFiles(
txn.txnType === 'refund'
? refundAttachmentFiles(txn)
: txn.financeSubmitAttachmentFiles || []
)
if (txn.txnType === 'purchase') {
await loadAgreementProductsForEdit()
editForm.items = mapTxnProductsToPurchaseItems(txn.products || [])
} else if (txn.txnType === 'unsubscribe') {
await loadUnsubscribeItemsForEdit(txn)
}
editVisible.value = true
}
@@ -680,12 +1058,59 @@ const submitEdit = async () => {
}
payload.amount = editForm.amount
}
if (canEditProducts(txn)) {
if (txn.txnType === 'purchase') {
if (!editForm.items.length) {
ElMessage.warning('请至少添加一条产品明细')
return
}
const invalid = editForm.items.some(
(it) => !it.projectCode || !it.priceId || !it.quantity || Number(it.quantity) <= 0
)
if (invalid) {
ElMessage.warning('请完善产品明细')
return
}
payload.products = editForm.items.map((it) => ({
projectCode: it.projectCode,
projectName: it.projectName,
cellType: it.cellTypeName,
specText: it.specText,
agreementUnitPrice: it.unitPrice,
qty: it.quantity,
amount: it.amount
}))
} else if (txn.txnType === 'unsubscribe') {
const validItems = editForm.items.filter((it) => (it.unsubscribeQty || 0) > 0)
if (!validItems.length) {
ElMessage.warning('请至少选择一条退订产品并输入退订数量')
return
}
const overQty = validItems.some((it) => (it.unsubscribeQty || 0) > (it.currentQty || 0))
if (overQty) {
ElMessage.warning('退订数量不能超过当前持有数量')
return
}
payload.products = validItems.map((it) => ({
projectCode: it.projectCode,
projectName: it.projectName,
cellType: it.cellType,
specText: it.specText,
qty: it.unsubscribeQty
}))
}
}
if (canEditAttachments(txn)) {
if (hasUploadingAttachments(editForm.attachments)) {
ElMessage.warning('附件正在上传,请稍候')
return
}
payload.financeSubmitAttachments = joinAttachmentUrls(editForm.attachments)
const attachmentUrls = joinAttachmentUrls(editForm.attachments)
if (txn.txnType === 'refund') {
payload.refundAttachments = attachmentUrls
} else {
payload.financeSubmitAttachments = attachmentUrls
}
}
editLoading.value = true
try {
@@ -744,8 +1169,10 @@ async function confirmSubmitFinance() {
actionType.value = 'submit'
try {
const payload: Record<string, string> = {}
if (txn.financeSubmitAttachments) {
payload.financeSubmitAttachments = txn.financeSubmitAttachments
const submitAttachments =
txn.financeSubmitAttachments || (txn.txnType === 'refund' ? txn.refundAttachments : '')
if (submitAttachments) {
payload.financeSubmitAttachments = submitAttachments
}
if (txn.financeSubmitRemark) {
payload.financeSubmitRemark = txn.financeSubmitRemark
@@ -1079,6 +1506,82 @@ defineExpose({ reload: loadTxnList })
color: var(--mint-text-muted, #64748b);
}
.product-detail-table-wrap {
width: 100%;
.product-detail-footer {
display: flex;
align-items: center;
justify-content: space-between;
padding-top: 12px;
}
.product-detail-total {
font-size: 14px;
color: var(--el-text-color-regular);
&--right {
margin-top: 12px;
text-align: right;
}
.product-detail-total-value {
font-weight: 600;
color: var(--primary, #10b981);
}
}
:deep(.product-detail-cell-control) {
width: 100%;
}
:deep(.product-detail-cell-control.el-select .el-select__wrapper),
:deep(.product-detail-cell-control.el-input-number .el-input__wrapper) {
min-height: 32px;
height: 32px;
box-sizing: border-box;
}
&--standard-list {
.product-detail-list-body {
border: 1px solid var(--mint-border, #e2e8f0);
border-radius: var(--mint-radius, 10px);
overflow: hidden;
background: #fff;
}
:deep(.list-table.el-table) {
--el-table-header-bg-color: var(--mint-table-head, #f8fafc);
--el-table-border-color: var(--mint-border, #e2e8f0);
--el-table-row-hover-bg-color: var(--mint-row-hover, #f0fdf4);
--el-table-text-color: var(--mint-text, #0f172a);
--el-table-header-text-color: var(--mint-text-muted, #64748b);
font-size: 14px;
}
:deep(.list-table th.el-table__cell) {
color: var(--mint-text-muted, #64748b);
font-size: 12px;
font-weight: 600;
}
:deep(.list-table td.el-table__cell) {
color: var(--mint-text, #0f172a);
font-size: 14px;
font-weight: 500;
}
}
}
:global(.project-option-popper .el-select-dropdown__item) {
height: auto;
min-height: 34px;
line-height: 1.45;
white-space: normal;
padding-top: 8px;
padding-bottom: 8px;
}
.attachment-upload {
width: 100%;
}
@@ -153,7 +153,10 @@
</el-button>
<el-button
class="btn-op-item"
v-if="(row.orderType === 'yfk' || row.orderType === 'gmcp') && row.orderStatus === 'dsx'"
v-if="
(row.orderType === 'yfk' && row.orderStatus === 'dsx') ||
(row.orderType === 'gmcp' && (row.orderStatus === 'dsx' || row.orderStatus === 'sxz'))
"
@click="handleEdit(row)"
>
<el-icon><Edit /></el-icon>编辑
@@ -321,6 +324,7 @@
remote
clearable
reserve-keyword
:disabled="formMode === 'edit'"
:remote-method="handleChannelSearch"
:loading="channelSearchLoading"
@visible-change="onChannelSelectVisible"
@@ -344,7 +348,7 @@
placeholder="请先选择渠道,再选择生效中的协议"
filterable
clearable
:disabled="!formData.channelId"
:disabled="!formData.channelId || (formMode === 'edit' && !formAgreementEditable)"
:loading="agreementLoading"
@change="handleAgreementChange"
>
@@ -357,103 +361,10 @@
</el-select>
</el-form-item>
<el-form-item
v-if="formData.orderType === 'gmcp'"
label="本次购买合计(元)"
v-if="formMode === 'edit' && formData.orderType === 'gmcp' && !formAgreementEditable"
class="form-col-span-2"
>
<span class="amount-text">¥{{ formatAmount(formTotalAmount) }}</span>
</el-form-item>
<!-- 购买产品份数 - 产品明细 -->
<el-form-item
v-if="formData.orderType === 'gmcp'"
label="产品明细"
class="form-col-span-2"
>
<div class="product-detail-table-wrap">
<el-table :data="formData.items" border size="small" style="width: 100%">
<el-table-column label="项目" min-width="320">
<template #default="{ row, $index }">
<el-select
v-model="row.priceId"
class="product-detail-cell-control"
popper-class="project-option-popper"
placeholder="选择项目"
filterable
:disabled="!formData.channelAgreementId"
@change="val => handleItemPriceChange(val, $index)"
>
<el-option
v-for="p in getAvailablePriceOptions($index)"
:key="p.priceId"
:label="formatProjectOptionLabel(p)"
:value="p.priceId"
/>
</el-select>
</template>
</el-table-column>
<el-table-column label="细胞类型" min-width="120">
<template #default="{ row }">
{{ displayValue(row.cellTypeName) }}
</template>
</el-table-column>
<el-table-column label="规格" min-width="150">
<template #default="{ row }">
{{ displayValue(row.specText) }}
</template>
</el-table-column>
<el-table-column label="单价(元)" min-width="120" align="right">
<template #default="{ row }">
<AmountInput
v-model="row.unitPrice"
:min="0"
class="product-detail-cell-control"
@change="calcItemAmount(row)"
/>
</template>
</el-table-column>
<el-table-column label="购买份数" min-width="120">
<template #default="{ row }">
<el-input-number
v-model="row.quantity"
class="product-detail-cell-control"
:min="1"
:step="1"
controls-position="right"
@change="calcItemAmount(row)"
/>
</template>
</el-table-column>
<el-table-column label="购买金额(元)" min-width="110" align="right">
<template #default="{ row }">
¥{{ formatAmount(row.amount) }}
</template>
</el-table-column>
<el-table-column label="操作" min-width="70" align="center">
<template #default="{ $index }">
<el-button link type="danger" @click="removeFormItem($index)">
<el-icon><Delete /></el-icon>删除
</el-button>
</template>
</el-table-column>
</el-table>
<div class="product-detail-footer">
<el-button
type="primary"
plain
size="small"
:disabled="
!formData.channelAgreementId ||
formData.items.length >= agreementUniqueProjectCount
"
@click="addFormItem"
>
<el-icon><Plus /></el-icon>添加产品
</el-button>
<span class="product-detail-total">
合计(元):<span class="amount-text">¥{{ formatAmount(formTotalAmount) }}</span>
</span>
</div>
</div>
<p class="form-tip">已有购买记录,渠道协议不可修改;产品请通过「购买产品」录入。</p>
</el-form-item>
<el-form-item label="备注" class="form-col-span-2">
<el-input
@@ -569,7 +480,7 @@
</el-dialog>
<!-- 申请退款弹窗 -->
<el-dialog v-model="refundTxnVisible" title="申请退款" width="480px" destroy-on-close :close-on-click-modal="false">
<el-dialog v-model="refundTxnVisible" title="申请退款" width="640px" destroy-on-close :close-on-click-modal="false">
<el-form label-position="top">
<el-form-item>
<template #label>退款金额(元)<span class="form-label-tip">当前余额:¥{{ formatAmount(currentOrderForTxn?.currentBalance) }}</span></template>
@@ -583,6 +494,73 @@
<el-form-item label="备注">
<el-input v-model="refundTxnForm.remark" type="textarea" :rows="3" placeholder="请输入备注" />
</el-form-item>
<el-form-item label="附件">
<div class="attachment-upload">
<div class="attachment-list">
<el-upload
ref="refundUploadRef"
:auto-upload="false"
:show-file-list="false"
:multiple="true"
accept="image/*,video/*,.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.txt,.zip,.rar"
@change="handleRefundAttachmentChange"
>
<div class="upload-card">
<el-icon :size="28" color="#10b981"><Plus /></el-icon>
<span class="upload-card-text">上传附件</span>
</div>
</el-upload>
<div
v-for="(file, index) in refundTxnForm.attachments"
:key="file.id || index"
class="attachment-item"
:class="{ 'is-uploading': file._uploading }"
>
<div
class="attachment-preview"
@click="
isImageFile(file) && file.fileUrl ? handlePreviewAttachment(file) : undefined
"
>
<template v-if="isImageFile(file) && file.fileUrl">
<img :src="fullFileUrl(file.fileUrl)" :alt="file.fileName" />
</template>
<template v-else-if="isImageFile(file) && !file.fileUrl">
<el-icon :size="24" color="#94a3b8"><Loading /></el-icon>
</template>
<template v-else-if="isVideoFile(file)">
<div class="attachment-preview__icon attachment-preview__icon--video">
<el-icon :size="28"><VideoPlay /></el-icon>
</div>
</template>
<template v-else>
<div class="attachment-preview__icon attachment-preview__icon--doc">
<el-icon :size="28"><Document /></el-icon>
</div>
</template>
</div>
<div class="attachment-footer">
<span class="attachment-name" :title="file.fileName">{{ file.fileName }}</span>
<div class="attachment-actions">
<el-icon class="action-btn" title="预览" @click="handlePreviewAttachment(file)"
><View
/></el-icon>
<el-icon class="action-btn" title="下载" @click="handleDownloadAttachment(file)"
><Download
/></el-icon>
<el-icon
class="action-btn action-btn--danger"
title="删除"
@click="removeRefundAttachment(index)"
><Delete
/></el-icon>
</div>
</div>
</div>
</div>
<span class="upload-hint">支持图片、视频、PDF、Word、Excel 等,可上传多个</span>
</div>
</el-form-item>
</el-form>
<template #footer>
<el-button class="btn-ghost" @click="refundTxnVisible = false">
@@ -602,7 +580,7 @@
<el-table-column type="index" label="序号" min-width="60" align="center" />
<el-table-column label="项目/规格" min-width="260">
<template #default="{ row, $index }">
<el-select v-model="row.priceId" placeholder="选择项目" filterable @change="(v: string) => handlePurchasePriceChange(v, $index)">
<el-select v-model="row.priceId" class="product-detail-cell-control" placeholder="选择项目" filterable @change="(v: string) => handlePurchasePriceChange(v, $index)">
<el-option v-for="p in getAvailablePriceOptionsForPurchase($index)" :key="p.priceId" :label="formatProjectOptionLabel(p)" :value="p.priceId" />
</el-select>
</template>
@@ -612,7 +590,7 @@
</el-table-column>
<el-table-column label="份数" min-width="100">
<template #default="{ row }">
<el-input-number v-model="row.quantity" :min="1" :precision="0" size="small" controls-position="right" @change="calcItemAmount(row)" />
<el-input-number v-model="row.quantity" class="product-detail-cell-control" :min="1" :precision="0" controls-position="right" @change="calcItemAmount(row)" />
</template>
</el-table-column>
<el-table-column label="金额(元)" min-width="100" align="right">
@@ -628,7 +606,9 @@
</el-table>
<div class="product-detail-footer">
<el-button size="small" @click="addPurchaseItem"><el-icon><Plus /></el-icon>添加产品</el-button>
<span class="product-detail-total">合计:¥{{ formatAmount(purchaseTotalAmount) }}</span>
<span class="product-detail-total">
合计:<span class="product-detail-total-value">¥{{ formatAmount(purchaseTotalAmount) }}(元)</span>
</span>
</div>
</div>
<el-form-item label="备注" style="margin-top: 12px;">
@@ -646,9 +626,10 @@
</el-dialog>
<!-- 退订产品弹窗 -->
<el-dialog v-model="unsubscribeVisible" title="退订产品" width="780px" destroy-on-close :close-on-click-modal="false">
<el-dialog v-model="unsubscribeVisible" title="退订产品" width="860px" destroy-on-close :close-on-click-modal="false">
<el-form label-position="top">
<el-table v-if="unsubscribeForm.items.length" :data="unsubscribeForm.items" stripe size="small" class="list-table inner-table">
<div class="product-detail-table-wrap">
<el-table v-if="unsubscribeForm.items.length" :data="unsubscribeForm.items" stripe size="small" class="list-table inner-table">
<el-table-column type="index" label="序号" min-width="60" align="center" />
<el-table-column prop="projectName" label="项目名称" min-width="150" show-overflow-tooltip />
<el-table-column prop="specText" label="规格" min-width="120" show-overflow-tooltip />
@@ -658,16 +639,20 @@
<el-table-column prop="currentQty" label="当前持有" min-width="80" align="center" />
<el-table-column label="退订数量" min-width="120">
<template #default="{ row }">
<el-input-number v-model="row.unsubscribeQty" :min="0" :max="row.currentQty" :precision="0" size="small" controls-position="right" @change="calcUnsubscribeAmount(row)" />
<el-input-number v-model="row.unsubscribeQty" class="product-detail-cell-control" :min="0" :max="row.currentQty" :precision="0" controls-position="right" @change="calcUnsubscribeAmount(row)" />
</template>
</el-table-column>
<el-table-column label="退款金额(元)" min-width="120" align="right">
<template #default="{ row }">¥{{ formatAmount(row.refundAmount) }}</template>
</el-table-column>
</el-table>
<el-empty v-else description="没有可退订的产品" :image-size="48" />
<div v-if="unsubscribeForm.items.some((it: any) => (it.unsubscribeQty || 0) > 0)" style="margin-top: 12px; text-align: right; font-weight: 600;">
退订合计:¥{{ formatAmount(unsubscribeTotalAmount) }}
</el-table>
<el-empty v-else description="没有可退订的产品" :image-size="48" />
<div
v-if="unsubscribeForm.items.some((it: any) => (it.unsubscribeQty || 0) > 0)"
class="product-detail-total product-detail-total--right"
>
退订合计:<span class="product-detail-total-value">¥{{ formatAmount(unsubscribeTotalAmount) }}(元)</span>
</div>
</div>
<el-form-item label="备注" style="margin-top: 12px;">
<el-input v-model="unsubscribeForm.remark" type="textarea" :rows="2" placeholder="请输入备注" />
@@ -1014,6 +999,8 @@ const formMode = ref<'add' | 'edit'>('add')
const submitLoading = ref(false)
const formRef = ref<FormInstance>()
const currentEditId = ref('')
/** gmcp 编辑:无购买流水时可改协议 */
const formAgreementEditable = ref(true)
const initFormData = () => ({
orderType: 'yfk',
@@ -1232,6 +1219,7 @@ const handleOrderTypeChange = () => {
const handleAdd = () => {
formMode.value = 'add'
formAgreementEditable.value = true
currentEditId.value = ''
Object.assign(formData, initFormData())
channelOptions.value = []
@@ -1253,35 +1241,16 @@ const handleEdit = async (row: any) => {
formData.deptName = detail.deptName || ''
formData.channelAgreementId = detail.channelAgreementId || ''
formData.remark = detail.remark || ''
formAgreementEditable.value =
formData.orderType === 'gmcp'
? detail.agreementEditable !== false
: detail.orderStatus === 'dsx'
if (detail.channelId) {
await handleChannelSearch(detail.channelName || '')
await loadAgreements(formData.channelId)
}
if (formData.orderType === 'gmcp' && formData.channelId) {
if (formData.channelAgreementId) {
const pRes: any = await fetchChannelAgreementPrices(formData.channelAgreementId)
agreementProducts.value = normalizeAgreementPriceRows(unwrapApiList(pRes))
}
formData.items = (detail.products || []).map((it: any) => {
const priceRow = agreementProducts.value.find(
(p: any) => p.projectCode === it.projectCode && p.specText === it.specText
)
return {
projectCode: it.projectCode || '',
projectName: it.projectName || '',
cellTypeCode: priceRow?.cellTypeCode || '',
cellTypeName: it.cellType || priceRow?.cellTypeName || '',
priceId: priceRow?.priceId || '',
unitPrice: it.agreementUnitPrice ?? priceRow?.unitPrice ?? 0,
quantity: it.buyQty ?? 1,
amount: it.buyAmount ?? 0,
specText: it.specText || ''
}
})
} else {
formData.items = []
}
formData.items = []
} catch (e) {
console.error('加载订单详情失败:', e)
}
@@ -1299,63 +1268,25 @@ const handleFormSubmit = async () => {
return
}
if (formData.orderType === 'gmcp') {
if (!formData.items.length) {
ElMessage.warning('请至少添加一条产品明细')
return
}
const projectCodes = formData.items.map((it) => it.projectCode).filter(Boolean)
if (new Set(projectCodes).size !== projectCodes.length) {
ElMessage.warning('同一项目不能重复添加')
return
}
const invalid = formData.items.some(
(it) => !it.projectCode || !it.priceId || !it.quantity || Number(it.quantity) <= 0
)
if (invalid) {
ElMessage.warning('请完善产品明细中的项目、规格与购买份数')
return
}
}
submitLoading.value = true
try {
const payload: Record<string, any> = {
orderType: formData.orderType,
channelId: formData.channelId,
deptName: formData.deptName,
remark: formData.remark
}
if (formData.orderType === 'yfk') {
payload.channelAgreementId = formData.channelAgreementId
} else {
payload.channelAgreementId = formData.channelAgreementId
payload.products = formData.items.map((it) => ({
projectCode: it.projectCode,
projectName: it.projectName,
cellType: it.cellTypeName || it.cellType,
specText: it.specText,
agreementUnitPrice: it.unitPrice,
buyQty: it.quantity,
buyAmount: it.amount
}))
}
if (formMode.value === 'add') {
const payload: Record<string, any> = {
orderType: formData.orderType,
channelId: formData.channelId,
deptName: formData.deptName,
channelAgreementId: formData.channelAgreementId,
remark: formData.remark
}
await fetchCreateChannelServiceOrder(payload)
ElMessage.success('创建成功')
} else {
if (formData.orderType === 'gmcp') {
payload.products = formData.items.map((it) => ({
projectCode: it.projectCode,
projectName: it.projectName,
cellType: it.cellTypeName || it.cellType,
specText: it.specText,
agreementUnitPrice: it.unitPrice,
buyQty: it.quantity,
buyAmount: it.amount
}))
const payload: Record<string, any> = {
deptName: formData.deptName,
remark: formData.remark
}
if (formAgreementEditable.value && formData.channelAgreementId) {
payload.channelAgreementId = formData.channelAgreementId
}
await fetchUpdateChannelServiceOrder(currentEditId.value, payload)
ElMessage.success('更新成功')
@@ -1472,26 +1403,46 @@ const refundTxnVisible = ref(false)
const refundTxnLoading = ref(false)
const refundTxnForm = reactive({
amount: null as number | null,
remark: ''
remark: '',
attachments: [] as any[]
})
const openRefundDialog = (row: any) => {
currentOrderForTxn.value = row
refundTxnForm.amount = null
refundTxnForm.remark = ''
refundTxnForm.attachments = []
refundTxnVisible.value = true
}
const refundUploadRef = ref()
const handleRefundAttachmentChange = (uploadFile: any) => {
const file = uploadFile.raw || uploadFile
if (!file) return
uploadAttachmentItem(file, refundTxnForm.attachments, refundUploadRef, 'channel-service-order-refund')
}
const removeRefundAttachment = (index: number) => {
refundTxnForm.attachments.splice(index, 1)
}
const submitRefundTxn = async () => {
if (!refundTxnForm.amount || refundTxnForm.amount <= 0) {
ElMessage.warning('请输入退款金额')
return
}
if (hasUploadingAttachments(refundTxnForm.attachments)) {
ElMessage.warning('附件正在上传,请稍候')
return
}
refundTxnLoading.value = true
try {
const attachmentUrls = joinAttachmentUrls(refundTxnForm.attachments)
const res: any = await fetchCreateRefundTxn(currentOrderForTxn.value.id, {
amount: refundTxnForm.amount,
remark: refundTxnForm.remark
remark: refundTxnForm.remark,
attachments: attachmentUrls || undefined
})
const txn = res?.data ?? res
refundTxnVisible.value = false
@@ -1698,6 +1649,9 @@ const submitUnsubscribe = async () => {
try {
const products = validItems.map((it) => ({
projectCode: it.projectCode,
projectName: it.projectName,
specText: it.specText,
agreementUnitPrice: it.agreementUnitPrice,
qty: it.unsubscribeQty
}))
const res: any = await fetchCreateUnsubscribeTxn(currentOrderForTxn.value.id, {
@@ -1923,6 +1877,16 @@ onMounted(() => {
.product-detail-total {
font-size: 14px;
color: var(--el-text-color-regular);
&--right {
margin-top: 12px;
text-align: right;
}
.product-detail-total-value {
font-weight: 600;
color: var(--primary, #10b981);
}
}
:deep(.product-detail-cell-control) {
@@ -1932,6 +1896,7 @@ onMounted(() => {
:deep(.product-detail-cell-control.el-select .el-select__wrapper),
:deep(.product-detail-cell-control.el-input-number .el-input__wrapper) {
min-height: 32px;
height: 32px;
box-sizing: border-box;
}
}