| | |
| | | width: 110, |
| | | align: 'left', |
| | | sort: true, |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: 'record_ldNumber', |
| | |
| | | sort: true, |
| | | width: 110, |
| | | align: 'left', |
| | | formatter: (row) => { |
| | | try { |
| | | // è§£æJSONå符串为对象 |
| | | var dict1 = { |
| | | "2å·åè£
ä½":"3线åºåè£
å°", |
| | | "1å·åè£
ä½":"2线åºåè£
å°" |
| | | }; |
| | | row.record_outstation = dict1[row.record_outstation] ?? row.record_outstation; |
| | | return `${row.record_outstation || '-'}`; |
| | | } catch (e) { |
| | | // è§£æå¤±è´¥æ¶è¿åå好æç¤º |
| | | return 'æ°æ®æ ¼å¼å¼å¸¸'; |
| | | } |
| | | }, |
| | | }, |
| | | { |
| | | field: 'record_direction', |
| | |
| | | sort: true, |
| | | width: 110, |
| | | align: 'left', |
| | | formatter: (row) => { |
| | | try { |
| | | // è§£æJSONå符串为对象 |
| | | var dict1 = { |
| | | "左侧":"轴端", |
| | | "å³ä¾§":"é轴端" |
| | | }; |
| | | row.record_direction = dict1[row.record_direction] ?? row.record_direction; |
| | | return `${row.record_direction || '-'}`; |
| | | } catch (e) { |
| | | // è§£æå¤±è´¥æ¶è¿åå好æç¤º |
| | | return 'æ°æ®æ ¼å¼å¼å¸¸'; |
| | | } |
| | | }, |
| | | }, |
| | | { |
| | | field: 'Standard_value', |
| | | title: 'åæ ¼è¯éé', |
| | | type: 'string', // æ string æ¹æ textï¼å¾å¤å°è£
ç»ä»¶è®¤ text èé stringï¼ |
| | | align: 'left', |
| | | sort: true, |
| | | width: 140, // æ¾å¼è®¾ç½®å®½åº¦ï¼é¿å
宽度为0 |
| | | }, |
| | | { |
| | | field: 'record_inboundTime', |
| | |
| | | sort: true, |
| | | width: 110, |
| | | align: 'left', |
| | | hidden: true, |
| | | }, |
| | | ]); |
| | | const detail = ref({ |