Source/plt-web/plt-web-ui/src/views/system/role/index.vue
@@ -61,7 +61,7 @@
    </el-dialog>
    <!-- 导入角色  -->
    <upload-file ref="upload" :fileType="upFileType" :fileUrl="fileUrl" @updata="getTableList" title="导入角色"></upload-file>
    <upload-file ref="upload" :tipList="tipList" :fileType="upFileType" :fileUrl="fileUrl" @updata="getTableList" title="导入角色"></upload-file>
  </basic-container>
</template>
@@ -132,11 +132,13 @@
            label: '角色',
            prop: 'pkPersonName',
            sortable: true,
            overHidden: true,
          },
        ]
      },
      upFileType: ['xls', 'xlsx'],
      fileUrl: 'api/roleQueryController/importRole',
      tipList:["角色导入只有 名称 和 描述 两列,且名称为必输项不能为空"]
    }
  },
  methods: {