Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
郑艺斌
/
emaint-web-master
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9522f9a3
authored
Nov 29, 2022
by
郑艺斌
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
2022/11/29
parent
6affc1a9
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
13 deletions
src/assets/js/request.js
src/views/dataReport/index.vue
src/views/operationData/index.vue
src/views/problemConfiguration/index.vue
src/views/workOrderEdit/index.vue
src/views/workOrderManage/index.vue
src/assets/js/request.js
View file @
9522f9a3
...
...
@@ -3,7 +3,7 @@ import qs from "qs";
import
{
Message
}
from
"iview"
;
axios
.
defaults
.
baseURL
=
"https://emaint.meiqicloud.com"
;
// axios.defaults.baseURL = "http://172.
16.4.29
:8063";
// axios.defaults.baseURL = "http://172.
20.10.4
:8063";
// axios.defaults.baseURL='http://localhost:8063'
export
function
qsdata
(
data
)
{
return
qs
.
parse
(
qs
.
stringify
(
data
));
...
...
src/views/dataReport/index.vue
View file @
9522f9a3
...
...
@@ -237,11 +237,15 @@ export default {
}
],
},
organization
:
[]
organization
:
[
{
label
:
'特房集团'
,
dataSource
:
'0'
},
{
label
:
'轨道集团'
,
dataSource
:
'2'
},
{
label
:
'塔楼客户'
,
dataSource
:
'1'
}
]
}
},
created
()
{
this
.
getOrganization
()
//
this.getOrganization()
var
dd
=
new
Date
()
var
ff
=
new
Date
()
var
week
=
dd
.
getDay
();
//获取时间的星期数
...
...
src/views/operationData/index.vue
View file @
9522f9a3
...
...
@@ -228,11 +228,15 @@ export default {
},
],
},
organization
:
[]
organization
:
[
{
label
:
'特房集团'
,
dataSource
:
'0'
},
{
label
:
'轨道集团'
,
dataSource
:
'2'
},
{
label
:
'塔楼客户'
,
dataSource
:
'1'
}
]
}
},
created
()
{
this
.
getOrganization
()
//
this.getOrganization()
var
dd
=
new
Date
()
var
ff
=
new
Date
()
var
week
=
dd
.
getDay
();
//获取时间的星期数
...
...
src/views/problemConfiguration/index.vue
View file @
9522f9a3
...
...
@@ -60,7 +60,8 @@
<Form-item
label=
"父级类目"
>
<i-select
placeholder=
"请选择父级"
v-model=
"addformdata.parentId"
style=
"text-align:left"
>
<i-option
value=
""
>
无
</i-option>
<i-option
:value=
"item.parentId"
v-for=
"(item, index) in questionlis1"
:key=
"index"
>
{{ item.parentProblem
<i-option
:value=
"item.parentId"
v-for=
"(item, index) in questionlis1"
:key=
"item.parentId"
>
{{
item.parentProblem
}}
</i-option>
...
...
@@ -517,6 +518,7 @@ export default {
);
},
getParent
(
value
)
{
this
.
addformdata
.
parentId
=
''
let
arr
=
this
.
questionlis
.
filter
(
item
=>
item
.
dataSource
==
value
)
this
.
questionlis1
=
arr
[
0
].
childList
},
...
...
src/views/workOrderEdit/index.vue
View file @
9522f9a3
...
...
@@ -763,6 +763,9 @@ export default {
priorityList
:
[],
//表单
formItem
:
{
repairEstimate
:
{
star
:
0
},
clientId
:
""
,
contactClient
:
""
,
phone
:
""
,
...
...
@@ -1631,7 +1634,7 @@ export default {
dataSourceName
=
'轨道集团'
}
self
.
workOrder
=
data
data
.
repairImgs
=
this
.
getArrImgs
(
data
.
repairImgs
,
'|~|'
)
data
.
repairImgs
=
data
.
repairImgs
==
null
?
null
:
this
.
getArrImgs
(
data
.
repairImgs
,
'|~|'
)
this
.
formItem
=
{
id
:
data
.
id
,
callID
:
data
.
callID
,
...
...
@@ -1648,7 +1651,7 @@ export default {
jobTitle
:
data
.
jobTitle
,
priority
:
data
.
priority
,
sex
:
data
.
sex
,
problemClass
:
data
.
problemClass
,
problemClass
:
data
.
dataSource
===
'0'
?
`特房-
${
data
.
problemClass
}
`
:
data
.
dataSource
===
'1'
?
`塔楼-
${
data
.
problemClass
}
`
:
`轨道-
${
data
.
problemClass
}
`
,
problemType
:
data
.
problemType
,
remark
:
data
.
remark
,
participatorids
:
!
data
.
participatorids
?
[]
:
data
.
participatorids
.
split
(
","
),
...
...
@@ -1676,19 +1679,18 @@ export default {
contactUndef
:
data
.
contactUndef
,
repairLabel
:
data
.
repairLabel
,
finishRemark
:
data
.
finishRemark
,
repairEstimate
:
data
.
repairEstimate
,
repairEstimate
:
data
.
repairEstimate
?
data
.
repairEstimate
:
{}
,
estimateLabel
:
data
.
estimateLabel
,
repairImgs
:
data
.
repairImgs
};
this
.
getTreeList
()
// 历史报修
this
.
repairHistoryForm
.
clientId
=
this
.
formItem
.
contactClientId
;
self
.
isReservation
=
data
.
reservations
===
1
;
// 设置问题类型
self
.
getProblemBase
(
function
()
{
self
.
formItem
.
problemClass
=
data
.
problemClass
//
self.formItem.problemClass = data.problemClass
self
.
formItem
.
problemType
=
data
.
problemType
self
.
getProblemList
()
self
.
getQuestionList
()
...
...
src/views/workOrderManage/index.vue
View file @
9522f9a3
...
...
@@ -773,7 +773,11 @@ export default {
repairHistoryForm
:
{
clientId
:
""
},
organization
:
[],
organization
:
[
{
label
:
'特房集团'
,
dataSource
:
'0'
},
{
label
:
'轨道集团'
,
dataSource
:
'2'
},
{
label
:
'塔楼客户'
,
dataSource
:
'1'
}
],
parentList
:
[],
sublevelList
:
[]
};
...
...
@@ -793,7 +797,7 @@ export default {
}
},
created
()
{
this
.
getOrganization
()
//
this.getOrganization()
// 优先级下拉列表
this
.
$request
.
post
(
...
...
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