导入excel表格上传参数 下载模板 参数枚举值补充 查看修改 保存参数 限制 只有admin可以修改
This commit is contained in:
@@ -434,12 +434,14 @@ export default function DeviceOverviewPage() {
|
||||
const params = {
|
||||
deviceId: data.serialNumber,
|
||||
}
|
||||
setCurrentParamDevice(data);
|
||||
setParamModalOpen(true);
|
||||
return;
|
||||
|
||||
hasPermission(params).then(res => {
|
||||
if (res.code == 200) {
|
||||
if (res.data) {
|
||||
setCurrentParamDevice(data);
|
||||
setParamModalOpen(true);
|
||||
|
||||
} else {
|
||||
utils.message.error(t('devices.noPermission'));
|
||||
}
|
||||
@@ -635,7 +637,7 @@ export default function DeviceOverviewPage() {
|
||||
<Col xs={24} lg={14}>
|
||||
<Card title={<><EnvironmentOutlined />{t('devices.fixed2Equipment')}</>} extra={<Button type="text" icon={<SettingOutlined />} />} variant="borderless" style={{ borderRadius: 8, marginBottom: 8 }} styles={{ body: { padding: 0 } }}>
|
||||
<div style={{ width: '100%', height: 350, borderRadius: 8, position: 'relative', overflow: 'hidden' }}>
|
||||
<div style={{ position: 'absolute', zIndex: 9999, top: 12, left: 12, background: 'rgba(255,255,255,0.95)', borderRadius: 6, padding: 8 }}>
|
||||
<div style={{ position: 'absolute', zIndex: 11, top: 12, left: 12, background: 'rgba(255,255,255,0.95)', borderRadius: 6, padding: 8 }}>
|
||||
<div style={{ fontSize: 11, fontWeight: 60, marginBottom: 4 }}>{t('devices.s22')}</div>
|
||||
<div style={{ display: 'flex', flexDirection: 'column', gap: 4, fontSize: 10 }}>
|
||||
<div><span style={{ color: '#1890ff' }}>———</span>{t('devices.fixed2Inspection')}</div>
|
||||
|
||||
Reference in New Issue
Block a user