Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
632f359f
Commit
632f359f
authored
Jul 26, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
83b16c6a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
512 additions
and
646 deletions
+512
-646
backbill-form.vue
src/components/sale/backbill-form.vue
+14
-5
changebill-form.vue
src/components/sale/changebill-form.vue
+8
-2
ordertrans-form.vue
src/components/sale/ordertrans-form.vue
+35
-335
stopbill-form.vue
src/components/sale/stopbill-form.vue
+6
-3
temporaryClassbill-form.vue
src/components/sale/temporaryClassbill-form.vue
+8
-2
stopLessonForm.vue
src/components/teacher/stopLessonForm.vue
+2
-0
changeClassManager.vue
src/pages/teacher/changeClassManager.vue
+439
-299
No files found.
src/components/sale/backbill-form.vue
View file @
632f359f
...
...
@@ -375,9 +375,11 @@
</div>
</div>
<div
class=
"row"
>
<span
class=
"backInfo_Title"
>
附件:
</span>
<span
class=
"backInfo_Title"
>
附件:
<span
v-if=
"fj.length === 0"
>
无
</span></span
>
</div>
<div
class=
"row flex"
>
<div
class=
"row flex"
v-if=
"fj.length > 0"
>
<div
class=
"_addUpload_box clearfix flex"
>
<template
v-for=
"(item, index) in fj"
>
<div
...
...
@@ -399,7 +401,7 @@
<span
v-if=
"item.type === 3"
class=
""
@
click=
"
showUpL
oadFile(item)"
@
click=
"
downl
oadFile(item)"
>
{{
item
.
url
}}
</span
>
</div>
...
...
@@ -640,9 +642,11 @@ export default {
EmployeeList
:
[],
AllemployeeList
:
[],
tempPeople
:
[],
//抄送人数组
//附件---s
picIsShow
:
false
,
picObj
:
[],
initialIndex
:
0
,
//附件---e
};
},
computed
:
{
...
...
@@ -651,7 +655,6 @@ export default {
let
fjlist
=
this
.
setingObj
.
ReceiptFileList
;
fjlist
.
map
((
item
)
=>
{
let
suffix
=
item
.
split
(
"."
)[
item
.
split
(
"."
).
length
-
1
].
toUpperCase
();
console
.
log
(
653
,
item
.
split
(
"."
));
if
(
"DOCX|DOC|XLSX|XLS|PPT|PPTX|PDF|TXT"
.
indexOf
(
suffix
)
!=
"-1"
)
{
let
obj
=
{
url
:
item
,
...
...
@@ -817,7 +820,7 @@ export default {
this
.
picObj
.
push
(
i
.
url
);
this
.
picIsShow
=
true
;
}
else
{
if
(
i
.
suffix
==
"PDF"
)
{
if
(
i
.
suffix
==
"PDF"
||
i
.
suffix
==
"TXT"
)
{
this
.
previewPDF
(
i
.
url
);
}
else
{
window
.
open
(
...
...
@@ -826,6 +829,12 @@ export default {
}
}
},
downloadFile
(
i
)
{
const
a
=
document
.
createElement
(
"a"
);
a
.
setAttribute
(
"download"
,
""
);
a
.
setAttribute
(
"href"
,
i
.
url
);
a
.
click
();
},
},
};
</
script
>
src/components/sale/changebill-form.vue
View file @
632f359f
...
...
@@ -586,7 +586,7 @@
<span
v-if=
"item.type === 3"
class=
""
@
click=
"
showUpL
oadFile(item)"
@
click=
"
downl
oadFile(item)"
>
{{
item
.
url
}}
</span
>
</div>
...
...
@@ -1084,7 +1084,7 @@ export default {
this
.
picObj
.
push
(
i
.
url
);
this
.
picIsShow
=
true
;
}
else
{
if
(
i
.
suffix
==
"PDF"
)
{
if
(
i
.
suffix
==
"PDF"
||
i
.
suffix
==
"TXT"
)
{
this
.
previewPDF
(
i
.
url
);
}
else
{
window
.
open
(
...
...
@@ -1093,6 +1093,12 @@ export default {
}
}
},
downloadFile
(
i
)
{
const
a
=
document
.
createElement
(
"a"
);
a
.
setAttribute
(
"download"
,
""
);
a
.
setAttribute
(
"href"
,
i
.
url
);
a
.
click
();
},
},
};
</
script
>
src/components/sale/ordertrans-form.vue
View file @
632f359f
This diff is collapsed.
Click to expand it.
src/components/sale/stopbill-form.vue
View file @
632f359f
...
...
@@ -396,9 +396,11 @@
</div>
</div>
<div
class=
"row"
>
<span
class=
"backInfo_Title"
>
附件:
</span>
<span
class=
"backInfo_Title"
>
附件:
<span
v-if=
"fj.length === 0"
>
无
</span></span
>
</div>
<div
class=
"row flex"
>
<div
class=
"row flex"
v-if=
"fj.length > 0"
>
<div
class=
"_addUpload_box clearfix flex"
>
<template
v-for=
"(item, index) in fj"
>
<div
...
...
@@ -659,9 +661,11 @@ export default {
EmployeeList
:
[],
AllemployeeList
:
[],
tempPeople
:
[],
//抄送人数组
//附件---s
picIsShow
:
false
,
picObj
:
[],
initialIndex
:
0
,
//附件---e
};
},
computed
:
{
...
...
@@ -670,7 +674,6 @@ export default {
let
fjlist
=
this
.
setingObj
.
ReceiptFileList
;
fjlist
.
map
((
item
)
=>
{
let
suffix
=
item
.
split
(
"."
)[
item
.
split
(
"."
).
length
-
1
].
toUpperCase
();
console
.
log
(
653
,
item
.
split
(
"."
));
if
(
"DOCX|DOC|XLSX|XLS|PPT|PPTX|PDF|TXT"
.
indexOf
(
suffix
)
!=
"-1"
)
{
let
obj
=
{
url
:
item
,
...
...
src/components/sale/temporaryClassbill-form.vue
View file @
632f359f
...
...
@@ -382,7 +382,7 @@
<span
v-if=
"item.type === 3"
class=
""
@
click=
"
showUpL
oadFile(item)"
@
click=
"
downl
oadFile(item)"
>
{{
item
.
url
}}
</span
>
</div>
...
...
@@ -842,7 +842,7 @@ export default {
this
.
picObj
.
push
(
i
.
url
);
this
.
picIsShow
=
true
;
}
else
{
if
(
i
.
suffix
==
"PDF"
)
{
if
(
i
.
suffix
==
"PDF"
||
i
.
suffix
==
"TXT"
)
{
this
.
previewPDF
(
i
.
url
);
}
else
{
window
.
open
(
...
...
@@ -851,6 +851,12 @@ export default {
}
}
},
downloadFile
(
i
)
{
const
a
=
document
.
createElement
(
"a"
);
a
.
setAttribute
(
"download"
,
""
);
a
.
setAttribute
(
"href"
,
i
.
url
);
a
.
click
();
},
},
};
</
script
>
src/components/teacher/stopLessonForm.vue
View file @
632f359f
...
...
@@ -182,9 +182,11 @@ export default {
},
},
saveMsg
:
[],
//附件---s
picIsShow
:
false
,
picObj
:
[],
initialIndex
:
0
,
//附件---e
};
},
mounted
()
{
...
...
src/pages/teacher/changeClassManager.vue
View file @
632f359f
This diff is collapsed.
Click to expand it.
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