Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qsh-wc
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
honghuiliu
qsh-wc
Commits
b4b204e8
Commit
b4b204e8
authored
Sep 01, 2022
by
mahui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
faf12d07
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1250 additions
and
495 deletions
+1250
-495
process.mp4
pc/src/assets/process.mp4
+0
-0
main.js
pc/src/main.js
+4
-0
home.vue
pc/src/views/home.vue
+4
-4
order-detail.vue
pc/src/views/order-detail.vue
+195
-491
site-detail.vue
pc/src/views/site-detail.vue
+1047
-0
No files found.
pc/src/assets/process.mp4
0 → 100644
View file @
b4b204e8
File added
pc/src/main.js
View file @
b4b204e8
...
@@ -4,10 +4,14 @@ import router from './router'
...
@@ -4,10 +4,14 @@ import router from './router'
import
{
store
}
from
'@/store'
import
{
store
}
from
'@/store'
import
ElementPlus
from
'element-plus'
import
ElementPlus
from
'element-plus'
import
zhCn
from
'element-plus/dist/locale/zh-cn'
import
zhCn
from
'element-plus/dist/locale/zh-cn'
import
*
as
ElementPlusIconsVue
from
'@element-plus/icons-vue'
import
'element-plus/dist/index.css'
import
'element-plus/dist/index.css'
import
vue3PhotoPreview
from
'vue3-photo-preview'
;
import
vue3PhotoPreview
from
'vue3-photo-preview'
;
import
'vue3-photo-preview/dist/index.css'
;
import
'vue3-photo-preview/dist/index.css'
;
const
app
=
createApp
(
App
);
const
app
=
createApp
(
App
);
for
(
const
[
key
,
component
]
of
Object
.
entries
(
ElementPlusIconsVue
))
{
app
.
component
(
key
,
component
)
}
app
.
use
(
vue3PhotoPreview
);
app
.
use
(
vue3PhotoPreview
);
app
.
use
(
store
);
app
.
use
(
store
);
app
.
use
(
ElementPlus
,
{
app
.
use
(
ElementPlus
,
{
...
...
pc/src/views/home.vue
View file @
b4b204e8
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
</div>
</div>
<div
class=
"logo"
>
@浙江丹靓环境工程有限公司
</div>
<div
class=
"logo"
>
@浙江丹靓环境工程有限公司
</div>
<transition
name=
"el-zoom-in-bottom"
>
<transition
name=
"el-zoom-in-bottom"
>
<
order-detail
v-model=
"show"
v-if=
"show"
:order_id=
"order_id"
></order
-detail>
<
site-detail
v-model=
"show"
v-if=
"show"
:site_id=
"site_id"
></site
-detail>
</transition>
</transition>
</div>
</div>
</
template
>
</
template
>
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
map
:
null
,
map
:
null
,
timer
:
null
,
timer
:
null
,
show
:
true
,
show
:
true
,
order
_id
:
''
,
site
_id
:
''
,
time
:
myPublic
.
dateFormat
.
format
(
Date
.
now
(),
'HH:mm:ss YYYY年MM月DD日'
),
time
:
myPublic
.
dateFormat
.
format
(
Date
.
now
(),
'HH:mm:ss YYYY年MM月DD日'
),
list
:[
list
:[
{
{
...
@@ -173,7 +173,7 @@
...
@@ -173,7 +173,7 @@
}
}
function
seeDetail
(
item
){
function
seeDetail
(
item
){
state
.
show
=
true
;
state
.
show
=
true
;
state
.
order_id
=
item
.
order
_id
||
'12'
;
state
.
site_id
=
item
.
site
_id
||
'12'
;
}
}
onMounted
(()
=>
{
onMounted
(()
=>
{
nextTick
(()
=>
{
nextTick
(()
=>
{
...
@@ -195,7 +195,7 @@
...
@@ -195,7 +195,7 @@
next
();
next
();
},
},
components
:{
components
:{
orderDetail
:
defineAsyncComponent
(()
=>
import
(
"@/views/order
-detail.vue"
))
siteDetail
:
defineAsyncComponent
(()
=>
import
(
"@/views/site
-detail.vue"
))
}
}
})
})
</
script
>
</
script
>
...
...
pc/src/views/order-detail.vue
View file @
b4b204e8
This diff is collapsed.
Click to expand it.
pc/src/views/site-detail.vue
0 → 100644
View file @
b4b204e8
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