Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigDataSystem
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
bigDataSystem
Commits
b5e04af4
Commit
b5e04af4
authored
Dec 06, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改我创建的文件
parent
9ff61fe8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
102 additions
and
15 deletions
+102
-15
datasetByApplyDetail.vue
...velopment/dataSet/dataSetByApply/datasetByApplyDetail.vue
+1
-1
index.vue
...mallResourceDevelopment/dataSet/datasetByCreate/index.vue
+34
-6
fileByApplyData.ts
...llResourceDevelopment/file/fileByApply/fileByApplyData.ts
+32
-0
fileByApplyDetail.vue
...esourceDevelopment/file/fileByApply/fileByApplyDetail.vue
+2
-2
index.vue
...views/mallResourceDevelopment/file/fileByCreate/index.vue
+33
-6
No files found.
src/views/mallResourceDevelopment/dataSet/dataSetByApply/datasetByApplyDetail.vue
View file @
b5e04af4
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
</template>
</template>
</BasicTable>
</BasicTable>
</div>
</div>
<span
style=
"font-weight: bold
;
font-size: 16px; margin-left: 35px"
>
推送记录
</span>
<span
style=
"font-weight: bold
;
font-size: 16px; margin-left: 35px"
>
推送记录
</span>
<div
class=
"flex"
>
<div
class=
"flex"
>
<div
style=
"width: 45%"
>
<div
style=
"width: 45%"
>
<BasicTable
@
register=
"registerPushTypeTable"
/>
<BasicTable
@
register=
"registerPushTypeTable"
/>
...
...
src/views/mallResourceDevelopment/dataSet/datasetByCreate/index.vue
View file @
b5e04af4
...
@@ -10,9 +10,25 @@
...
@@ -10,9 +10,25 @@
<span
class=
"path"
>
我创建的
</span>
<span
class=
"path"
>
我创建的
</span>
</div>
</div>
</div>
</div>
<a-button
style=
"margin-left: 550px"
type=
"primary"
@
click=
"deleteButton"
>
删除
</a-button>
<a-button
<a-button
style=
"margin-left: 10px"
type=
"primary"
@
click=
"handleMove(1)"
>
移动
</a-button>
style=
"margin-left: 550px"
<a-button
style=
"margin-left: 10px"
type=
"primary"
@
click=
"batchUploading"
type=
"primary"
:disabled=
"isDisabled === true"
@
click=
"deleteButton"
>
删除
</a-button
>
<a-button
style=
"margin-left: 10px"
type=
"primary"
:disabled=
"isDisabled === true"
@
click=
"handleMove(1)"
>
移动
</a-button
>
<a-button
style=
"margin-left: 10px"
type=
"primary"
:disabled=
"isDisabled === true"
@
click=
"batchUploading"
>
批量上架
</a-button
>
批量上架
</a-button
>
>
<a-button
style=
"margin-left: 10px"
type=
"primary"
@
click=
"handleNewFolder"
<a-button
style=
"margin-left: 10px"
type=
"primary"
@
click=
"handleNewFolder"
...
@@ -88,7 +104,7 @@
...
@@ -88,7 +104,7 @@
</PageWrapper>
</PageWrapper>
</template>
</template>
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
import
{
onMounted
}
from
'vue'
;
import
{
onMounted
,
ref
}
from
'vue'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
PageWrapper
}
from
'@/components/Page'
;
import
{
PageWrapper
}
from
'@/components/Page'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
...
@@ -103,6 +119,8 @@
...
@@ -103,6 +119,8 @@
import
{
router
}
from
'@/router'
;
import
{
router
}
from
'@/router'
;
import
EditFileModal
from
'@/views/mallResourceDevelopment/dataSet/datasetByCreate/editFileModal.vue'
;
import
EditFileModal
from
'@/views/mallResourceDevelopment/dataSet/datasetByCreate/editFileModal.vue'
;
const
isDisabled
=
ref
();
const
{
createMessage
,
createConfirm
}
=
useMessage
();
const
{
createMessage
,
createConfirm
}
=
useMessage
();
const
[
registerMoveFile
,
{
openModal
:
openMoveFileModal
}]
=
useModal
();
const
[
registerMoveFile
,
{
openModal
:
openMoveFileModal
}]
=
useModal
();
const
[
registerNewFolder
,
{
openModal
:
openNewFolderModal
}]
=
useModal
();
const
[
registerNewFolder
,
{
openModal
:
openNewFolderModal
}]
=
useModal
();
...
@@ -123,7 +141,10 @@
...
@@ -123,7 +141,10 @@
return
{
...
response
};
return
{
...
response
};
},
},
rowKey
:
'businessId'
,
rowKey
:
'businessId'
,
rowSelection
:
true
,
rowSelection
:
{
type
:
'checkbox'
,
onChange
:
onSelectionChange
,
},
columns
,
columns
,
formConfig
:
{
formConfig
:
{
labelWidth
:
10
,
labelWidth
:
10
,
...
@@ -180,9 +201,14 @@
...
@@ -180,9 +201,14 @@
});
});
}
}
function
onSelectionChange
()
{
isDisabled
.
value
=
getRowSelection
().
selectedRowKeys
<=
0
;
}
function
handleUpload
()
{
function
handleUpload
()
{
createMessage
.
success
(
'上架成功!'
);
createMessage
.
success
(
'上架成功!'
);
}
}
function
handDelete
()
{
function
handDelete
()
{
createMessage
.
success
(
'删除成功!'
);
createMessage
.
success
(
'删除成功!'
);
}
}
...
@@ -213,7 +239,9 @@
...
@@ -213,7 +239,9 @@
reload
();
reload
();
}
}
onMounted
(()
=>
{});
onMounted
(()
=>
{
isDisabled
.
value
=
true
;
});
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.title
{
.title
{
...
...
src/views/mallResourceDevelopment/file/fileByApply/fileByApplyData.ts
View file @
b5e04af4
...
@@ -481,6 +481,38 @@ export const pushTypeData: any[] = [
...
@@ -481,6 +481,38 @@ export const pushTypeData: any[] = [
target
:
'admin-个人工作区/inceptor/db-001/table1'
,
target
:
'admin-个人工作区/inceptor/db-001/table1'
,
pushType
:
'增量'
,
pushType
:
'增量'
,
},
},
{
target
:
'admin-个人工作区/inceptor/db-001/table1'
,
pushType
:
'增量'
,
},
{
target
:
'admin-个人工作区/inceptor/db-001/table1'
,
pushType
:
'增量'
,
},
{
target
:
'admin-个人工作区/inceptor/db-001/table1'
,
pushType
:
'增量'
,
},
{
target
:
'admin-个人工作区/inceptor/db-001/table1'
,
pushType
:
'增量'
,
},
{
target
:
'admin-个人工作区/inceptor/db-001/table1'
,
pushType
:
'增量'
,
},
{
target
:
'admin-个人工作区/inceptor/db-001/table1'
,
pushType
:
'增量'
,
},
{
target
:
'admin-个人工作区/inceptor/db-001/table1'
,
pushType
:
'增量'
,
},
{
target
:
'admin-个人工作区/inceptor/db-001/table1'
,
pushType
:
'增量'
,
},
];
];
export
const
dataRangeData
=
{
export
const
dataRangeData
=
{
custom
:
'id>200'
,
custom
:
'id>200'
,
...
...
src/views/mallResourceDevelopment/file/fileByApply/fileByApplyDetail.vue
View file @
b5e04af4
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
:schema=
"permissionsInfo"
:schema=
"permissionsInfo"
/>
/>
<div
class=
"mianBodyEditContainer"
>
<div
class=
"mianBodyEditContainer"
>
<Tabs
v-model:activeKey=
"page"
size=
"large"
>
<Tabs
style=
"padding-left: 20px"
v-model:activeKey=
"page"
size=
"large"
>
<a-tab-pane
key=
"1"
tab=
"采样数据"
>
<a-tab-pane
key=
"1"
tab=
"采样数据"
>
<div
v-if=
"page === '1'"
>
<div
v-if=
"page === '1'"
>
<BasicTable
@
register=
"registerColumnInformationDataTable"
>
<BasicTable
@
register=
"registerColumnInformationDataTable"
>
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
</template>
</template>
</BasicTable>
</BasicTable>
</div>
</div>
<span
style=
"font-size: 16px; margin-left: 35px"
>
推送记录
</span>
<span
style=
"font-
weight: bold; font-
size: 16px; margin-left: 35px"
>
推送记录
</span>
<div
class=
"flex"
>
<div
class=
"flex"
>
<div
style=
"width: 45%"
>
<div
style=
"width: 45%"
>
<BasicTable
@
register=
"registerPushTypeTable"
/>
<BasicTable
@
register=
"registerPushTypeTable"
/>
...
...
src/views/mallResourceDevelopment/file/fileByCreate/index.vue
View file @
b5e04af4
...
@@ -10,9 +10,25 @@
...
@@ -10,9 +10,25 @@
<span
class=
"path"
>
我创建的
</span>
<span
class=
"path"
>
我创建的
</span>
</div>
</div>
</div>
</div>
<a-button
style=
"margin-left: 550px"
type=
"primary"
@
click=
"deleteButton"
>
删除
</a-button>
<a-button
<a-button
style=
"margin-left: 10px"
type=
"primary"
@
click=
"handleMove(1)"
>
移动
</a-button>
style=
"margin-left: 550px"
<a-button
style=
"margin-left: 10px"
type=
"primary"
@
click=
"batchUploading"
type=
"primary"
:disabled=
"isDisabled === true"
@
click=
"deleteButton"
>
删除
</a-button
>
<a-button
style=
"margin-left: 10px"
type=
"primary"
:disabled=
"isDisabled === true"
@
click=
"handleMove(1)"
>
移动
</a-button
>
<a-button
style=
"margin-left: 10px"
type=
"primary"
:disabled=
"isDisabled === true"
@
click=
"batchUploading"
>
批量上架
</a-button
>
批量上架
</a-button
>
>
<a-button
style=
"margin-left: 10px"
type=
"primary"
@
click=
"handleNewFolder"
<a-button
style=
"margin-left: 10px"
type=
"primary"
@
click=
"handleNewFolder"
...
@@ -88,7 +104,7 @@
...
@@ -88,7 +104,7 @@
</PageWrapper>
</PageWrapper>
</template>
</template>
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
import
{
onMounted
}
from
'vue'
;
import
{
onMounted
,
ref
}
from
'vue'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
PageWrapper
}
from
'@/components/Page'
;
import
{
PageWrapper
}
from
'@/components/Page'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
...
@@ -103,6 +119,8 @@
...
@@ -103,6 +119,8 @@
import
EditFileModal
from
'./editFileModal.vue'
;
import
EditFileModal
from
'./editFileModal.vue'
;
import
{
router
}
from
'@/router'
;
import
{
router
}
from
'@/router'
;
const
isDisabled
=
ref
();
const
{
createMessage
,
createConfirm
}
=
useMessage
();
const
{
createMessage
,
createConfirm
}
=
useMessage
();
const
[
registerMoveFile
,
{
openModal
:
openMoveFileModal
}]
=
useModal
();
const
[
registerMoveFile
,
{
openModal
:
openMoveFileModal
}]
=
useModal
();
const
[
registerNewFolder
,
{
openModal
:
openNewFolderModal
}]
=
useModal
();
const
[
registerNewFolder
,
{
openModal
:
openNewFolderModal
}]
=
useModal
();
...
@@ -123,7 +141,10 @@
...
@@ -123,7 +141,10 @@
return
{
...
response
};
return
{
...
response
};
},
},
rowKey
:
'businessId'
,
rowKey
:
'businessId'
,
rowSelection
:
true
,
rowSelection
:
{
type
:
'checkbox'
,
onChange
:
onSelectionChange
,
},
columns
,
columns
,
formConfig
:
{
formConfig
:
{
labelWidth
:
10
,
labelWidth
:
10
,
...
@@ -204,6 +225,10 @@
...
@@ -204,6 +225,10 @@
});
});
}
}
function
onSelectionChange
()
{
isDisabled
.
value
=
getRowSelection
().
selectedRowKeys
<=
0
;
}
function
handleDetail
()
{
function
handleDetail
()
{
router
.
push
({
router
.
push
({
path
:
'/file/fileByCreate/fileByCreateDetail'
,
path
:
'/file/fileByCreate/fileByCreateDetail'
,
...
@@ -214,5 +239,7 @@
...
@@ -214,5 +239,7 @@
reload
();
reload
();
}
}
onMounted
(()
=>
{});
onMounted
(()
=>
{
isDisabled
.
value
=
true
;
});
</
script
>
</
script
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment