From 9b343de810b0753f1b8d9b3c1504a5b1a2823678 Mon Sep 17 00:00:00 2001 From: zhaoy <137053305@qq.com> Date: Fri, 2 Feb 2024 15:42:23 +0800 Subject: [PATCH] z --- src/pages/device/deviceVesion/index.jsx | 22 +- .../productmanage/components/CreateTopis.jsx | 10 +- src/pages/device/productmanage/index.jsx | 224 ++++++++++++++---- 3 files changed, 199 insertions(+), 57 deletions(-) diff --git a/src/pages/device/deviceVesion/index.jsx b/src/pages/device/deviceVesion/index.jsx index 1380ee5..78fe8e2 100644 --- a/src/pages/device/deviceVesion/index.jsx +++ b/src/pages/device/deviceVesion/index.jsx @@ -136,17 +136,17 @@ const GoodsTypeManage = () => { dataIndex: 'productName', valueType: 'textarea', }, - { - title: '是否存在模板', - dataIndex: 'templatePath', - valueType: 'textarea', - hideInSearch: true, - render: (_, record) => [ -
- 存在模板 - 无模板 -
], - }, + // { + // title: '是否存在模板', + // dataIndex: 'templatePath', + // valueType: 'textarea', + // hideInSearch: true, + // render: (_, record) => [ + //
+ // 存在模板 + // 无模板 + //
], + // }, { title: '操作', dataIndex: 'option', diff --git a/src/pages/device/productmanage/components/CreateTopis.jsx b/src/pages/device/productmanage/components/CreateTopis.jsx index 2a39da9..94ca18f 100644 --- a/src/pages/device/productmanage/components/CreateTopis.jsx +++ b/src/pages/device/productmanage/components/CreateTopis.jsx @@ -51,7 +51,7 @@ const onChange=(e)=>{ // initialValues={props?.values} onFinish={()=>{ form.setFieldsValue({ - topics:"/"+props.productCode+"/${deviceKey}/use/"+topics + topics:"/"+props.productCode+"/"+props.productVesion+"/${deviceKey}/use/"+topics }) console.log(form.getFieldsValue()) props?.onFinish(form.getFieldsValue()) @@ -61,20 +61,20 @@ const onChange=(e)=>{ - +