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
9a717160
Commit
9a717160
authored
Aug 08, 2022
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
69f8e84f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
11 deletions
+33
-11
status.ts
src/components/ApproveStatus/status.ts
+1
-1
CollectImage.vue
src/views/AddFilingPerson/components/CollectImage.vue
+10
-3
index.vue
src/views/AddFilingPerson/index.vue
+10
-7
draftBoxTable.vue
src/views/draftBox/draftBoxTable.vue
+12
-0
No files found.
src/components/ApproveStatus/status.ts
View file @
9a717160
...
@@ -58,7 +58,7 @@ export const SUCCESS_FOR_Cert = {
...
@@ -58,7 +58,7 @@ export const SUCCESS_FOR_Cert = {
};
};
export
const
NOT_PASSED_FOR_Cert
=
{
export
const
NOT_PASSED_FOR_Cert
=
{
value
:
eStatusOfFilerCertification
.
NOT_PASSED
,
value
:
eStatusOfFilerCertification
.
NOT_PASSED
,
label
:
"
未通过
"
,
label
:
"
实名失败
"
,
style
:
red
,
style
:
red
,
icon
:
error
,
icon
:
error
,
};
};
...
...
src/views/AddFilingPerson/components/CollectImage.vue
View file @
9a717160
...
@@ -7,7 +7,10 @@
...
@@ -7,7 +7,10 @@
@
change=
"handleFileChange"
@
change=
"handleFileChange"
/>
/>
<div
v-loading=
"loading"
>
<div
v-loading=
"loading"
>
<label
class=
"cursor-pointer"
@
click=
"($refs.inputRef as any).click"
>
<label
class=
"cursor-pointer inline-block -mb-4"
@
click=
"($refs.inputRef as any).click"
>
<img
<img
v-show=
"!url"
v-show=
"!url"
src=
"@/assets/img/uploadFileImg.png"
src=
"@/assets/img/uploadFileImg.png"
...
@@ -26,6 +29,7 @@
...
@@ -26,6 +29,7 @@
import
{
copyrightUploadFile
}
from
"@/service/copyrightService"
;
import
{
copyrightUploadFile
}
from
"@/service/copyrightService"
;
import
{
syMessage
}
from
"cqk-sy-ui"
;
import
{
syMessage
}
from
"cqk-sy-ui"
;
import
{
ref
,
watch
}
from
"vue"
;
import
{
ref
,
watch
}
from
"vue"
;
const
props
=
defineProps
<
{
const
props
=
defineProps
<
{
modelValue
:
{
modelValue
:
{
url
?:
string
;
url
?:
string
;
...
@@ -35,18 +39,21 @@ const props = defineProps<{
...
@@ -35,18 +39,21 @@ const props = defineProps<{
const
emit
=
defineEmits
([
"update:modelValue"
]);
const
emit
=
defineEmits
([
"update:modelValue"
]);
const
loading
=
ref
(
false
);
const
loading
=
ref
(
false
);
const
url
=
ref
(
""
);
const
url
=
ref
(
""
);
URL
.
revokeObjectURL
(
url
.
value
);
url
.
value
=
getImageUrl
(
props
.
modelValue
)
||
""
;
watch
(
watch
(
()
=>
props
.
modelValue
,
()
=>
props
.
modelValue
,
(
newV
)
=>
{
(
newV
)
=>
{
URL
.
revokeObjectURL
(
url
.
value
);
URL
.
revokeObjectURL
(
url
.
value
);
url
.
value
=
getImageUrl
(
props
.
modelValue
)
||
""
;
url
.
value
=
getImageUrl
(
props
.
modelValue
)
||
""
;
console
.
log
(
getImageUrl
(
props
.
modelValue
),
props
.
modelValue
);
}
}
);
);
function
getImageUrl
(
dta
:
any
)
{
function
getImageUrl
(
dta
:
any
)
{
if
(
!
dta
)
return
""
;
if
(
!
dta
)
return
""
;
return
(
dta
.
file
&&
URL
.
createObjectURL
(
dta
.
file
!
))
||
dta
.
url
||
""
;
return
(
dta
.
file
&&
URL
.
createObjectURL
(
dta
.
file
))
||
dta
.
url
||
""
;
}
}
const
checkType
=
(
fileName
:
string
)
=>
{
const
checkType
=
(
fileName
:
string
)
=>
{
...
...
src/views/AddFilingPerson/index.vue
View file @
9a717160
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
:visible=
"visible"
:visible=
"visible"
type=
"element"
type=
"element"
:elementDialogProps=
"
{
:elementDialogProps=
"
{
title:
'新建备案人'
,
title:
title
,
}"
}"
:no-padding="true"
:no-padding="true"
showMask
showMask
...
@@ -119,9 +119,7 @@
...
@@ -119,9 +119,7 @@
prop=
"powerOfAttorneyImage"
prop=
"powerOfAttorneyImage"
class=
"flex w-full"
class=
"flex w-full"
>
>
<CollectImage
<CollectImage
v-model=
"modelOfCert.powerOfAttorneyImage"
v-model=
"modelOfCert.powerOfAttorneyImage"
@
update:model-value=
"handle"
>
授权书图像
</CollectImage
>
授权书图像
</CollectImage
>
>
</CustomizeFormItem>
</CustomizeFormItem>
...
@@ -262,14 +260,19 @@ import syRadio from "@/components/Radio/index.vue";
...
@@ -262,14 +260,19 @@ import syRadio from "@/components/Radio/index.vue";
import
syDatePicker
from
"../../components/DatePicker/index.vue"
;
import
syDatePicker
from
"../../components/DatePicker/index.vue"
;
import
{
checkEmail
,
checkIdNumber
,
checkPhone
}
from
"@/utils/match"
;
import
{
checkEmail
,
checkIdNumber
,
checkPhone
}
from
"@/utils/match"
;
function
handle
()
{
console
.
log
(...
arguments
);
}
const
props
=
defineProps
<
{
const
props
=
defineProps
<
{
visible
:
boolean
;
visible
:
boolean
;
}
>
();
}
>
();
const
emit
=
defineEmits
([
"update:visible"
,
"addSuccess"
]);
const
emit
=
defineEmits
([
"update:visible"
,
"addSuccess"
]);
const
title
=
computed
(()
=>
{
if
(
mode
.
value
===
"add"
)
{
return
"新建备案人"
;
}
else
{
return
"编辑备案人"
;
}
});
const
certFormRef
=
ref
<
InstanceType
<
typeof
ElForm
>>
();
const
certFormRef
=
ref
<
InstanceType
<
typeof
ElForm
>>
();
const
contactFormRef
=
ref
<
InstanceType
<
typeof
ElForm
>>
();
const
contactFormRef
=
ref
<
InstanceType
<
typeof
ElForm
>>
();
...
...
src/views/draftBox/draftBoxTable.vue
View file @
9a717160
...
@@ -73,6 +73,18 @@ defineProps<{
...
@@ -73,6 +73,18 @@ defineProps<{
const
operateList
=
[
const
operateList
=
[
{
{
name
:
"查看详情"
,
value
:
"查看详情"
,
click
:
(
slotProps
:
any
)
=>
{
router
.
push
({
name
:
"copyRightDetail"
,
query
:
{
id
:
slotProps
.
id
,
},
});
},
},
{
name
:
"编辑"
,
name
:
"编辑"
,
value
:
"编辑"
,
value
:
"编辑"
,
click
:
(
slotProps
:
any
)
=>
{
click
:
(
slotProps
:
any
)
=>
{
...
...
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