| ... | ... | @@ -14,7 +14,9 @@ | 
| 14 | 14 | <template #importType="{ model }"> | 
| 15 | 15 | <RadioGroup v-model:value="model.importType"> | 
| 16 | 16 | <Radio value="2">JSON导入</Radio> | 
| 17 |  | -          <Radio value="1">Excel导入</Radio> | 
|  | 17 | +          <Authority :value="['api:yt:things_model:excel_import']"> | 
|  | 18 | +            <Radio value="1">Excel导入</Radio> | 
|  | 19 | +          </Authority> | 
| 18 | 20 | </RadioGroup> | 
| 19 | 21 | <div v-if="model.importType === '1'" class="absolute -left-28"> | 
| 20 | 22 | <Button @click="handleTemplateDownload" type="link">excel模板下载</Button> | 
| ... | ... | @@ -39,6 +41,7 @@ | 
| 39 | 41 | } from '/@/api/device/modelOfMatter'; | 
| 40 | 42 | import { useLoading } from '/@/components/Loading'; | 
| 41 | 43 | import { BasicForm, useForm } from '/@/components/Form'; | 
|  | 44 | +  import { Authority } from '/@/components/Authority'; | 
| 42 | 45 |  | 
| 43 | 46 | const emits = defineEmits(['register', 'handleImportCSV', 'handleReload']); | 
| 44 | 47 |  | 
... | ... |  |