valentichu il y a 1 an
Parent
commit
4564a5b152

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
lib/index.js


+ 1 - 1
src/App.jsx

@@ -16,7 +16,7 @@ function Home(props) {
         // }}
       ></Alarm.DetailModal>
       {/* <Alarm.ComplexConfig ref={compRef} editId={50}></Alarm.ComplexConfig> */}
-      <button onClick={() => compRef?.current?.ok()}>测试</button>
+      {/* <button onClick={() => compRef?.current?.ok()}>测试</button> */}
       {/* <Alarm.EasyConfig
         ref={compRef}
         pointId="ZWB_ALARM_chr_5_AE"

+ 1 - 0
src/pages/Alarm/components/components/AlarmDetail/index.jsx

@@ -353,6 +353,7 @@ const Index = (props) => {
           <div className={styles.range}>
             <RangePicker
               showTime
+              format="YYYY-MM-DD HH:mm"
               value={range}
               onChange={setRange}
               style={{ width: 360, marginTop: 20 }}

+ 6 - 9
src/pages/Alarm/components/components/AlarmHistory/index.jsx

@@ -248,24 +248,21 @@ const Index = (props) => {
     {
       title: TranslateText(["操作", "Operation"]),
       dataIndex: "action",
-      width: 120,
+      width: 150,
       fixed: "right",
       render: (_, record) => (
         <div style={{ display: "flex" }}>
-          <Button
-            onClick={() => props.onSelect(record)}
-            style={{ width: 0 }}
-            type="link"
-          >
+          <a onClick={() => props.onSelect(record)} type="link">
             详情
-          </Button>
-          <Button
+          </a>
+          <a
             onClick={() => onConfirm(record)}
             type="link"
             disabled={record.op_status === 1}
+            style={{ marginLeft: 10 }}
           >
             {record.op_status !== 1 ? "确认" : "已确认"}
-          </Button>
+          </a>
         </div>
       ),
     },

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff