Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
DC-TOM
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
刘照晖
DC-TOM
Commits
7159f508
Commit
7159f508
authored
May 23, 2025
by
liqiuyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(*): 我的待办接口联调
parent
535c681d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
125 additions
and
156 deletions
+125
-156
dialog.vue
src/views/closeManage/components/dialog.vue
+2
-2
myAgency.vue
src/views/closeManage/myAgency.vue
+97
-97
myDone.vue
src/views/closeManage/myDone.vue
+26
-57
No files found.
src/views/closeManage/components/dialog.vue
View file @
7159f508
...
@@ -91,14 +91,14 @@ const handleSave = ()=> {
...
@@ -91,14 +91,14 @@ const handleSave = ()=> {
width
:
100%
;
width
:
100%
;
.real-btn
{
.real-btn
{
width
:
auto
;
width
:
auto
;
height
:
28
px
;
height
:
32
px
;
background
:
rgb
(
64
,
158
,
255
);
background
:
rgb
(
64
,
158
,
255
);
border
:
1px
solid
rgb
(
64
,
158
,
255
);
border
:
1px
solid
rgb
(
64
,
158
,
255
);
border-radius
:
4px
;
border-radius
:
4px
;
box-shadow
:
0
1px
9px
0
rgba
(
12
,
123
,
255
,
0
.3
)
inset
;
box-shadow
:
0
1px
9px
0
rgba
(
12
,
123
,
255
,
0
.3
)
inset
;
text-align
:
center
;
text-align
:
center
;
padding
:
0
16px
;
padding
:
0
16px
;
line-height
:
28
px
;
line-height
:
32
px
;
color
:
rgba
(
255
,
255
,
255
,
0
.85
);
color
:
rgba
(
255
,
255
,
255
,
0
.85
);
margin-right
:
16px
;
margin-right
:
16px
;
cursor
:
pointer
;
cursor
:
pointer
;
...
...
src/views/closeManage/myAgency.vue
View file @
7159f508
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<el-form-item
label=
"事件名称:"
>
<el-form-item
label=
"事件名称:"
>
<el-select
v-model=
"formInline.eventNameId"
<el-select
v-model=
"formInline.eventNameId"
placeholder=
"请选择"
placeholder=
"请选择"
style=
"width: 280px"
>
>
<el-option
<el-option
v-for=
"(item, index) in basicConfiguration.ticketEventName"
v-for=
"(item, index) in basicConfiguration.ticketEventName"
...
@@ -20,16 +21,20 @@
...
@@ -20,16 +21,20 @@
<el-form-item
label=
"所属区域:"
>
<el-form-item
label=
"所属区域:"
>
<el-select
v-model=
"formInline.branchFactoryIds"
<el-select
v-model=
"formInline.branchFactoryIds"
placeholder=
"请选择"
placeholder=
"请选择"
style=
"width: 180px"
>
>
<el-option
v-for=
"(item, index) in basicConfiguration.branchFactoryList"
<el-option
v-for=
"(item, index) in basicConfiguration.branchFactoryList"
:key=
"item.
i
d"
:key=
"item.
branchFactoryI
d"
:label=
"item.
name
"
:label=
"item.
branchFactory
"
:value=
"item.
i
d"
:value=
"item.
branchFactoryI
d"
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"设备类型"
>
<el-form-item
label=
"设备类型"
>
<el-select
v-model=
"formInline.deviceType"
>
<el-select
v-model=
"formInline.deviceType"
style=
"width: 180px"
placeholder=
"请选择"
>
<el-option
label=
"全部"
value=
""
/>
<el-option
label=
"全部"
value=
""
/>
<el-option
<el-option
v-for=
"(item, index) in basicConfiguration.deviceList"
v-for=
"(item, index) in basicConfiguration.deviceList"
...
@@ -41,14 +46,13 @@
...
@@ -41,14 +46,13 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"发生时间"
>
<el-form-item
label=
"发生时间"
>
<el-date-picker
type=
"daterange"
<el-date-picker
type=
"date
time
range"
v-model=
"formInline.createTime"
v-model=
"formInline.createTime"
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
format=
"YYYY-MM-DD HH:mm:ss"
format=
"YYYY-MM-DD HH:mm:ss"
date-format=
"YYYY/MM/DD ddd"
value-format=
"YYYY-MM-DD HH:mm:ss"
time-format=
"A hh:mm:ss"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
...
@@ -97,6 +101,7 @@
...
@@ -97,6 +101,7 @@
:show-dialog=
"doneDialog.show"
:show-dialog=
"doneDialog.show"
:title=
"doneDialog.title"
:title=
"doneDialog.title"
:width=
"doneDialog.width"
:width=
"doneDialog.width"
:btn-group=
"doneDialog.btnGroup"
@
handleBtn=
"saveDeal"
@
handleBtn=
"saveDeal"
@
close:showDialog=
"doneDialog.show = false"
@
close:showDialog=
"doneDialog.show = false"
>
>
...
@@ -121,15 +126,15 @@
...
@@ -121,15 +126,15 @@
<div
class=
"alarm-content"
>
<div
class=
"alarm-content"
>
<div
class=
"content-item"
>
<div
class=
"content-item"
>
<span
class=
"name"
>
编号:
</span>
<span
class=
"name"
>
编号:
</span>
<span
class=
"value"
>
{{ workSheetDetail.workTicketNo }}
</span>
<span
class=
"value"
>
{{ workSheetDetail
?
.workTicketNo }}
</span>
</div>
</div>
<div
class=
"content-item"
>
<div
class=
"content-item"
>
<span
class=
"name"
>
创建时间:
</span>
<span
class=
"name"
>
创建时间:
</span>
<span
class=
"value"
>
{{ workSheetDetail.createTime }}
</span>
<span
class=
"value"
>
{{ workSheetDetail
?
.createTime }}
</span>
</div>
</div>
<div
class=
"content-item"
>
<div
class=
"content-item"
>
<span
class=
"name"
>
闭环控制状态:
</span>
<span
class=
"name"
>
闭环控制状态:
</span>
<span
class=
"value work-status"
>
{{ workSheetDetail.desc }}
</span>
<span
class=
"value work-status"
>
{{ workSheetDetail
?
.desc }}
</span>
</div>
</div>
</div>
</div>
</el-col>
</el-col>
...
@@ -141,12 +146,12 @@
...
@@ -141,12 +146,12 @@
<div
class=
"content-item"
>
<div
class=
"content-item"
>
<span
class=
"name"
>
所属区域:
</span>
<span
class=
"name"
>
所属区域:
</span>
<span
class=
"value"
>
{{
<span
class=
"value"
>
{{
workSheetDetail.branchFactory || "--"
workSheetDetail
?
.branchFactory || "--"
}}
</span>
}}
</span>
</div>
</div>
<div
class=
"content-item"
>
<div
class=
"content-item"
>
<span
class=
"name"
>
发生位置:
</span>
<span
class=
"name"
>
发生位置:
</span>
<span
class=
"value"
>
{{ workSheetDetail.deviceName }}
</span>
<span
class=
"value"
>
{{ workSheetDetail
?
.deviceName }}
</span>
</div>
</div>
<div
<div
class=
"content-item"
class=
"content-item"
...
@@ -179,19 +184,16 @@
...
@@ -179,19 +184,16 @@
workSheetDetail.warnType != 4 &&
workSheetDetail.warnType != 4 &&
workSheetDetail.warnType != 18
workSheetDetail.warnType != 18
"
"
>
{{ workSheetDetail
.value }}{{ workSheetDetail
.unit }}
</span
>
{{ workSheetDetail
?.value }}{{ workSheetDetail?
.unit }}
</span
>
>
<span
<span
class=
"value alarm-value"
class=
"value alarm-value"
v-else-if=
"workSheetDetail?.warnType == 4"
v-else-if=
"workSheetDetail?.warnType == 4"
>
{{ warnValueFilter(workSheetDetail?.offlineTime) }}
</span>
>
{{ warnValueFilter(workSheetDetail?.offlineTime) }}
</span>
</div>
</div>
<div
class=
"content-item"
v-if=
"workSheetDetail.convertValue"
>
<div
class=
"content-item"
v-if=
"workSheetDetail
?
.convertValue"
>
<span
class=
"name"
>
折算值:
</span>
<span
class=
"name"
>
折算值:
</span>
<span
class=
"value alarm-value"
<span
class=
"value alarm-value"
>
{{ workSheetDetail?.convertValue }}{{ workSheetDetail?.unit }}
</span>
>
{{ workSheetDetail.convertValue
}}{{ workSheetDetail.unit }}
</span
>
</div>
</div>
<div
class=
"content-item"
>
<div
class=
"content-item"
>
<span
class=
"name"
>
告警时间:
</span>
<span
class=
"name"
>
告警时间:
</span>
...
@@ -537,7 +539,7 @@
...
@@ -537,7 +539,7 @@
<div
class=
"label-title"
>
原因分析
</div>
<div
class=
"label-title"
>
原因分析
</div>
<el-input
<el-input
class=
"input-style"
class=
"input-style"
v-model=
"
form.r
eason"
v-model=
"
dialogR
eason"
type=
"textarea"
type=
"textarea"
:rows=
"3"
:rows=
"3"
placeholder=
"请输入内容"
placeholder=
"请输入内容"
...
@@ -551,7 +553,7 @@
...
@@ -551,7 +553,7 @@
<div>
<div>
<el-input
<el-input
class=
"input-style"
class=
"input-style"
v-model=
"
form.m
easure"
v-model=
"
dialogM
easure"
type=
"textarea"
type=
"textarea"
:rows=
"3"
:rows=
"3"
placeholder=
"请输入内容"
placeholder=
"请输入内容"
...
@@ -565,22 +567,24 @@
...
@@ -565,22 +567,24 @@
<common-dialog
<common-dialog
:showDialog=
"assignDialog.show"
:showDialog=
"assignDialog.show"
:title=
"assignDialog.title"
:title=
"assignDialog.title"
:btn-group=
"assignDialog.btnGroup"
:width=
"assignDialog.width"
@
handleBtn=
"saveAssign"
@
handleBtn=
"saveAssign"
@
close:showDialog=
"assignDialog.show = false"
@
close:showDialog=
"assignDialog.show = false"
>
>
<el-form
:inline=
"true"
>
<el-form>
<el-form-item
label=
"分派人:"
>
<el-form-item
label=
"分派人:"
>
<
el-select
v-model=
"handlerPeopleId"
filterable
placeholder=
"请选择分派人
"
>
<
div
class=
"inline-box
"
>
<el-
option
<el-
select
v-model=
"handlerPeopleId"
filterable
placeholder=
"请选择分派人"
>
v-for=
"(item, i) in handlerPeople"
<el-option
:key=
"i
"
v-for=
"(item, i) in handlerPeople
"
:label=
"item.name
"
:key=
"i
"
:value=
"item.id
"
:label=
"item.name
"
></el-option>
:value=
"item.id"
</el-select
>
></el-option
>
</el-form-item
>
</el-select
>
<el-form-item
>
<el-button
type=
"primary"
class=
"addBtn"
@
click=
"addPerson"
>
新增
</el-button
>
<
el-button
type=
"primary"
@
click=
"addPerson"
>
新增
</el-button
>
<
/div
>
</el-form-item>
</el-form-item>
<el-form-item
label=
"已分派人:"
>
<el-form-item
label=
"已分派人:"
>
<el-tag
<el-tag
...
@@ -601,7 +605,7 @@
...
@@ -601,7 +605,7 @@
import
{
ref
,
reactive
,
onMounted
,
onBeforeUnmount
,
computed
}
from
'vue'
import
{
ref
,
reactive
,
onMounted
,
onBeforeUnmount
,
computed
}
from
'vue'
import
CommonTable
from
"@/components/commonTable/index.vue"
;
import
CommonTable
from
"@/components/commonTable/index.vue"
;
import
commonDialog
from
"./components/dialog.vue"
;
import
commonDialog
from
"./components/dialog.vue"
;
import
{
getDataFun
,
postDataJson
,
postDataJSON
}
from
'@/request/method.js'
;
import
{
getData
,
getData
Fun
,
postDataJson
,
postDataJSON
}
from
'@/request/method.js'
;
import
moment
from
'moment'
;
import
moment
from
'moment'
;
import
{
getToken
}
from
'@/utils/auth.js'
;
import
{
getToken
}
from
'@/utils/auth.js'
;
import
{
ElMessage
}
from
'element-plus'
import
{
ElMessage
}
from
'element-plus'
...
@@ -625,9 +629,27 @@ const workTicketNo = ref('');
...
@@ -625,9 +629,27 @@ const workTicketNo = ref('');
const
handlerPeopleId
=
ref
(
''
);
const
handlerPeopleId
=
ref
(
''
);
const
handlerPeople
=
ref
([]);
const
handlerPeople
=
ref
([]);
const
getHandlerPeople
=
async
()
=>
{
const
url
=
'/transfer-work-ticket-pc/getTicketHandler?pageSize=999&pageNo=1'
;
try
{
let
result
=
await
getData
(
url
);
if
(
result
&&
result
.
code
===
1
)
{
const
{
records
}
=
result
.
data
;
handlerPeople
.
value
=
records
;
}
}
catch
(
e
)
{
ElMessage
({
message
:
'接口报错'
,
type
:
'error'
})
}
}
const
assignDialog
=
ref
({
const
assignDialog
=
ref
({
title
:
'闭环控制分派'
,
title
:
'闭环控制分派'
,
show
:
false
,
show
:
false
,
width
:
'30%'
,
btnGroup
:
[
btnGroup
:
[
{
{
attrKey
:
'save'
,
attrKey
:
'save'
,
...
@@ -671,7 +693,7 @@ const saveAssign = ()=> {
...
@@ -671,7 +693,7 @@ const saveAssign = ()=> {
})
})
});
});
const
params
=
{
const
params
=
{
workTicketNo
,
workTicketNo
:
workTicketNo
.
value
,
receiveUser
:
''
,
receiveUser
:
''
,
receiveUserName
:
''
,
receiveUserName
:
''
,
handleUsers
:
tempArr
handleUsers
:
tempArr
...
@@ -771,7 +793,7 @@ const onReset =()=> {
...
@@ -771,7 +793,7 @@ const onReset =()=> {
const
doneDialog
=
ref
({
const
doneDialog
=
ref
({
title
:
'闭环控制分派'
,
title
:
'闭环控制分派'
,
show
:
false
,
show
:
false
,
width
:
'
50
%'
,
width
:
'
45
%'
,
btnGroup
:
[
btnGroup
:
[
{
{
attrKey
:
'save'
,
attrKey
:
'save'
,
...
@@ -788,8 +810,9 @@ const viewData = {
...
@@ -788,8 +810,9 @@ const viewData = {
const
handleDone
=
async
(
data
)
=>
{
const
handleDone
=
async
(
data
)
=>
{
doneDialog
.
value
.
title
=
data
.
eventName
;
doneDialog
.
value
.
title
=
data
.
eventName
;
workTicketNo
.
value
=
data
.
workTicketNo
;
let
res
=
await
getDetail
(
data
.
workTicketNo
);
doneDialog
.
value
.
show
=
true
;
doneDialog
.
value
.
show
=
true
;
/*let res = await getDetail(data.workTicketNo);
personTag
.
value
=
[];
personTag
.
value
=
[];
if
(
res
.
handleUsers
&&
res
.
handleUsers
.
length
>
0
)
{
if
(
res
.
handleUsers
&&
res
.
handleUsers
.
length
>
0
)
{
res
.
handleUsers
.
forEach
(
item
=>
{
res
.
handleUsers
.
forEach
(
item
=>
{
...
@@ -801,12 +824,13 @@ const handleDone = async (data)=> {
...
@@ -801,12 +824,13 @@ const handleDone = async (data)=> {
});
});
});
});
}
}
disposeWorkSheetDetail(res);
*/
disposeWorkSheetDetail
(
res
);
}
}
const
saveDeal
=
()
=>
{
const
saveDeal
=
()
=>
{
const
{
workTicketNo
,
handleValue
,
imgUrl
}
=
workSheetDetail
.
value
;
const
{
workTicketNo
,
handleValue
,
imgUrl
}
=
workSheetDetail
.
value
;
const
{
resson
,
measure
}
=
this
.
form
;
const
reason
=
dialogReason
.
value
;
const
measure
=
dialogMeasure
.
value
;
const
param
=
{
workTicketNo
,
handleValue
,
reason
,
measure
,
imgUrl
};
const
param
=
{
workTicketNo
,
handleValue
,
reason
,
measure
,
imgUrl
};
const
url
=
'/transaction/doc/finishTransaction'
;
const
url
=
'/transaction/doc/finishTransaction'
;
disposeHandle
(
url
,
param
);
disposeHandle
(
url
,
param
);
...
@@ -833,8 +857,10 @@ const disposeHandle = async (url, param) => {
...
@@ -833,8 +857,10 @@ const disposeHandle = async (url, param) => {
// 分派
// 分派
const
handleDispatch
=
async
(
data
)
=>
{
const
handleDispatch
=
async
(
data
)
=>
{
assignDialog
.
value
.
show
=
true
;
getHandlerPeople
();
/*let res = await getDetail(data.workTicketNo);
workTicketNo
.
value
=
data
.
workTicketNo
;
let
res
=
await
getDetail
(
data
.
workTicketNo
);
assignDialog
.
value
.
show
=
true
;
personTag
.
value
=
[];
personTag
.
value
=
[];
if
(
res
.
handleUsers
&&
res
.
handleUsers
.
length
>
0
)
{
if
(
res
.
handleUsers
&&
res
.
handleUsers
.
length
>
0
)
{
res
.
handleUsers
.
forEach
(
item
=>
{
res
.
handleUsers
.
forEach
(
item
=>
{
...
@@ -845,7 +871,7 @@ const handleDispatch = async (data)=> {
...
@@ -845,7 +871,7 @@ const handleDispatch = async (data)=> {
userName
:
item
.
userName
userName
:
item
.
userName
});
});
});
});
}
*/
}
}
}
const
getDetail
=
(
workTicketNo
)
=>
{
const
getDetail
=
(
workTicketNo
)
=>
{
...
@@ -867,42 +893,7 @@ const changeBag = (data)=>{
...
@@ -867,42 +893,7 @@ const changeBag = (data)=>{
}
}
const
tableData
=
ref
([
const
tableData
=
ref
([]);
{
id
:
1
,
name
:
'张三'
,
phone
:
'13888888888'
,
email
:
'<EMAIL>'
,
branchFactory
:
'上海分公司'
,
deviceType
:
'烟感'
,
eventTime
:
'2021-09-09 12:00:00'
,
eventStatus
:
'已处理'
,
eventDetail
:
'设备报警'
,
level
:
1
},
{
id
:
2
,
name
:
'张三'
,
phone
:
'13888888888'
,
email
:
'<EMAIL>'
,
branchFactory
:
'上海分公司'
,
deviceType
:
'烟感'
,
eventTime
:
'2021-09-09 12:00:00'
,
eventStatus
:
'已处理'
,
eventDetail
:
'设备报警'
,
level
:
2
},
{
id
:
3
,
name
:
'张三'
,
phone
:
'13888888888'
,
email
:
'<EMAIL>'
,
branchFactory
:
'上海分公司'
,
deviceType
:
'烟感'
,
eventTime
:
'20'
,
level
:
3
}
]);
const
tableColumns
=
ref
([
const
tableColumns
=
ref
([
{
{
...
@@ -983,8 +974,9 @@ const getWarnAndTicketConfigMap = ()=> {
...
@@ -983,8 +974,9 @@ const getWarnAndTicketConfigMap = ()=> {
}
}
getDataFun
(
url
,
params
).
then
(
res
=>
{
getDataFun
(
url
,
params
).
then
(
res
=>
{
if
(
res
&&
res
.
code
===
1
)
{
if
(
res
&&
res
.
code
===
1
)
{
const
{
ticketEventName
,
eventType
}
=
res
.
data
;
const
{
ticketEventName
,
deviceType
}
=
res
.
data
;
basicConfiguration
.
ticketEventName
=
basicConfiguration
.
ticketEventName
.
concat
(
ticketEventName
);
basicConfiguration
.
ticketEventName
=
basicConfiguration
.
ticketEventName
.
concat
(
ticketEventName
);
basicConfiguration
.
deviceList
=
deviceType
;
}
}
});
});
};
};
...
@@ -1076,10 +1068,8 @@ const disposeType = (list)=> {
...
@@ -1076,10 +1068,8 @@ const disposeType = (list)=> {
const
srcList
=
ref
([]);
const
srcList
=
ref
([]);
const
form
=
ref
({
const
dialogReason
=
ref
(
''
);
reason
:
""
,
const
dialogMeasure
=
ref
(
''
);
measure
:
""
,
});
const
imgUrlList
=
ref
([]);
const
imgUrlList
=
ref
([]);
const
alarmImags
=
ref
([]);
const
alarmImags
=
ref
([]);
const
disposeWorkSheetDetail
=
(
obj
)
=>
{
const
disposeWorkSheetDetail
=
(
obj
)
=>
{
...
@@ -1115,9 +1105,9 @@ const disposeWorkSheetDetail = (obj)=> {
...
@@ -1115,9 +1105,9 @@ const disposeWorkSheetDetail = (obj)=> {
}
}
onMounted
(()
=>
{
onMounted
(()
=>
{
//
getBranchTypeList();
getBranchTypeList
();
//
getWarnAndTicketConfigMap();
getWarnAndTicketConfigMap
();
//
searchData();
searchData
();
});
});
const
formModel
=
ref
({
const
formModel
=
ref
({
...
@@ -1153,48 +1143,48 @@ const handlePaginationChange = (pagination) => {
...
@@ -1153,48 +1143,48 @@ const handlePaginationChange = (pagination) => {
color
:
#fff
;
color
:
#fff
;
text-align
:
center
;
text-align
:
center
;
}
}
.table-box
{
height
:
calc
(
100vh
-
200px
);
}
.yellow
{
.yellow
{
// color: #faa508;
// color: #faa508;
position
:
relative
;
position
:
relative
;
&
:
:
before
{
&
:
:
before
{
content
:
' '
;
content
:
" "
;
width
:
8px
;
width
:
8px
;
height
:
8px
;
height
:
8px
;
border-radius
:
50%
;
border-radius
:
50%
;
background
:
#ffb224
;
background
:
#ffb224
;
position
:
absolute
;
position
:
absolute
;
left
:
50%
;
left
:
0
;
top
:
50%
;
top
:
6px
;
transform
:
translate
(
-50%
);
}
}
}
}
.red
{
.red
{
position
:
relative
;
position
:
relative
;
&
:
:
before
{
&
:
:
before
{
content
:
' '
;
content
:
" "
;
width
:
8px
;
width
:
8px
;
height
:
8px
;
height
:
8px
;
border-radius
:
50%
;
border-radius
:
50%
;
background
:
#db001d
;
background
:
#db001d
;
position
:
absolute
;
position
:
absolute
;
left
:
50%
;
left
:
0
;
top
:
50%
;
top
:
6px
;
transform
:
translate
(
-50%
);
}
}
}
}
.purple
{
.purple
{
position
:
relative
;
position
:
relative
;
&
:
:
before
{
&
:
:
before
{
content
:
' '
;
content
:
" "
;
width
:
8px
;
width
:
8px
;
height
:
8px
;
height
:
8px
;
border-radius
:
50%
;
border-radius
:
50%
;
background
:
#aa05fa
;
background
:
#aa05fa
;
position
:
absolute
;
position
:
absolute
;
left
:
50%
;
left
:
0
;
top
:
50%
;
top
:
6px
;
transform
:
translate
(
-50%
);
}
}
}
}
.view-btn
{
.view-btn
{
...
@@ -1204,6 +1194,7 @@ const handlePaginationChange = (pagination) => {
...
@@ -1204,6 +1194,7 @@ const handlePaginationChange = (pagination) => {
.form-box
{
.form-box
{
height
:
60vh
;
height
:
60vh
;
overflow-y
:
auto
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
.label-title
{
.label-title
{
position
:
relative
;
position
:
relative
;
padding-left
:
14px
;
padding-left
:
14px
;
...
@@ -1283,5 +1274,14 @@ const handlePaginationChange = (pagination) => {
...
@@ -1283,5 +1274,14 @@ const handlePaginationChange = (pagination) => {
background
:
#2182a0
;
background
:
#2182a0
;
border
:
1px
solid
#2182a0
;
border
:
1px
solid
#2182a0
;
}
}
:deep
(
.el-tag
)
{
margin-right
:
10px
;
}
.inline-box
{
display
:
flex
;
.addBtn
{
margin-left
:
10px
;
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
src/views/closeManage/myDone.vue
View file @
7159f508
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<el-form-item
label=
"事件名称:"
>
<el-form-item
label=
"事件名称:"
>
<el-select
v-model=
"formInline.eventNameId"
<el-select
v-model=
"formInline.eventNameId"
placeholder=
"请选择"
placeholder=
"请选择"
style=
"width: 280px"
>
>
<el-option
<el-option
v-for=
"(item, index) in basicConfiguration.ticketEventName"
v-for=
"(item, index) in basicConfiguration.ticketEventName"
...
@@ -20,17 +21,20 @@
...
@@ -20,17 +21,20 @@
<el-form-item
label=
"所属区域:"
>
<el-form-item
label=
"所属区域:"
>
<el-select
v-model=
"formInline.branchFactoryIds"
<el-select
v-model=
"formInline.branchFactoryIds"
placeholder=
"请选择"
placeholder=
"请选择"
style=
"width: 180px"
>
>
<el-option
label=
"全部"
value=
""
/>
<el-option
v-for=
"(item, index) in basicConfiguration.branchFactoryList"
<el-option
v-for=
"(item, index) in basicConfiguration.branchFactoryList"
:key=
"item.
i
d"
:key=
"item.
branchFactoryI
d"
:label=
"item.
name
"
:label=
"item.
branchFactory
"
:value=
"item.
i
d"
:value=
"item.
branchFactoryI
d"
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"设备类型"
>
<el-form-item
label=
"设备类型"
>
<el-select
v-model=
"formInline.deviceType"
>
<el-select
v-model=
"formInline.deviceType"
style=
"width: 180px"
placeholder=
"请选择"
>
<el-option
label=
"全部"
value=
""
/>
<el-option
label=
"全部"
value=
""
/>
<el-option
<el-option
v-for=
"(item, index) in basicConfiguration.deviceList"
v-for=
"(item, index) in basicConfiguration.deviceList"
...
@@ -42,14 +46,13 @@
...
@@ -42,14 +46,13 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"发生时间"
>
<el-form-item
label=
"发生时间"
>
<el-date-picker
type=
"daterange"
<el-date-picker
type=
"date
time
range"
v-model=
"formInline.createTime"
v-model=
"formInline.createTime"
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
format=
"YYYY-MM-DD HH:mm:ss"
format=
"YYYY-MM-DD HH:mm:ss"
date-format=
"YYYY/MM/DD ddd"
value-format=
"YYYY-MM-DD HH:mm:ss"
time-format=
"A hh:mm:ss"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
...
@@ -935,42 +938,7 @@ const changeBag = (data)=>{
...
@@ -935,42 +938,7 @@ const changeBag = (data)=>{
}
}
const
tableData
=
[
const
tableData
=
ref
([]);
{
id
:
1
,
name
:
'张三'
,
phone
:
'13888888888'
,
email
:
'<EMAIL>'
,
branchFactory
:
'上海分公司'
,
deviceType
:
'烟感'
,
eventTime
:
'2021-09-09 12:00:00'
,
eventStatus
:
'已处理'
,
eventDetail
:
'设备报警'
,
level
:
1
},
{
id
:
2
,
name
:
'张三'
,
phone
:
'13888888888'
,
email
:
'<EMAIL>'
,
branchFactory
:
'上海分公司'
,
deviceType
:
'烟感'
,
eventTime
:
'2021-09-09 12:00:00'
,
eventStatus
:
'已处理'
,
eventDetail
:
'设备报警'
,
level
:
2
},
{
id
:
3
,
name
:
'张三'
,
phone
:
'13888888888'
,
email
:
'<EMAIL>'
,
branchFactory
:
'上海分公司'
,
deviceType
:
'烟感'
,
eventTime
:
'20'
,
level
:
3
}
];
const
tableColumns
=
ref
([
const
tableColumns
=
ref
([
{
{
...
@@ -1051,8 +1019,9 @@ const getWarnAndTicketConfigMap = ()=> {
...
@@ -1051,8 +1019,9 @@ const getWarnAndTicketConfigMap = ()=> {
}
}
getDataFun
(
url
,
params
).
then
(
res
=>
{
getDataFun
(
url
,
params
).
then
(
res
=>
{
if
(
res
&&
res
.
code
===
1
)
{
if
(
res
&&
res
.
code
===
1
)
{
const
{
ticketEventName
,
event
Type
}
=
res
.
data
;
const
{
ticketEventName
,
device
Type
}
=
res
.
data
;
basicConfiguration
.
ticketEventName
=
basicConfiguration
.
ticketEventName
.
concat
(
ticketEventName
);
basicConfiguration
.
ticketEventName
=
basicConfiguration
.
ticketEventName
.
concat
(
ticketEventName
);
basicConfiguration
.
deviceList
=
deviceType
;
}
}
});
});
};
};
...
@@ -1143,9 +1112,9 @@ const disposeType = (list)=> {
...
@@ -1143,9 +1112,9 @@ const disposeType = (list)=> {
}
}
onMounted
(()
=>
{
onMounted
(()
=>
{
//
getBranchTypeList();
getBranchTypeList
();
//
getWarnAndTicketConfigMap();
getWarnAndTicketConfigMap
();
//
searchData();
searchData
();
});
});
const
currentPage
=
ref
(
1
);
const
currentPage
=
ref
(
1
);
...
@@ -1176,6 +1145,9 @@ const handlePaginationChange = (pagination) => {
...
@@ -1176,6 +1145,9 @@ const handlePaginationChange = (pagination) => {
color
:
#fff
;
color
:
#fff
;
text-align
:
center
;
text-align
:
center
;
}
}
.table-box
{
height
:
calc
(
100vh
-
200px
);
}
.yellow
{
.yellow
{
// color: #faa508;
// color: #faa508;
position
:
relative
;
position
:
relative
;
...
@@ -1186,9 +1158,8 @@ const handlePaginationChange = (pagination) => {
...
@@ -1186,9 +1158,8 @@ const handlePaginationChange = (pagination) => {
border-radius
:
50%
;
border-radius
:
50%
;
background
:
#ffb224
;
background
:
#ffb224
;
position
:
absolute
;
position
:
absolute
;
left
:
50%
;
left
:
0
;
top
:
50%
;
top
:
6px
;
transform
:
translate
(
-50%
);
}
}
}
}
.red
{
.red
{
...
@@ -1200,9 +1171,8 @@ const handlePaginationChange = (pagination) => {
...
@@ -1200,9 +1171,8 @@ const handlePaginationChange = (pagination) => {
border-radius
:
50%
;
border-radius
:
50%
;
background
:
#db001d
;
background
:
#db001d
;
position
:
absolute
;
position
:
absolute
;
left
:
50%
;
left
:
0
;
top
:
50%
;
top
:
6px
;
transform
:
translate
(
-50%
);
}
}
}
}
...
@@ -1215,9 +1185,8 @@ const handlePaginationChange = (pagination) => {
...
@@ -1215,9 +1185,8 @@ const handlePaginationChange = (pagination) => {
border-radius
:
50%
;
border-radius
:
50%
;
background
:
#aa05fa
;
background
:
#aa05fa
;
position
:
absolute
;
position
:
absolute
;
left
:
50%
;
left
:
0
;
top
:
50%
;
top
:
6px
;
transform
:
translate
(
-50%
);
}
}
}
}
.view-btn
{
.view-btn
{
...
...
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