diff --git a/src/api/supervision-boot/database/index.ts b/src/api/supervision-boot/database/index.ts
new file mode 100644
index 00000000..6178e8dd
--- /dev/null
+++ b/src/api/supervision-boot/database/index.ts
@@ -0,0 +1,40 @@
+import createAxios from '@/utils/request'
+/**
+ * 查询所有算法库树结构
+ */
+export const queryAllAlgorithmLibrary = () => {
+ return createAxios({
+ url: '/supervision-boot/libalgorithm/queryAllAlgorithmLibrary',
+ method: 'GET'
+ })
+}
+/**
+ * 算法库新增
+ */
+export const addAlgorithm = (data: any) => {
+ return createAxios({
+ url: '/supervision-boot/libalgorithm/add',
+ method: 'POST',
+ data
+ })
+}
+/**
+ * 算法库删除
+ */
+export const deleteyById = (data: any) => {
+ return createAxios({
+ url: '/supervision-boot/libalgorithm/deleteyById',
+ method: 'GET',
+ params:data
+ })
+}
+/**
+ * 算法库修改
+ */
+export const updateAlgorithmLibrary = (data: any) => {
+ return createAxios({
+ url: '/supervision-boot/libalgorithm/updateAlgorithmLibrary',
+ method: 'POST',
+ data
+ })
+}
diff --git a/src/components/table/index.vue b/src/components/table/index.vue
index 87ae2de9..9174978d 100644
--- a/src/components/table/index.vue
+++ b/src/components/table/index.vue
@@ -8,7 +8,7 @@
v-bind="Object.assign({}, defaultAttribute, $attrs)"
@checkbox-all="selectChangeEvent"
@checkbox-change="selectChangeEvent"
- :showOverflow='showOverflow'
+ :showOverflow="showOverflow"
>
@@ -59,7 +59,7 @@
-
diff --git a/src/views/pqs/supervise/testRun/index.vue b/src/views/pqs/supervise/testRun/index.vue
index 0ddca1ca..02ed4d1b 100644
--- a/src/views/pqs/supervise/testRun/index.vue
+++ b/src/views/pqs/supervise/testRun/index.vue
@@ -257,7 +257,7 @@ onMounted(() => {
const checkboxConfig = reactive({
labelField: '',
checkMethod: ({ row }) => {
- return !(row.testRunState == 1 || row.testRunState == 2)
+ return adminInfo.roleCode.includes('delete_info') || !(row.testRunState == 1 || row.testRunState == 2)
}
})
const deleteEven = () => {