Kaynağa Gözat

部分弹窗标题添加编辑标题

code4eat 2 yıl önce
ebeveyn
işleme
0e20c13959

+ 2 - 2
src/pages/setting/manaPerformanceSet/classAssessAndGradeSet/index.tsx

@@ -2,7 +2,7 @@
  * @Author: code4eat awesomedema@gmail.com
  * @Date: 2023-03-03 11:30:33
  * @LastEditors: code4eat awesomedema@gmail.com
- * @LastEditTime: 2023-03-31 12:32:11
+ * @LastEditTime: 2023-03-31 13:23:29
  * @FilePath: /KC-MiddlePlatform/src/pages/platform/setting/pubDicTypeMana/index.tsx
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  */
@@ -190,7 +190,7 @@ export default function ClassAssessAndGradeSet() {
                                 <div className='wrap'>
                                     <ProFormDigit width={100} name={`floor${item.code}`} placeholder='分数下限' />
                                     <ProFormDigit width={100} name={`ceiling${item.code}`} placeholder='分数上限' />
-                                    <ProFormDigit width={144} name={`rate${item.code}`} placeholder='惩系数' />
+                                    <ProFormDigit width={144} name={`rate${item.code}`} placeholder='惩系数' />
                                 </div>
                             </div>
                         )

+ 7 - 7
src/pages/setting/manaPerformanceSet/indicGroupWeightSet/index.tsx

@@ -2,7 +2,7 @@
  * @Author: code4eat awesomedema@gmail.com
  * @Date: 2023-03-03 11:30:33
  * @LastEditors: code4eat awesomedema@gmail.com
- * @LastEditTime: 2023-03-31 10:42:53
+ * @LastEditTime: 2023-03-31 13:37:11
  * @FilePath: /KC-MiddlePlatform/src/pages/platform/setting/pubDicTypeMana/index.tsx
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  */
@@ -95,7 +95,7 @@ export default function IndicGroupWeightSet() {
         {
             title: '操作',
             key: 'option',
-            width: 120,
+            width: 160,
             valueType: 'option',
             render: (_: any, record: any) => {
                 return [
@@ -221,7 +221,7 @@ export default function IndicGroupWeightSet() {
         const ref = React.createRef<{ save: any; }>();
 
         Modal.confirm({
-            title: '添加分组核算单元',
+            title: `添加分组核算单元(${record.groupName})`,
             icon: <></>,
             width: 672,
             content: <TableTransfer
@@ -383,16 +383,16 @@ export default function IndicGroupWeightSet() {
 
         const title = () => {
             if (type == 'ADD') {
-                return '新增指标分组'
+                return `新增指标分组(${record.groupName})`
             }
             if (type == 'EDIT') {
-                return '编辑指标分组'
+                return `编辑指标分组(${record.groupName})`
             }
             if (type == 'INDICATOR') {
-                return '分组指标设置'
+                return `分组指标设置(${record.groupName})`
             }
             if (type == 'UNIT') {
-                return '单元设置'
+                return `单元设置(${record.groupName})`
             }
         }
 

+ 2 - 2
src/pages/setting/manaPerformanceSet/manaIndicItemSet/index.tsx

@@ -2,7 +2,7 @@
  * @Author: code4eat awesomedema@gmail.com
  * @Date: 2023-03-03 11:30:33
  * @LastEditors: code4eat awesomedema@gmail.com
- * @LastEditTime: 2023-03-31 12:15:11
+ * @LastEditTime: 2023-03-31 13:35:09
  * @FilePath: /KC-MiddlePlatform/src/pages/platform/setting/pubDicTypeMana/index.tsx
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  */
@@ -135,7 +135,7 @@ export default function manaIndicItemSet() {
 
         return (
             <ModalForm
-                title={`${type == 'EDIT' ? '编辑' : '新增'}管理指标项目`}
+                title={`${type == 'EDIT' ? '编辑' : '新增'}管理指标项目(${record.name})`}
                 width={352}
                 initialValues={type == 'EDIT' ? { ...record } : {}}
                 trigger={