Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
source-trace-manage
Commits
ec79069d
Commit
ec79069d
authored
Aug 04, 2022
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
52f5c3a8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
237 additions
and
55 deletions
+237
-55
city.ts
src/config/city.ts
+0
-0
main.ts
src/main.ts
+1
-1
copyright.d.ts
src/types/copyright.d.ts
+1
-0
index.vue
src/views/AddCopyRight/components/UploadAttachment/index.vue
+9
-11
index.vue
src/views/AddCopyRight/index.vue
+164
-11
index.vue
src/views/AddFilingPerson/index.vue
+6
-5
index.vue
src/views/CopyRightDetail/index.vue
+0
-0
Service.ts
...gPersonManagement/components/FilingPersonTable/Service.ts
+1
-1
index.vue
...ngPersonManagement/components/FilingPersonTable/index.vue
+11
-1
CopyrightTable.vue
src/views/copyrightManagement/CopyrightTable.vue
+13
-22
HoverShowReason.vue
src/views/copyrightManagement/HoverShowReason.vue
+5
-3
statusMapping.ts
src/views/copyrightManagement/statusMapping.ts
+26
-0
No files found.
src/config/city.ts
View file @
ec79069d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/main.ts
View file @
ec79069d
...
...
@@ -12,7 +12,7 @@ import { ElInfiniteScroll, ElLoading } from "element-plus";
console
.
log
(
"v.1.9.8"
);
console
.
log
(
import
.
meta
.
env
);
//
console.log(import.meta.env);
createApp
(
App
)
.
use
(
router
)
...
...
src/types/copyright.d.ts
View file @
ec79069d
...
...
@@ -79,6 +79,7 @@ export interface iCopyRight {
contact_address
:
string
;
authentication_ids
:
number
[];
authentication_main_id
:
number
;
authentication_audit_opinions
?:
string
;
record_work_status
:
string
;
record_work_id
:
number
;
certificate
:
string
;
...
...
src/views/AddCopyRight/components/UploadAttachment/index.vue
View file @
ec79069d
...
...
@@ -8,7 +8,7 @@
Authorization: 'Bearer ' + getLoginCode(),
}"
name="file_data"
accept=".
txt,.doc,.docx
"
accept=".
png,.jpg,.jpeg,.gif,.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.txt,.mp3,.wma,.wav,.amr,.m4a,.wmv,.asf,.asx,.rm,.rmvb,.mpg,.mpeg,.mp4,.3gp,.mov,.m4v,.avi,.mkv,.flv,.vob
"
:limit="1"
:file-list="(modelValue
&&
[modelValue]) || []"
@change="handleFileChange"
...
...
@@ -18,7 +18,12 @@
:on-error="handleError"
>
<template
#
trigger
>
<div
class=
"uploadbox flex items-center justify-center"
>
<div
class=
"uploadbox flex items-center justify-center"
:class=
"
{
' cursor-not-allowed': !!modelValue,
}"
>
<div>
<Icon
icon-name=
"iconshangchuan"
...
...
@@ -34,13 +39,7 @@
</template>
<
script
setup
lang=
"ts"
>
import
{
ElUpload
,
UploadFile
,
UploadFiles
,
UploadProps
,
useFormItem
,
}
from
"element-plus"
;
import
{
ElUpload
,
UploadFile
,
UploadProps
,
useFormItem
}
from
"element-plus"
;
import
type
{
UploadInstance
}
from
"element-plus"
;
import
{
ref
}
from
"vue"
;
import
Icon
from
"@/components/Icon/index.vue"
;
...
...
@@ -61,10 +60,9 @@ const emit = defineEmits(["update:modelValue"]);
const
handleFileChange
=
async
(
uploadFile
:
UploadFile
)
=>
{
const
ret
=
await
copyrightUploadFile
(
uploadFile
.
raw
!
);
console
.
log
(
ret
.
data
,
"show data"
);
emit
(
"update:modelValue"
,
{
name
:
uploadFile
.
name
,
...
ret
.
data
,
name
:
uploadFile
.
name
,
});
formItem
?.
validate
(
"change"
);
};
...
...
src/views/AddCopyRight/index.vue
View file @
ec79069d
This diff is collapsed.
Click to expand it.
src/views/AddFilingPerson/index.vue
View file @
ec79069d
...
...
@@ -76,7 +76,7 @@
>
<ElCascader
popper-class=
"fuckCascader"
class=
"w-full ElCascader"
class=
"w-full ElCascader"
v-model=
"modelOfCert.city"
:options=
"cityList"
></ElCascader>
...
...
@@ -231,7 +231,7 @@
</
template
>
<
script
setup
lang=
"ts"
>
import
{
syButton
}
from
"cqk-sy-ui"
;
import
{
formatTime
,
syButton
}
from
"cqk-sy-ui"
;
import
{
ElForm
,
ElRadioGroup
,
ElCascader
,
ElMessage
}
from
"element-plus"
;
import
{
computed
,
ref
,
watch
}
from
"vue"
;
import
cityList
from
"@/config/city"
;
...
...
@@ -360,8 +360,10 @@ const handleConfirm = () => {
:
modelOfCert
.
value
.
unifiedSocialCreditCode
,
authentication_certificate_of_authorization_image
:
powerOfAttorneyImage
,
authentication_certificate_of_authorization_date
:
modelOfCert
.
value
.
authorizationValidityPeriod
,
authentication_certificate_of_authorization_date
:
formatTime
(
new
Date
(
modelOfCert
.
value
.
authorizationValidityPeriod
).
getTime
(),
"YYYY-MM-DD"
),
contact_person
:
modelOfContact
.
value
.
name
,
contact_email
:
modelOfContact
.
value
.
email
,
...
...
@@ -435,7 +437,6 @@ watch(
margin-left
:
7px
;
}
:deep
(
.ElCascader
)
{
z-index
:
3000
!
important
;
.el-input__inner
{
border-radius
:
8px
;
height
:
36px
;
...
...
src/views/CopyRightDetail/index.vue
View file @
ec79069d
This diff is collapsed.
Click to expand it.
src/views/FilingPersonManagement/components/FilingPersonTable/Service.ts
View file @
ec79069d
...
...
@@ -63,7 +63,7 @@ export default class Service {
});
}
else
if
(
operateValue
===
"del"
)
{
deleteAuth
(
slotProps
.
id
).
then
((
ret
)
=>
{
if
(
ret
)
{
if
(
ret
&&
ret
.
code
===
200
)
{
ElMessage
.
success
(
"删除成功"
);
emit
(
"refresh"
);
}
...
...
src/views/FilingPersonManagement/components/FilingPersonTable/index.vue
View file @
ec79069d
...
...
@@ -42,6 +42,16 @@
<img
src=
"@/assets/img/link.png"
style=
"width: 14px"
@
click=
"
() =>
{
if (slotProps.authentication_subject_nature === 1) {
saveAs(slotProps.authentication_held_front_id_card.url);
saveAs(slotProps.authentication_held_back_id_card.url);
} else {
saveAs(slotProps.authentication_business_license.url);
}
}
"
class="ml-2.5 cursor-pointer"
/>
</div>
...
...
@@ -76,7 +86,7 @@ import {
import
ApproveStatus
from
"@/components/ApproveStatus/index.vue"
;
import
{
useTableScrollListener
}
from
"@/components/Table/hooks"
;
import
Icon
from
"@/components/Icon/index.vue"
;
import
{
saveAs
}
from
"file-saver"
;
import
Service
from
"./Service"
;
defineProps
<
{
...
...
src/views/copyrightManagement/CopyrightTable.vue
View file @
ec79069d
...
...
@@ -33,12 +33,7 @@
</syMoreOperate></div
></
template
>
<
template
#
record_work_type=
"slotProps"
>
{{
slotProps
.
record_work_type
===
"WRITING"
?
"文字"
:
""
}}
{{
slotProps
.
record_work_type
===
"MUSIC"
?
"音乐"
:
""
}}
{{
slotProps
.
record_work_type
===
"PHOTOGRAPHY"
?
"摄影"
:
""
}}
{{
slotProps
.
record_work_type
===
"ARTS"
?
"美术"
:
""
}}
{{
slotProps
.
record_work_type
===
"FILM"
?
"视觉作品"
:
""
}}
{{
slotProps
.
record_work_type
===
"OTHER"
?
"其他"
:
""
}}
{{
(
workTypeMapping
as
any
)[
slotProps
.
record_work_type
]
}}
</
template
>
<
template
#
create_time=
"slotProps"
>
{{
formatTime
(
slotProps
.
create_time
)
}}
...
...
@@ -73,10 +68,12 @@ import {
RECORD_SUCCESS
,
WAITING_CHECK
,
}
from
"@/components/ApproveStatus/status"
;
import
{
mappingFromStatusToOperate
}
from
"./statusMapping"
;
import
{
mappingFromStatusToOperate
,
workTypeMapping
}
from
"./statusMapping"
;
import
ApproveStatus
from
"@/components/ApproveStatus/index.vue"
;
import
HoverShowReason
from
"./HoverShowReason.vue"
;
import
{
useTableScrollListener
}
from
"@/components/Table/hooks"
;
import
{
eOperate
}
from
"./types"
;
import
{
router
}
from
"@/router"
;
defineProps
<
{
data
:
any
[];
...
...
@@ -111,22 +108,16 @@ const getOperateList = (slotProps: any) => {
}));
};
const
handleClickItem
=
(
value
:
Exclude
<
eStatusOfCopyright
,
eStatusOfCopyright
.
ALL
>
,
slotProps
:
any
)
=>
{
emit
(
"clickOperate"
,
{
type
:
value
,
raw
:
slotProps
,
});
const
handleClickItem
=
(
value
:
eOperate
,
slotProps
:
any
)
=>
{
console
.
log
(
value
,
slotProps
);
switch
(
value
)
{
case
e
StatusOfCopyright
.
NOT_PASSED
:
break
;
case
eStatusOfCopyright
.
RECORD_SUCCESS
:
break
;
case
eStatusOfCopyright
.
WAITING_CHECK
:
break
;
case
eStatusOfCopyright
.
WAITING_SUBMIT
:
case
e
Operate
.
seeDetails
:
router
.
push
({
name
:
"copyRightDetail"
,
query
:
{
id
:
slotProps
.
id
,
},
});
break
;
}
};
...
...
src/views/copyrightManagement/HoverShowReason.vue
View file @
ec79069d
...
...
@@ -9,10 +9,11 @@
<Icon
icon-name=
"iconshenpiweitongguo-chakanyuanyin"
></Icon>
</
template
>
<
template
#
message
>
<span
v-if=
"!msg"
class=
"text-xs"
>
原因加载中...
</span>
{{
rowData
?.
authentication_audit_opinions
}}
<!--
<span
v-if=
"!msg"
class=
"text-xs"
>
原因加载中...
</span>
<span
v-else
class=
""
>
{{
msg
}}
</span>
</span>
-->
</
template
>
</HoverMe>
</template>
...
...
@@ -20,9 +21,10 @@
<
script
setup
lang=
"ts"
>
import
HoverMe
from
"@/components/HoverMe/index.vue"
;
import
Icon
from
"@/components/Icon/index.vue"
;
import
{
iCopyRight
}
from
"@/types/copyright.js"
;
import
{
ref
}
from
"vue"
;
const
props
=
defineProps
<
{
rowData
:
any
;
rowData
:
iCopyRight
;
}
>
();
const
msg
=
ref
(
""
);
const
over
=
()
=>
{
...
...
src/views/copyrightManagement/statusMapping.ts
View file @
ec79069d
...
...
@@ -14,3 +14,29 @@ export const mappingFromStatusToOperate = {
],
[
eStatusOfCopyright
.
NOT_PASSED
]:
[
eOperate
.
seeDetails
,
eOperate
.
delete
],
};
export
const
workTypeMapping
=
{
WRITING
:
"文字"
,
MUSIC
:
"音乐"
,
PHOTOGRAPHY
:
"摄影"
,
ARTS
:
"美术"
,
FILM
:
"视觉作品"
,
OTHER
:
"其他"
,
};
export
const
workNatureMapping
=
{
ORIGINAL
:
"原创"
,
ADAPT
:
"改编"
,
TRANSLATE
:
"翻译"
,
NOTES
:
"注释"
,
ARRANGEMENT
:
"整理"
,
OTHER
:
"其他"
,
};
// 权利取得方式
export
const
gainSourceMapping
=
{
ORIGINAL
:
"原始"
,
INHERIT
:
"继承"
,
BEAR
:
"承受"
,
OTHER
:
"其他"
,
};
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