Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
c4d7cd11
Commit
c4d7cd11
authored
Sep 06, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
0daef7bb
f17f31c7
Changes
31
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
671 additions
and
470 deletions
+671
-470
base-manager-ui/admin/src/pages/basicset/appmarket/modal/AddData.vue
...r-ui/admin/src/pages/basicset/appmarket/modal/AddData.vue
+39
-0
base-manager-ui/admin/src/pages/basicset/appmarket/modal/AddField.vue
...-ui/admin/src/pages/basicset/appmarket/modal/AddField.vue
+15
-5
base-manager/src/main/java/com/mortals/xhx/module/app/model/vo/AppInfoFieldVo.java
...a/com/mortals/xhx/module/app/model/vo/AppInfoFieldVo.java
+20
-5
base-manager/src/main/java/com/mortals/xhx/module/app/model/vo/AppInfoTempleteFieldVo.java
...rtals/xhx/module/app/model/vo/AppInfoTempleteFieldVo.java
+10
-0
portal-manager-ui/admin/src/App.vue
portal-manager-ui/admin/src/App.vue
+3
-0
portal-manager-ui/admin/src/api/user.js
portal-manager-ui/admin/src/api/user.js
+0
-6
portal-manager-ui/admin/src/assets/css/common.less
portal-manager-ui/admin/src/assets/css/common.less
+28
-26
portal-manager-ui/admin/src/directive/index.js
portal-manager-ui/admin/src/directive/index.js
+1
-1
portal-manager-ui/admin/src/request/request.js
portal-manager-ui/admin/src/request/request.js
+8
-2
portal-manager-ui/admin/src/views/dataActuary/behaviour/pageanalyse/pageAnalyse.vue
...c/views/dataActuary/behaviour/pageanalyse/pageAnalyse.vue
+264
-239
portal-manager-ui/admin/src/views/dataActuary/behaviour/pathanalyse/pathAnalyse.vue
...c/views/dataActuary/behaviour/pathanalyse/pathAnalyse.vue
+148
-104
portal-manager-ui/admin/src/views/dataActuary/dataActuary.vue
...al-manager-ui/admin/src/views/dataActuary/dataActuary.vue
+1
-1
portal-manager-ui/admin/src/views/dataAdmin/components/Impossible/index.vue
...admin/src/views/dataAdmin/components/Impossible/index.vue
+2
-0
portal-manager-ui/admin/src/views/dataAdmin/components/easyPoliticsShow/PoliticsShow.vue
...ws/dataAdmin/components/easyPoliticsShow/PoliticsShow.vue
+1
-1
portal-manager-ui/admin/src/views/dataAdmin/components/evaluationRecordReport/departmentEvaluation.vue
...omponents/evaluationRecordReport/departmentEvaluation.vue
+2
-0
portal-manager-ui/admin/src/views/dataAdmin/components/evaluationRecordReport/matterEvaluation.vue
...in/components/evaluationRecordReport/matterEvaluation.vue
+2
-0
portal-manager-ui/admin/src/views/dataAdmin/components/evaluationRecordReport/windowEvaluation.vue
...in/components/evaluationRecordReport/windowEvaluation.vue
+2
-0
portal-manager-ui/admin/src/views/dataAdmin/components/fillRecordReport/fillForm.vue
.../views/dataAdmin/components/fillRecordReport/fillForm.vue
+11
-26
portal-manager-ui/admin/src/views/dataAdmin/components/makeRecordReport/makeRecordReport.vue
...ataAdmin/components/makeRecordReport/makeRecordReport.vue
+2
-0
portal-manager-ui/admin/src/views/dataAdmin/components/networkGovernance/callRecordForm.vue
...dataAdmin/components/networkGovernance/callRecordForm.vue
+2
-2
portal-manager-ui/admin/src/views/dataAdmin/components/networkGovernance/letterRecordForm.vue
...taAdmin/components/networkGovernance/letterRecordForm.vue
+26
-2
portal-manager-ui/admin/src/views/dataAdmin/components/networkGovernance/networkForm.vue
...ws/dataAdmin/components/networkGovernance/networkForm.vue
+2
-0
portal-manager-ui/admin/src/views/dataAdmin/components/queueCall/callRecord.vue
...n/src/views/dataAdmin/components/queueCall/callRecord.vue
+8
-0
portal-manager-ui/admin/src/views/dataAdmin/components/queueCall/queueRecord.vue
.../src/views/dataAdmin/components/queueCall/queueRecord.vue
+8
-0
portal-manager-ui/admin/src/views/dataAdmin/components/sampleRecordReport/sampleForm.vue
...ws/dataAdmin/components/sampleRecordReport/sampleForm.vue
+13
-26
portal-manager-ui/admin/src/views/dataAdmin/dataAdmin.vue
portal-manager-ui/admin/src/views/dataAdmin/dataAdmin.vue
+19
-15
portal-manager-ui/admin/src/views/home/components/changePassword.vue
...ger-ui/admin/src/views/home/components/changePassword.vue
+10
-4
portal-manager-ui/admin/src/views/thePlatformIsSet/components/APIServe/components/portDocument.vue
...formIsSet/components/APIServe/components/portDocument.vue
+1
-0
portal-manager-ui/admin/src/views/thePlatformIsSet/components/permissionsModel/components/EditPwd.vue
...mIsSet/components/permissionsModel/components/EditPwd.vue
+15
-4
portal-manager-ui/admin/src/views/thePlatformIsSet/components/permissionsModel/components/EditUser.vue
...IsSet/components/permissionsModel/components/EditUser.vue
+2
-0
portal-manager-ui/admin/src/views/thePlatformIsSet/components/permissionsModel/components/addUser.vue
...mIsSet/components/permissionsModel/components/addUser.vue
+6
-1
No files found.
base-manager-ui/admin/src/pages/basicset/appmarket/modal/AddData.vue
View file @
c4d7cd11
...
...
@@ -83,6 +83,32 @@
:placeholder=
"`请选择$
{v.fieldName}`"
valueFormat="YYYY-MM-DD"
/>
<!-- 年选择器 -->
<a-date-picker
mode=
"year"
v-else-if=
"v.fieldType == 'year'"
v-model=
"v.fieldValue"
:placeholder=
"`请选择$
{v.fieldName}`"
valueFormat="YYYY"
format="YYYY"
:open="isopen"
@openChange="handYearChange"
@panelChange="(value) => panelYearChange(value, v)"
/>
<!-- 月选择器 -->
<a-month-picker
v-else-if=
"v.fieldType == 'month'"
v-model=
"v.fieldValue"
:placeholder=
"`请选择$
{v.fieldName}`"
valueFormat="M"
/>
<!-- 周选择器 -->
<a-week-picker
v-else-if=
"v.fieldType == 'week'"
v-model=
"v.fieldValue"
:placeholder=
"`请选择$
{v.fieldName}`"
valueFormat="YYYY-WW"
/>
<!-- 多行文本输入框 -->
<a-textarea
v-else-if=
"v.fieldType == 'textarea'"
...
...
@@ -170,6 +196,8 @@ export default {
appId
:
""
,
appInfoFieldList
:
[],
},
isopen
:
false
,
year
:
null
,
};
},
computed
:
{
...
...
@@ -269,6 +297,17 @@ export default {
changeCheckBox
(
vals
,
row
)
{
row
.
fieldValue
=
vals
.
join
(
"
,
"
);
},
handYearChange
(
open
)
{
if
(
open
)
{
this
.
isopen
=
true
;
}
else
{
this
.
isopen
=
false
;
}
},
panelYearChange
(
value
,
row
)
{
row
.
fieldValue
=
this
.
$moment
(
value
).
format
(
"
YYYY
"
);
this
.
isopen
=
false
;
},
},
};
</
script
>
...
...
base-manager-ui/admin/src/pages/basicset/appmarket/modal/AddField.vue
View file @
c4d7cd11
...
...
@@ -98,6 +98,19 @@ const fieldTypeItem = [
value
:
"
date
"
,
label
:
"
日期选择框
"
,
},
{
value
:
"
year
"
,
label
:
"
年选择框
"
,
},
{
value
:
"
month
"
,
label
:
"
月选择框
"
,
},
{
value
:
"
week
"
,
label
:
"
周选择框
"
,
},
{
value
:
"
radio
"
,
label
:
"
单选框
"
,
...
...
@@ -136,15 +149,12 @@ export default {
try
{
let
Obj
=
JSON
.
parse
(
value
);
let
isjson
=
typeof
Obj
==
"
object
"
&&
Object
.
prototype
.
toString
.
call
(
Obj
).
toLowerCase
()
==
"
[object object]
"
&&
Object
.
keys
(
Obj
).
length
;
!
value
.
length
;
"
[object object]
"
&&
Object
.
keys
(
Obj
).
length
;
if
(
isjson
)
{
callback
();
}
else
{
callback
(
new
Error
(
"
输入的
JSON对象格式
"
));
callback
(
new
Error
(
"
请输入
JSON对象格式
"
));
}
}
catch
(
err
)
{
callback
(
new
Error
(
"
输入的JSON数据格式有误
"
));
...
...
base-manager/src/main/java/com/mortals/xhx/module/app/model/vo/AppInfoFieldVo.java
View file @
c4d7cd11
package
com.mortals.xhx.module.app.model.vo
;
import
com.mortals.framework.model.BaseEntityLong
;
import
com.mortals.xhx.module.app.model.AppDatasetQuery
;
import
com.mortals.xhx.module.app.model.AppInfoFieldEntity
;
import
com.mortals.xhx.module.app.model.AppInfoFieldQuery
;
import
lombok.Data
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* 自助终端应用信息字段视图对象
*
* @author zxfei
* @date 2022-11-28
*/
* 自助终端应用信息字段视图对象
*
* @author zxfei
* @date 2022-11-28
*/
@Data
public
class
AppInfoFieldVo
extends
BaseEntityLong
{
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private
List
<
AppInfoFieldQuery
>
orConditionList
;
/** AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) */
private
List
<
AppInfoFieldQuery
>
andConditionList
;
}
\ No newline at end of file
base-manager/src/main/java/com/mortals/xhx/module/app/model/vo/AppInfoTempleteFieldVo.java
View file @
c4d7cd11
package
com.mortals.xhx.module.app.model.vo
;
import
com.mortals.framework.model.BaseEntityLong
;
import
com.mortals.xhx.module.app.model.AppDatasetQuery
;
import
com.mortals.xhx.module.app.model.AppInfoTempleteFieldEntity
;
import
com.mortals.xhx.module.app.model.AppInfoTempleteFieldQuery
;
import
lombok.Data
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
...
...
@@ -9,6 +13,12 @@ import java.util.List;
* @author zxfei
* @date 2022-11-28
*/
@Data
public
class
AppInfoTempleteFieldVo
extends
BaseEntityLong
{
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private
List
<
AppInfoTempleteFieldQuery
>
orConditionList
;
/** AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) */
private
List
<
AppInfoTempleteFieldQuery
>
andConditionList
;
}
\ No newline at end of file
portal-manager-ui/admin/src/App.vue
View file @
c4d7cd11
...
...
@@ -69,4 +69,7 @@ export default {
.ant-calendar-next-year-btn::after {
border-color: rgba(0, 0, 0, 1) !important;
}
.ant-progress-text {
color: #fff !important;
}
</
style
>
\ No newline at end of file
portal-manager-ui/admin/src/api/user.js
View file @
c4d7cd11
...
...
@@ -20,9 +20,3 @@ export function changePassword(params) {
export
function
editPassword
(
params
)
{
return
http
.
post
(
`
${
baseURL
}
/zwfw/user/reset/password`
,
params
);
}
// 获取图形验证码
export
function
createCode
(
params
)
{
return
http
.
post
(
`
${
baseURL
}
/zwfw/securitycode/createCode`
,
params
,
{
responseType
:
"
blob
"
,
});
}
portal-manager-ui/admin/src/assets/css/common.less
View file @
c4d7cd11
...
...
@@ -631,18 +631,20 @@ img {
tr, th,td{
border:none !important;
}
// .ant-table-body-inner{
// &::-webkit-scrollbar{
// display: none;
// }
// }
// :hover{
// .ant-table-body-inner{
// &::-webkit-scrollbar{
// display: block;
// }
// }
// }
// 表格鼠标移入显示滚动条
.ant-table-body,.ant-table-body-inner{
&::-webkit-scrollbar{
display: none;
}
}
:hover{
.ant-table-body,.ant-table-body-inner{
&::-webkit-scrollbar{
display:block;
}
}
}
}
.ant-table-thead th {
background: linear-gradient(0deg, #f9fbff 0%, #cbddff 78%);
...
...
@@ -760,18 +762,18 @@ img {
}
}
// 表格鼠标移入显示滚动条
.ant-table {
//
.ant-table {
.ant-table-body,.ant-table-body-inner{
&::-webkit-scrollbar{
display: none;
}
}
:hover{
.ant-table-body,.ant-table-body-inner{
&::-webkit-scrollbar{
display:block;
}
}
}
}
\ No newline at end of file
// .ant-table-body,.ant-table-body-inner{
// &::-webkit-scrollbar{
// display: none;
// }
// }
// :hover{
// .ant-table-body,.ant-table-body-inner{
// &::-webkit-scrollbar{
// display:block;
// }
// }
// }
// }
\ No newline at end of file
portal-manager-ui/admin/src/directive/index.js
View file @
c4d7cd11
import
Storage
from
"
@/utils/js/Storage
"
;
//
import Storage from "@/utils/js/Storage";
import
store
from
"
@/store
"
;
// 修改密码权限
export
const
permission
=
{
...
...
portal-manager-ui/admin/src/request/request.js
View file @
c4d7cd11
...
...
@@ -39,7 +39,6 @@ axios.interceptors.response.use(
// 取出数据
let
{
code
,
msg
}
=
response
.
data
;
if
(
code
===
-
1
)
{
console
.
log
(
response
.
data
);
message
.
error
({
content
:
msg
,
maxCount
:
1
,
...
...
@@ -49,7 +48,14 @@ axios.interceptors.response.use(
store
.
commit
(
"
user/reset
"
);
router
.
push
(
"
/
"
);
}
}
else
if
(
code
===
401
)
{
}
else
if
(
code
===
401
||
code
===
201
||
code
===
101
||
code
===
102
||
code
===
9001
||
code
===
9002
)
{
message
.
error
({
content
:
msg
,
maxCount
:
1
,
...
...
portal-manager-ui/admin/src/views/dataActuary/behaviour/pageanalyse/pageAnalyse.vue
View file @
c4d7cd11
<
template
>
<!-- 页面分析 -->
<div
class=
"page"
>
<a-form-model
:model=
"queryform"
:label-col=
"labelCol"
:wrapper-col=
"wrapperCol"
layout=
"inline"
>
<a-form-model-item>
<a-select
v-model=
"queryform.productId"
style=
"width: 200px"
placeholder=
"选择产品"
>
<a-select-option
:value=
"item.id"
v-for=
"(item,index) in product"
:key=
"index"
>
{{
item
.
title
}}
</a-select-option>
</a-select>
</a-form-model-item>
<a-form-model-item>
<a-range-picker
valueFormat=
"yyyy-MM-DD"
v-model=
"time"
style=
"width: 300px"
:allowClear=
"false"
/>
</a-form-model-item>
<a-form-model-item>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"getData"
>
开始分析
</a-button>
</a-form-model-item>
</a-form-model>
<div
class=
"box"
>
<div
class=
"left-dv"
>
<div>
页面访问指标趋势
</div>
<div
class=
"txt-dv"
>
<div>
<div
class=
"num"
>
{{
data
?
data
.
accessSum
:
0
}}
</div>
<div>
页面累计访问次数
</div>
</div>
<div>
<div
class=
"num"
>
{{
data
?
data
.
dayAccessAvg
:
0
}}
</div>
<div>
日均访问次数
</div>
</div>
</div>
<div
id=
"number"
></div>
</div>
<div
class=
"right-dv"
>
<div
class=
"page-box"
>
<div
class=
"page-dv"
>
<div>
人均访问深度
</div>
<div
class=
"page-num"
>
{{
data
?
data
.
depthAvg
:
0
}}
页
</div>
</div>
<div
class=
"page-dv"
>
<div>
次均访问深度
</div>
<div
class=
"page-num"
>
{{
data
?
data
.
singleDepth
:
0
}}
页
</div>
</div>
</div>
<div
class=
"chatrs-dv"
>
<div>
页面访问次数TOP10
</div>
<div
id=
"pages"
></div>
</div>
</div>
</div>
</div>
<!-- 页面分析 -->
<div
class=
"page"
>
<a-form-model
:model=
"queryform"
:label-col=
"labelCol"
:wrapper-col=
"wrapperCol"
layout=
"inline"
>
<a-form-model-item>
<a-select
v-model=
"queryform.productId"
style=
"width: 200px"
placeholder=
"选择产品"
>
<a-select-option
:value=
"item.id"
v-for=
"(item, index) in product"
:key=
"index"
>
{{
item
.
title
}}
</a-select-option>
</a-select>
</a-form-model-item>
<a-form-model-item>
<a-range-picker
valueFormat=
"yyyy-MM-DD"
v-model=
"time"
style=
"width: 300px"
:allowClear=
"false"
/>
</a-form-model-item>
<a-form-model-item>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"getData"
>
开始分析
</a-button>
</a-form-model-item>
</a-form-model>
<div
class=
"box"
>
<div
class=
"left-dv"
>
<div>
页面访问指标趋势
</div>
<div
class=
"txt-dv"
>
<div>
<div
class=
"num"
>
{{
data
?
data
.
accessSum
:
0
}}
</div>
<div>
页面累计访问次数
</div>
</div>
<div>
<div
class=
"num"
>
{{
data
?
data
.
dayAccessAvg
:
0
}}
</div>
<div>
日均访问次数
</div>
</div>
</div>
<div
id=
"number"
></div>
</div>
<div
class=
"right-dv"
>
<div
class=
"page-box"
>
<div
class=
"page-dv"
>
<div>
人均访问深度
</div>
<div
class=
"page-num"
>
{{
data
?
data
.
depthAvg
:
0
}}
页
</div>
</div>
<div
class=
"page-dv"
>
<div>
次均访问深度
</div>
<div
class=
"page-num"
>
{{
data
?
data
.
singleDepth
:
0
}}
页
</div>
</div>
</div>
<div
class=
"chatrs-dv"
>
<div>
页面访问次数TOP10
</div>
<div
id=
"pages"
></div>
</div>
</div>
</div>
</div>
</
template
>
<
script
>
import
product
from
"
../mixins/product
"
import
*
as
echarts
from
'
echarts
'
import
{
getAccessAnalyse
}
from
'
@/api/dataActuary.js
'
import
moment
from
'
moment
'
;
export
default
{
mixins
:[
product
],
data
()
{
return
{
queryform
:
{
productId
:
1
,
dateTimeStart
:
moment
().
format
(
'
yyyy-MM-DD
'
),
dateTimeEnd
:
moment
().
format
(
'
yyyy-MM-DD
'
)
},
time
:[
moment
().
format
(
'
yyyy-MM-DD
'
),
moment
().
format
(
'
yyyy-MM-DD
'
)],
product
:[{
title
:
'
排队机
'
,
id
:
1
}],
labelCol
:
{
span
:
1
},
wrapperCol
:
{
span
:
14
},
data
:
null
}
},
mounted
()
{
this
.
getData
()
},
methods
:
{
getData
()
{
this
.
queryform
.
dateTimeStart
=
this
.
time
?
this
.
time
[
0
]
:
null
this
.
queryform
.
dateTimeStart
=
this
.
time
?
this
.
time
[
1
]
:
null
getAccessAnalyse
(
this
.
queryform
).
then
(
res
=>
{
this
.
data
=
res
.
data
let
lineX
=
res
.
data
.
accessTrend
.
map
(
item
=>
item
.
accessDay
)
let
lineY
=
res
.
data
.
accessTrend
.
map
(
item
=>
item
.
accessCount
)
let
barX
=
res
.
data
.
pageAccessTop
.
map
(
item
=>
item
.
accessCount
)
let
barY
=
res
.
data
.
pageAccessTop
.
map
(
item
=>
item
.
pageName
)
this
.
initLine
(
lineX
,
lineY
)
this
.
initBar
(
barX
,
barY
)
})
},
initBar
(
barX
,
barY
)
{
let
chartDom
=
document
.
getElementById
(
'
pages
'
)
let
myChart
=
echarts
.
init
(
chartDom
);
myChart
.
setOption
({
legend
:
{
bottom
:
0
,
itemWidth
:
10
,
itemHeight
:
10
},
tooltip
:
{
trigger
:
'
axis
'
,
axisPointer
:
{
type
:
'
shadow
'
}
},
color
:[
'
#29D090
'
],
grid
:
{
top
:
'
3%
'
,
left
:
'
3%
'
,
right
:
'
3%
'
,
bottom
:
'
10%
'
,
containLabel
:
true
},
xAxis
:
{
type
:
'
value
'
,
boundaryGap
:
[
0
,
0.01
]
},
yAxis
:
{
type
:
'
category
'
,
data
:
barY
,
axisTick
:
{
show
:
false
}
},
series
:
[{
name
:
'
访问次数
'
,
type
:
'
bar
'
,
data
:
barX
,
barWidth
:
10
}
]
})
},
initLine
(
lineX
,
lineY
)
{
let
chartDom
=
document
.
getElementById
(
'
number
'
)
let
myChart
=
echarts
.
init
(
chartDom
);
myChart
.
setOption
({
legend
:
{
bottom
:
0
},
grid
:
{
left
:
'
10%
'
,
rigth
:
0
,
top
:
'
5%
'
,
bottom
:
'
15%
'
},
xAxis
:
{
type
:
'
category
'
,
data
:
lineX
,
axisTick
:
{
show
:
false
}
},
yAxis
:
{
type
:
'
value
'
},
series
:
[{
name
:
'
页面访问次数
'
,
data
:
lineY
,
type
:
'
line
'
,
markLine
:
{
data
:
[{
type
:
'
average
'
,
name
:
'
均值
'
}],
label
:
{
position
:
'
insideStartTop
'
,
formatter
:
'
{b}:{c}
'
}
}
}]
})
}
}
};
import
product
from
"
../mixins/product
"
;
import
*
as
echarts
from
"
echarts
"
;
import
{
getAccessAnalyse
}
from
"
@/api/dataActuary.js
"
;
import
moment
from
"
moment
"
;
export
default
{
mixins
:
[
product
],
data
()
{
return
{
queryform
:
{
productId
:
1
,
dateTimeStart
:
moment
().
format
(
"
yyyy-MM-DD
"
),
dateTimeEnd
:
moment
().
format
(
"
yyyy-MM-DD
"
),
},
time
:
[
moment
().
format
(
"
yyyy-MM-DD
"
),
moment
().
format
(
"
yyyy-MM-DD
"
)],
product
:
[
{
title
:
"
排队机
"
,
id
:
1
,
},
],
labelCol
:
{
span
:
1
,
},
wrapperCol
:
{
span
:
14
,
},
data
:
null
,
};
},
mounted
()
{
this
.
getData
();
},
methods
:
{
getData
()
{
this
.
queryform
.
dateTimeStart
=
this
.
time
?
this
.
time
[
0
]
:
null
;
this
.
queryform
.
dateTimeEnd
=
this
.
time
?
this
.
time
[
1
]
:
null
;
getAccessAnalyse
(
this
.
queryform
).
then
((
res
)
=>
{
this
.
data
=
res
.
data
;
let
lineX
=
res
.
data
.
accessTrend
.
map
((
item
)
=>
item
.
accessDay
);
let
lineY
=
res
.
data
.
accessTrend
.
map
((
item
)
=>
item
.
accessCount
);
let
barX
=
res
.
data
.
pageAccessTop
.
map
((
item
)
=>
item
.
accessCount
);
let
barY
=
res
.
data
.
pageAccessTop
.
map
((
item
)
=>
item
.
pageName
);
this
.
initLine
(
lineX
,
lineY
);
this
.
initBar
(
barX
,
barY
);
});
},
initBar
(
barX
,
barY
)
{
let
chartDom
=
document
.
getElementById
(
"
pages
"
);
let
myChart
=
echarts
.
init
(
chartDom
);
myChart
.
setOption
({
legend
:
{
bottom
:
0
,
itemWidth
:
10
,
itemHeight
:
10
,
},
tooltip
:
{
trigger
:
"
axis
"
,
axisPointer
:
{
type
:
"
shadow
"
,
},
},
color
:
[
"
#29D090
"
],
grid
:
{
top
:
"
3%
"
,
left
:
"
3%
"
,
right
:
"
3%
"
,
bottom
:
"
10%
"
,
containLabel
:
true
,
},
xAxis
:
{
type
:
"
value
"
,
boundaryGap
:
[
0
,
0.01
],
},
yAxis
:
{
type
:
"
category
"
,
data
:
barY
,
axisTick
:
{
show
:
false
,
},
},
series
:
[
{
name
:
"
访问次数
"
,
type
:
"
bar
"
,
data
:
barX
,
barWidth
:
10
,
},
],
});
},
initLine
(
lineX
,
lineY
)
{
let
chartDom
=
document
.
getElementById
(
"
number
"
);
let
myChart
=
echarts
.
init
(
chartDom
);
myChart
.
setOption
({
legend
:
{
bottom
:
0
,
},
grid
:
{
left
:
"
10%
"
,
rigth
:
0
,
top
:
"
5%
"
,
bottom
:
"
15%
"
,
},
xAxis
:
{
type
:
"
category
"
,
data
:
lineX
,
axisTick
:
{
show
:
false
,
},
},
yAxis
:
{
type
:
"
value
"
,
},
series
:
[
{
name
:
"
页面访问次数
"
,
data
:
lineY
,
type
:
"
line
"
,
markLine
:
{
data
:
[
{
type
:
"
average
"
,
name
:
"
均值
"
,
},
],
label
:
{
position
:
"
insideStartTop
"
,
formatter
:
"
{b}:{c}
"
,
},
},
},
],
});
},
},
};
</
script
>
<
style
lang=
"less"
scoped
>
.page {
height: calc(100% - 50px);
.page {
height: calc(100% - 50px);
/deep/.ant-form {
padding: 15px;
border-bottom: solid 1px #efefef;
}
/deep/.ant-form {
padding: 15px;
border-bottom: solid 1px #efefef;
}
.box {
height: calc(100% - 70px);
display: flex;
.box {
height: calc(100% - 70px);
display: flex;
.left-dv {
width: 55%;
min-height: 100%;
border-right: solid 1px #efefef;
padding: 15px;
.left-dv {
width: 55%;
min-height: 100%;
border-right: solid 1px #efefef;
padding: 15px;
.txt-dv {
display: flex;
justify-content: space-around;
margin: 50px;
text-align: center;
.txt-dv {
display: flex;
justify-content: space-around;
margin: 50px;
text-align: center;
.num {
font-size: 24px;
margin-bottom: 10px;
}
}
.num {
font-size: 24px;
margin-bottom: 10px;
}
}
#number {
height: 350px;
}
}
#number {
height: 350px;
}
}
.right-dv {
flex: 1;
padding: 15px;
.right-dv {
flex: 1;
padding: 15px;
.page-box {
display: flex;
justify-content: space-between;
margin: 20px 0;
.page-box {
display: flex;
justify-content: space-between;
margin: 20px 0;
.page-dv {
width: calc(50% - 15px);
height: 140px;
background-color: #F5FAFF
;
padding: 30px;
box-sizing: border-box;
.page-dv {
width: calc(50% - 15px);
height: 140px;
background-color: #f5faff
;
padding: 30px;
box-sizing: border-box;
.page-num {
font-size: 24px;
margin-top: 20px;
}
}
}
.page-num {
font-size: 24px;
margin-top: 20px;
}
}
}
.chatrs-dv {
padding: 20px;
background-color: #F6FBF
7;
}
.chatrs-dv {
padding: 20px;
background-color: #f6fbf
7;
}
#pages {
height: 290px;
}
}
}
}
</
style
>
\ No newline at end of file
#pages {
height: 290px;
}
}
}
}
</
style
>
portal-manager-ui/admin/src/views/dataActuary/behaviour/pathanalyse/pathAnalyse.vue
View file @
c4d7cd11
<
template
>
<!-- 路径分析 -->
<div
class=
"page"
>
<a-form-model
:model=
"queryform"
:label-col=
"labelCol"
:wrapper-col=
"wrapperCol"
layout=
"inline"
>
<a-form-model-item>
<a-select
v-model=
"queryform.productId"
style=
"width: 200px"
placeholder=
"选择产品"
>
<a-select-option
:value=
"item.id"
v-for=
"(item,index) in product"
:key=
"index"
>
{{
item
.
title
}}
</a-select-option>
</a-select>
</a-form-model-item>
<a-form-model-item>
<a-range-picker
valueFormat=
"yyyy-MM-DD"
v-model=
"time"
style=
"width: 300px"
:allowClear=
"false"
/>
</a-form-model-item>
<a-form-model-item>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"getData"
>
开始分析
</a-button>
</a-form-model-item>
</a-form-model>
<div
id=
"path"
></div>
</div>
<!-- 路径分析 -->
<div
class=
"page"
>
<a-form-model
:model=
"queryform"
:label-col=
"labelCol"
:wrapper-col=
"wrapperCol"
layout=
"inline"
>
<a-form-model-item>
<a-select
v-model=
"queryform.productId"
style=
"width: 200px"
placeholder=
"选择产品"
>
<a-select-option
:value=
"item.id"
v-for=
"(item, index) in product"
:key=
"index"
>
{{
item
.
title
}}
</a-select-option>
</a-select>
</a-form-model-item>
<a-form-model-item>
<a-range-picker
valueFormat=
"yyyy-MM-DD"
v-model=
"time"
style=
"width: 300px"
:allowClear=
"false"
/>
</a-form-model-item>
<a-form-model-item>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"getData"
>
开始分析
</a-button>
</a-form-model-item>
</a-form-model>
<div
id=
"path"
></div>
</div>
</
template
>
<
script
>
import
*
as
echarts
from
'
echarts
'
import
product
from
"
../mixins/product
"
import
{
getWayAccessAnalyse
}
from
'
@/api/dataActuary.js
'
import
moment
from
'
moment
'
;
export
default
{
mixins
:[
product
],
data
()
{
return
{
queryform
:
{
productId
:
1
,
dateTimeStart
:
moment
().
format
(
'
yyyy-MM-DD
'
),
dateTimeEnd
:
moment
().
format
(
'
yyyy-MM-DD
'
)
},
time
:[
moment
().
format
(
'
yyyy-MM-DD
'
),
moment
().
format
(
'
yyyy-MM-DD
'
)],
product
:[{
title
:
'
排队机
'
,
id
:
1
}],
labelCol
:
{
span
:
1
},
wrapperCol
:
{
span
:
14
},
}
},
mounted
()
{
this
.
getData
()
},
methods
:
{
getData
()
{
this
.
queryform
.
dateTimeStart
=
this
.
time
?
this
.
time
[
0
]
:
null
this
.
queryform
.
dateTimeStart
=
this
.
time
?
this
.
time
[
1
]
:
null
getWayAccessAnalyse
(
this
.
queryform
).
then
(
res
=>
{
let
data
=
res
.
data
.
data
.
map
(
item
=>
({
name
:
item
.
name
}))
let
links
=
res
.
data
.
links
.
map
(
item
=>
({
source
:
item
.
sourceName
,
target
:
item
.
targetName
,
value
:
item
.
value
,
lineStyle
:{
color
:
'
source
'
}
}))
this
.
init
(
data
,
links
)
})
},
uniqueFunc
(
arr
,
uniId
){
const
res
=
new
Map
();
return
arr
.
filter
((
item
)
=>
!
res
.
has
(
item
[
uniId
])
&&
res
.
set
(
item
[
uniId
],
1
));
},
init
(
data
,
links
)
{
let
chartDom
=
document
.
getElementById
(
'
path
'
)
let
myChart
=
echarts
.
init
(
chartDom
);
myChart
.
setOption
({
series
:
{
type
:
'
sankey
'
,
layout
:
'
none
'
,
emphasis
:
{
focus
:
'
adjacency
'
},
color
:[
'
#FFCAC4
'
,
'
#6D86DE
'
,
'
#409AFE
'
,
'
#4DB3EA
'
,
'
#07CF8C
'
],
nodeWidth
:
10
,
data
:
data
,
links
:
links
}
})
}
}
};
import
*
as
echarts
from
"
echarts
"
;
import
product
from
"
../mixins/product
"
;
import
{
getWayAccessAnalyse
}
from
"
@/api/dataActuary.js
"
;
import
moment
from
"
moment
"
;
export
default
{
mixins
:
[
product
],
data
()
{
return
{
queryform
:
{
productId
:
1
,
dateTimeStart
:
moment
().
format
(
"
yyyy-MM-DD
"
),
dateTimeEnd
:
moment
().
format
(
"
yyyy-MM-DD
"
),
},
time
:
[
moment
().
format
(
"
yyyy-MM-DD
"
),
moment
().
format
(
"
yyyy-MM-DD
"
)],
product
:
[
{
title
:
"
排队机
"
,
id
:
1
,
},
],
labelCol
:
{
span
:
1
,
},
wrapperCol
:
{
span
:
14
,
},
myChart
:
null
,
};
},
created
()
{
this
.
$nextTick
(()
=>
{
this
.
getData
();
});
},
methods
:
{
getData
()
{
this
.
queryform
.
dateTimeStart
=
this
.
time
?
this
.
time
[
0
]
:
null
;
this
.
queryform
.
dateTimeStart
=
this
.
time
?
this
.
time
[
1
]
:
null
;
getWayAccessAnalyse
(
this
.
queryform
).
then
((
res
)
=>
{
let
data
=
res
.
data
.
data
.
map
((
item
,
i
)
=>
item
.
code
!=
"
/sceneSignIn
"
?
{
name
:
item
.
name
,
}
:
""
);
let
links
=
res
.
data
.
links
.
map
((
item
)
=>
({
source
:
item
.
sourceName
,
target
:
item
.
targetName
,
value
:
item
.
value
,
lineStyle
:
{
color
:
"
source
"
,
},
}));
data
=
data
.
filter
((
v
)
=>
v
);
links
=
links
.
filter
((
v
)
=>
v
.
target
!=
"
首页
"
);
this
.
init
(
data
,
links
);
});
},
uniqueFunc
(
arr
,
uniId
)
{
const
res
=
new
Map
();
return
arr
.
filter
(
(
item
)
=>
!
res
.
has
(
item
[
uniId
])
&&
res
.
set
(
item
[
uniId
],
1
)
);
},
init
(
data
,
links
)
{
if
(
this
.
myChart
!=
null
&&
this
.
myChart
!=
""
&&
this
.
myChart
!=
undefined
)
{
this
.
myChart
.
dispose
();
//销毁
}
this
.
myChart
=
echarts
.
init
(
document
.
getElementById
(
"
path
"
));
this
.
myChart
.
setOption
({
series
:
{
type
:
"
sankey
"
,
layout
:
"
none
"
,
emphasis
:
{
focus
:
"
adjacency
"
,
},
color
:
[
"
#FFCAC4
"
,
"
#6D86DE
"
,
"
#409AFE
"
,
"
#4DB3EA
"
,
"
#07CF8C
"
],
nodeWidth
:
10
,
data
:
data
,
links
:
links
,
},
});
window
.
addEventListener
(
"
resize
"
,
()
=>
{
if
(
this
.
myChart
)
{
this
.
myChart
.
resize
();
}
});
},
},
};
</
script
>
<
style
lang=
"less"
scoped
>
.page{
height: calc(100% - 50px);
display: flex;
flex-direction: column;
/deep/.ant-form {
padding: 15px;
}
#path{
flex: 1;
width: 70%;
margin: 0 auto;
}
}
</
style
>
\ No newline at end of file
.page {
height: calc(100% - 50px);
display: flex;
flex-direction: column;
/deep/.ant-form {
padding: 15px;
}
#path {
flex: 1;
width: 70%;
margin: 0 auto;
}
}
</
style
>
portal-manager-ui/admin/src/views/dataActuary/dataActuary.vue
View file @
c4d7cd11
...
...
@@ -99,7 +99,7 @@ export default {
handleJump
(
url
)
{
if
(
url
.
includes
(
"
http
"
)
||
url
.
includes
(
"
https
"
))
{
let
siteid
=
Storage
.
get
(
2
,
"
siteId
"
)
||
0
;
location
.
href
=
`
${
url
}
?token=
${
this
.
token
}
&siteid=
${
siteid
}
`
;
window
.
open
(
`
${
url
}
?token=
${
this
.
token
}
&siteid=
${
siteid
}
`
,
"
_blank
"
)
;
}
else
{
this
.
$router
.
push
(
url
);
}
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/Impossible/index.vue
View file @
c4d7cd11
...
...
@@ -308,6 +308,7 @@ export default {
// 查看信息
checkInfo
(
id
)
{
this
.
loading
=
true
;
getImpossibleInfo
({
id
:
id
,
}).
then
((
res
)
=>
{
...
...
@@ -316,6 +317,7 @@ export default {
this
.
$refs
.
FormDetails
.
fromData
=
data
;
this
.
visible
=
true
;
}
this
.
loading
=
false
;
});
},
},
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/easyPoliticsShow/PoliticsShow.vue
View file @
c4d7cd11
...
...
@@ -96,7 +96,7 @@ const filterVal = [
"
organization
"
,
"
customerDesignPictures
"
,
"
customerDesignVideos
"
,
"
memberLevel
"
,
"
levelName
"
,
"
lastLoginTime
"
,
"
status
"
,
];
// 导出的表头字段名,需要导出表格字段名
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/evaluationRecordReport/departmentEvaluation.vue
View file @
c4d7cd11
...
...
@@ -383,6 +383,7 @@ export default {
},
// 详情
async
checkInfo
(
id
)
{
this
.
loading
=
true
;
let
res
=
await
getEvaData
({
id
});
if
(
res
.
code
==
1
)
{
let
{
data
}
=
res
;
...
...
@@ -390,6 +391,7 @@ export default {
this
.
detailsInfo
=
data
;
this
.
detailsVisible
=
true
;
}
this
.
loading
=
false
;
},
// 删除
handleDel
(
id
)
{
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/evaluationRecordReport/matterEvaluation.vue
View file @
c4d7cd11
...
...
@@ -380,12 +380,14 @@ export default {
},
// 详情
async
checkInfo
(
id
)
{
this
.
loading
=
true
;
let
res
=
await
getQueEvaData
({
id
});
if
(
res
.
code
==
1
)
{
let
{
data
}
=
res
;
this
.
detailsInfo
=
data
;
this
.
detailsVisible
=
true
;
}
this
.
loading
=
false
;
},
// 删除
handleDel
(
id
)
{
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/evaluationRecordReport/windowEvaluation.vue
View file @
c4d7cd11
...
...
@@ -381,6 +381,7 @@ export default {
},
// 详情
async
checkInfo
(
id
)
{
this
.
loading
=
true
;
let
res
=
await
getEvaData
({
id
});
if
(
res
.
code
==
1
)
{
let
{
data
}
=
res
;
...
...
@@ -388,6 +389,7 @@ export default {
this
.
detailsInfo
=
data
;
this
.
detailsVisible
=
true
;
}
this
.
loading
=
false
;
},
// 删除
handleDel
(
id
)
{
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/fillRecordReport/fillForm.vue
View file @
c4d7cd11
...
...
@@ -209,31 +209,15 @@ export default {
// 获取报表
async
getPrintList
()
{
this
.
loading
=
true
;
let
pramse
=
{
page
:
this
.
current
,
size
:
this
.
size
,
siteId
:
this
.
siteId
,
type
:
this
.
searchForm
.
status
,
createTimeStart
:
this
.
searchForm
.
time
[
0
],
createTimeEnd
:
this
.
searchForm
.
time
[
1
],
};
if
(
this
.
searchForm
.
type
==
1
)
{
pramse
.
matterName
=
`%
${
this
.
searchForm
.
searchName
}
%`
;
}
else
{
pramse
.
materialName
=
`%
${
this
.
searchForm
.
searchName
}
%`
;
}
let
res
=
await
getPrintList
(
pramse
);
if
(
res
.
code
==
1
)
{
let
{
data
,
total
}
=
res
.
data
;
this
.
total
=
total
;
this
.
tableData
=
data
;
this
.
$emit
(
"
update
"
,
{
total
,
time
:
this
.
searchForm
.
time
});
}
let
{
total
,
data
}
=
await
this
.
getDataList
();
this
.
total
=
total
;
this
.
tableData
=
data
;
this
.
$emit
(
"
update
"
,
{
total
,
time
:
this
.
searchForm
.
time
});
this
.
loading
=
false
;
},
// 获取
导出数据
async
get
ExportPrintList
(
)
{
// 获取
数据函数
async
get
DataList
(
searchForm
)
{
let
list
=
[];
let
listTotal
=
0
;
let
pramse
=
{
...
...
@@ -243,6 +227,7 @@ export default {
type
:
this
.
searchForm
.
status
,
createTimeStart
:
this
.
searchForm
.
time
[
0
],
createTimeEnd
:
this
.
searchForm
.
time
[
1
],
...
searchForm
,
};
if
(
this
.
searchForm
.
type
==
1
)
{
pramse
.
matterName
=
`%
${
this
.
searchForm
.
searchName
}
%`
;
...
...
@@ -250,10 +235,10 @@ export default {
pramse
.
materialName
=
`%
${
this
.
searchForm
.
searchName
}
%`
;
}
let
res
=
await
getPrintList
(
pramse
);
if
(
res
.
data
.
code
==
1
)
{
let
{
data
,
total
}
=
res
.
data
.
data
;
list
=
data
;
if
(
res
.
code
==
1
)
{
let
{
data
,
total
}
=
res
.
data
;
listTotal
=
total
;
list
=
data
;
}
return
{
data
:
list
,
...
...
@@ -304,7 +289,7 @@ export default {
"
填单记录报表
"
+
this
.
$moment
().
format
(
"
YYYYMMDDHHmmss
"
)
);
}
else
{
this
.
dataSection
(
this
.
get
ExportPrint
List
,
{},
(
data
)
=>
{
this
.
dataSection
(
this
.
get
Data
List
,
{},
(
data
)
=>
{
if
(
!
data
.
length
)
{
this
.
$message
.
warning
(
"
暂无数据
"
);
return
;
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/makeRecordReport/makeRecordReport.vue
View file @
c4d7cd11
...
...
@@ -383,11 +383,13 @@ export default {
},
// 详情
async
checkInfo
({
id
})
{
this
.
loading
=
true
;
let
res
=
await
getOrderinfo
({
id
});
if
(
res
.
code
==
1
)
{
this
.
detailsInfo
=
res
.
data
;
this
.
visible
=
true
;
}
this
.
loading
=
false
;
},
},
};
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/networkGovernance/callRecordForm.vue
View file @
c4d7cd11
...
...
@@ -32,8 +32,8 @@ import { mapState } from "vuex";
import
storage
from
"
@/utils/js/Storage
"
;
import
{
export2Excel
}
from
"
@/utils/js/exportExcel
"
;
import
{
getSys12345
}
from
"
@/api/dataAdmin
"
;
const
tHeader
=
[
"
序号
"
,
"
微信号
"
,
"
电话号码
"
,
"
拨打位置
"
,
"
拨打时间
"
];
// 导出的表头名信息
const
filterVal
=
[
"
index
"
,
"
nickname
"
,
"
phone
"
,
"
address
"
,
"
create_time
"
];
// 导出的表头字段名,需要导出表格字段名
const
tHeader
=
[
"
微信号
"
,
"
电话号码
"
,
"
拨打位置
"
,
"
拨打时间
"
];
// 导出的表头名信息
const
filterVal
=
[
"
nickname
"
,
"
phone
"
,
"
address
"
,
"
create_time
"
];
// 导出的表头字段名,需要导出表格字段名
export
default
{
components
:
{},
data
()
{
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/networkGovernance/letterRecordForm.vue
View file @
c4d7cd11
...
...
@@ -50,7 +50,6 @@ import FormDetails from "./components/FormDetails.vue";
import
{
export2Excel
}
from
"
@/utils/js/exportExcel
"
;
import
{
adminList
,
letterInfo
}
from
"
@/api/dataAdmin
"
;
const
tHeader
=
[
"
序号
"
,
"
工单编号
"
,
"
信件标题
"
,
"
信件类别
"
,
...
...
@@ -64,7 +63,6 @@ const tHeader = [
"
办理部门
"
,
];
// 导出的表头名信息
const
filterVal
=
[
"
index
"
,
"
LetterCode
"
,
"
strTitle
"
,
"
strType
"
,
...
...
@@ -294,6 +292,18 @@ export default {
if
(
this
.
selectedRowKeys
.
length
&&
this
.
excelData
.
length
)
{
// 深度克隆避免影响页面表格展示
let
data
=
this
.
$_
.
cloneDeep
(
this
.
excelData
);
for
(
let
item
of
data
)
{
item
.
strGender
=
item
.
strGender
==
0
?
"
无
"
:
item
.
strGender
==
1
?
"
男
"
:
"
女
"
;
item
.
source
=
item
.
source
==
1
?
"
微官网
"
:
item
.
source
==
2
?
"
自助服务系统
"
:
item
.
source
==
3
?
"
数字填单系统
"
:
"
无
"
;
}
export2Excel
(
this
.
tHeader
,
this
.
filterVal
,
...
...
@@ -306,6 +316,18 @@ export default {
this
.
$message
.
warning
(
"
暂无数据
"
);
return
;
}
for
(
let
item
of
data
)
{
item
.
strGender
=
item
.
strGender
==
0
?
"
无
"
:
item
.
strGender
==
1
?
"
男
"
:
"
女
"
;
item
.
source
=
item
.
source
==
1
?
"
微官网
"
:
item
.
source
==
2
?
"
自助服务系统
"
:
item
.
source
==
3
?
"
数字填单系统
"
:
"
无
"
;
}
export2Excel
(
this
.
tHeader
,
this
.
filterVal
,
...
...
@@ -343,12 +365,14 @@ export default {
},
// 查看信息
checkInfo
(
id
)
{
this
.
loading
=
true
;
letterInfo
({
id
}).
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
let
{
data
}
=
res
;
this
.
$refs
.
FormDetails
.
fromData
=
data
;
this
.
visible
=
true
;
}
this
.
loading
=
false
;
});
},
},
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/networkGovernance/networkForm.vue
View file @
c4d7cd11
...
...
@@ -377,6 +377,7 @@ export default {
// 查看信息
checkInfo
(
id
)
{
this
.
loading
=
true
;
getWLLZInfo
({
id
:
id
,
}).
then
((
res
)
=>
{
...
...
@@ -385,6 +386,7 @@ export default {
this
.
$refs
.
FormDetails
.
fromData
=
data
;
this
.
visible
=
true
;
}
this
.
loading
=
false
;
});
},
},
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/queueCall/callRecord.vue
View file @
c4d7cd11
...
...
@@ -372,6 +372,7 @@ export default {
// 查看用户信息
async
checkUser
(
row
)
{
this
.
loading
=
true
;
let
res
=
await
getPeopleanalyse
({
idcard
:
row
.
people_idcard
,
peopleid
:
row
.
peopleid
,
...
...
@@ -381,11 +382,13 @@ export default {
let
{
data
}
=
res
;
this
.
userInfo
=
{
...
row
,
...
data
};
}
this
.
loading
=
false
;
this
.
userInfoVisible
=
true
;
},
// 查看业务信息
async
checkBusiness
(
row
)
{
this
.
loading
=
true
;
let
res
=
await
getBusinessEvent
({
businessid
:
row
.
businessid
,
time
:
this
.
searchForm
.
time
,
...
...
@@ -397,10 +400,12 @@ export default {
this
.
businessInfo
=
data
;
this
.
analysisVisible
=
true
;
}
this
.
loading
=
false
;
},
// 查看工作人员
async
checkWorkman
(
id
)
{
this
.
loading
=
true
;
let
res
=
await
getWorkmananalyse
({
workmanid
:
id
,
time
:
this
.
searchForm
.
time
,
...
...
@@ -410,11 +415,13 @@ export default {
});
let
{
data
}
=
res
;
this
.
workerInfo
=
{
...
data
,
...
result
.
data
};
this
.
loading
=
false
;
this
.
workerInfoVisible
=
true
;
},
// 查看详细信息
async
checkInfo
(
id
)
{
this
.
loading
=
true
;
let
res
=
await
getQueueInfo
({
id
,
});
...
...
@@ -423,6 +430,7 @@ export default {
this
.
detailsInfo
=
data
;
this
.
detailsVisible
=
true
;
}
this
.
loading
=
false
;
},
// 勾选表格
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/queueCall/queueRecord.vue
View file @
c4d7cd11
...
...
@@ -365,6 +365,7 @@ export default {
// 查看用户信息
async
checkUser
(
row
)
{
this
.
loading
=
true
;
let
res
=
await
getPeopleanalyse
({
idcard
:
row
.
people_idcard
,
peopleid
:
row
.
peopleid
,
...
...
@@ -374,11 +375,13 @@ export default {
let
{
data
}
=
res
;
this
.
userInfo
=
{
...
row
,
...
data
};
}
this
.
loading
=
false
;
this
.
userInfoVisible
=
true
;
},
// 查看业务信息
async
checkBusiness
(
row
)
{
this
.
loading
=
true
;
let
res
=
await
getBusinessEvent
({
businessid
:
row
.
businessid
,
time
:
this
.
searchForm
.
time
,
...
...
@@ -390,10 +393,12 @@ export default {
this
.
businessInfo
=
data
;
this
.
analysisVisible
=
true
;
}
this
.
loading
=
false
;
},
// 查看工作人员
async
checkWorkman
(
id
)
{
this
.
loading
=
true
;
let
res
=
await
getWorkmananalyse
({
workmanid
:
id
,
time
:
this
.
searchForm
.
time
,
...
...
@@ -403,11 +408,13 @@ export default {
});
let
{
data
}
=
res
;
this
.
workerInfo
=
{
...
data
,
...
result
.
data
};
this
.
loading
=
false
;
this
.
workerInfoVisible
=
true
;
},
// 查看详细信息
async
checkInfo
(
id
)
{
this
.
loading
=
true
;
let
res
=
await
getQueueInfo
({
id
,
});
...
...
@@ -416,6 +423,7 @@ export default {
this
.
detailsInfo
=
data
;
this
.
detailsVisible
=
true
;
}
this
.
loading
=
false
;
},
// 勾选表格
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/sampleRecordReport/sampleForm.vue
View file @
c4d7cd11
...
...
@@ -37,8 +37,10 @@
<div
class=
"ellipsis"
:title=
"text"
>
{{
text
?
text
:
"
--
"
}}
</div>
<div
class=
"ellipsis"
:title=
"record.materiaFullName"
>
样表全称:
{{
record
.
materiaFullName
?
record
.
materiaFullName
:
"
--
"
}}
<div
class=
"ellipsis"
:title=
"record.materialFullName"
>
样表全称:
{{
record
.
materialFullName
?
record
.
materialFullName
:
"
--
"
}}
</div>
</
template
>
<!-- 类型 -->
...
...
@@ -173,31 +175,15 @@ export default {
// 获取报表
async
getBillList
()
{
this
.
loading
=
true
;
let
pramse
=
{
page
:
this
.
current
,
size
:
this
.
size
,
siteId
:
this
.
siteId
,
type
:
this
.
searchForm
.
status
,
operTimeStart
:
this
.
searchForm
.
time
[
0
],
operTimeEnd
:
this
.
searchForm
.
time
[
1
],
};
if
(
this
.
searchForm
.
type
==
1
)
{
pramse
.
matterName
=
`%
${
this
.
searchForm
.
searchName
}
%`
;
}
else
{
pramse
.
materialName
=
`%
${
this
.
searchForm
.
searchName
}
%`
;
}
let
res
=
await
getBillList
(
pramse
);
if
(
res
.
code
==
1
)
{
let
{
data
,
total
}
=
res
.
data
;
this
.
total
=
total
;
this
.
tableData
=
data
;
this
.
$emit
(
"
update
"
,
{
total
,
time
:
this
.
searchForm
.
time
});
}
let
{
total
,
data
}
=
await
this
.
getDataList
();
this
.
total
=
total
;
this
.
tableData
=
data
;
this
.
$emit
(
"
update
"
,
{
total
,
time
:
this
.
searchForm
.
time
});
this
.
loading
=
false
;
},
// 获取
导出数据
async
get
ExportPrintList
(
)
{
// 获取
数据函数
async
get
DataList
(
searchForm
)
{
let
list
=
[];
let
listTotal
=
0
;
let
pramse
=
{
...
...
@@ -207,6 +193,7 @@ export default {
type
:
this
.
searchForm
.
status
,
operTimeStart
:
this
.
searchForm
.
time
[
0
],
operTimeEnd
:
this
.
searchForm
.
time
[
1
],
...
searchForm
,
};
if
(
this
.
searchForm
.
type
==
1
)
{
pramse
.
matterName
=
`%
${
this
.
searchForm
.
searchName
}
%`
;
...
...
@@ -216,8 +203,8 @@ export default {
let
res
=
await
getBillList
(
pramse
);
if
(
res
.
code
==
1
)
{
let
{
data
,
total
}
=
res
.
data
;
list
=
data
;
listTotal
=
total
;
list
=
data
;
}
return
{
data
:
list
,
...
...
@@ -257,7 +244,7 @@ export default {
"
样表记录报表
"
+
this
.
$moment
().
format
(
"
YYYYMMDDHHmmss
"
)
);
}
else
{
this
.
dataSection
(
this
.
get
ExportPrint
List
,
{},
(
data
)
=>
{
this
.
dataSection
(
this
.
get
Data
List
,
{},
(
data
)
=>
{
if
(
!
data
.
length
)
{
this
.
$message
.
warning
(
"
暂无数据
"
);
return
;
...
...
portal-manager-ui/admin/src/views/dataAdmin/dataAdmin.vue
View file @
c4d7cd11
...
...
@@ -11,22 +11,12 @@
class=
"flex items-center justify-between flex-shrink-0 pl-[10px] pr-[10px]"
>
<div
:class=
"['tab-item',
{ active: active == 'CensusType_1' }]"
@click="changeCensusType('CensusType_1')"
v-for=
"v in CensusTypeList"
:key=
"v.type"
:class=
"['tab-item',
{ active: active == v.type }]"
@click="changeCensusType(v.type)"
>
聚焦服务
</div>
<div
:class=
"['tab-item',
{ active: active == 'CensusType_2' }]"
@click="changeCensusType('CensusType_2')"
>
聚焦协同
</div>
<div
:class=
"['tab-item',
{ active: active == 'CensusType_3' }]"
@click="changeCensusType('CensusType_3')"
>
聚焦监管
{{
v
.
name
}}
</div>
</div>
<div
...
...
@@ -91,6 +81,20 @@ export default {
data
()
{
return
{
siteId
:
Storage
.
get
(
2
,
"
siteId
"
),
CensusTypeList
:
[
{
type
:
"
CensusType_1
"
,
name
:
"
聚焦服务
"
,
},
{
type
:
"
CensusType_2
"
,
name
:
"
聚焦协同
"
,
},
{
type
:
"
CensusType_3
"
,
name
:
"
聚焦监管
"
,
},
],
CensusType_1
:
[],
// 服务
CensusType_2
:
[],
// 协同
CensusType_3
:
[],
// 监管
...
...
portal-manager-ui/admin/src/views/home/components/changePassword.vue
View file @
c4d7cd11
...
...
@@ -41,7 +41,8 @@
import
{
changePassWord
}
from
"
@/utils/js/validate
"
;
import
{
changePassword
,
LogoutInterface
}
from
"
@/api/user
"
;
import
{
mapMutations
}
from
"
vuex
"
;
import
{
encrypt
}
from
"
@/utils
"
;
// import { encrypt } from "@/utils";
import
storage
from
"
@/utils/js/Storage
"
;
export
default
{
props
:
{
visibleEditPwd
:
{
...
...
@@ -98,10 +99,15 @@ export default {
let
_this
=
this
;
this
.
$refs
.
formData
.
validate
(
async
(
valid
)
=>
{
if
(
valid
)
{
// let obj = {
// loginName: encrypt(this.form.loginName),
// oldPwd: encrypt(this.form.oldPwd),
// newPwd: encrypt(this.form.newPwd),
// };
let
obj
=
{
loginName
:
encrypt
(
this
.
form
.
loginName
)
,
oldPwd
:
encrypt
(
this
.
form
.
oldPwd
)
,
newPwd
:
encrypt
(
this
.
form
.
newPwd
)
,
loginName
:
this
.
form
.
loginName
,
oldPwd
:
this
.
form
.
oldPwd
,
newPwd
:
this
.
form
.
newPwd
,
};
let
res
=
await
changePassword
(
obj
);
let
{
code
}
=
res
;
...
...
portal-manager-ui/admin/src/views/thePlatformIsSet/components/APIServe/components/portDocument.vue
View file @
c4d7cd11
...
...
@@ -236,6 +236,7 @@ export default {
}
.Container {
width: 100%;
background: #f5f5f5;
.content {
...
...
portal-manager-ui/admin/src/views/thePlatformIsSet/components/permissionsModel/components/EditPwd.vue
View file @
c4d7cd11
...
...
@@ -13,8 +13,8 @@
:model=
"form"
:rules=
"rules"
ref=
"formData"
:label-col=
"
{ span:
5
}"
:wrapper-col="{ span: 1
9
}"
:label-col=
"
{ span:
6
}"
:wrapper-col="{ span: 1
8
}"
>
<a-form-model-item
label=
"用户名"
prop=
"loginName"
>
<a-input
...
...
@@ -36,7 +36,9 @@
<div
slot=
"footer"
>
<a-button
style=
"margin-left: 10px"
@
click=
"handleClose"
>
取消
</a-button>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"handleOk"
>
确定
</a-button>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"handleOk"
>
确定
</a-button
>
</div>
</a-modal>
</div>
...
...
@@ -45,6 +47,7 @@
<
script
>
import
{
changeAccount
,
changePassWord
}
from
"
@/utils/js/validate
"
;
import
{
editPassword
}
from
"
@/api/user
"
;
// import { encrypt } from "@/utils";
export
default
{
props
:
{
visibleEditPwd
:
{
...
...
@@ -98,7 +101,15 @@ export default {
handleOk
()
{
this
.
$refs
.
formData
.
validate
(
async
(
valid
)
=>
{
if
(
valid
)
{
let
res
=
await
editPassword
(
this
.
form
);
// let obj = {
// loginName: encrypt(this.form.loginName),
// newPwd: encrypt(this.form.newPwd),
// };
let
obj
=
{
loginName
:
this
.
form
.
loginName
,
newPwd
:
this
.
form
.
newPwd
,
};
let
res
=
await
editPassword
(
obj
);
if
(
res
.
code
===
1
)
{
this
.
$message
.
success
(
"
密码修改成功
"
);
this
.
handleClose
();
...
...
portal-manager-ui/admin/src/views/thePlatformIsSet/components/permissionsModel/components/EditUser.vue
View file @
c4d7cd11
...
...
@@ -69,6 +69,7 @@ import { getListByParentId } from "@/api/area.js";
import
{
userSave
}
from
"
@/api/userManagement.js
"
;
import
{
TreeSelect
}
from
"
ant-design-vue
"
;
const
SHOW_PARENT
=
TreeSelect
.
SHOW_PARENT
;
//SHOW_ALL, SHOW_PARENT, SHOW_CHILD
// import { encrypt } from "@/utils";
export
default
{
data
()
{
return
{
...
...
@@ -180,6 +181,7 @@ export default {
...
this
.
form
,
areaNames
:
JSON
.
stringify
(
this
.
form
.
areaNames
),
areaCodes
:
this
.
form
.
areaNames
.
map
((
v
)
=>
v
.
areaCode
).
join
(
"
,
"
),
// loginName: encrypt(this.form.loginName),
});
let
{
code
,
msg
}
=
res
;
if
(
code
===
1
)
{
...
...
portal-manager-ui/admin/src/views/thePlatformIsSet/components/permissionsModel/components/addUser.vue
View file @
c4d7cd11
...
...
@@ -80,7 +80,9 @@
</a-form-model>
<div
slot=
"footer"
>
<a-button
style=
"margin-left: 10px"
@
click=
"resetForm"
>
重置
</a-button>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"onSubmit"
>
确定
</a-button>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"onSubmit"
>
确定
</a-button
>
</div>
</a-modal>
</div>
...
...
@@ -91,6 +93,7 @@ import { changeAccount, changePassWord } from "@/utils/js/validate";
import
{
getListByParentId
}
from
"
@/api/area.js
"
;
import
{
userSave
}
from
"
@/api/userManagement.js
"
;
import
{
TreeSelect
}
from
"
ant-design-vue
"
;
// import { encrypt } from "@/utils";
const
SHOW_PARENT
=
TreeSelect
.
SHOW_PARENT
;
//SHOW_ALL, SHOW_PARENT, SHOW_CHILD
export
default
{
data
()
{
...
...
@@ -189,6 +192,8 @@ export default {
...
this
.
form
,
areaCodes
:
this
.
form
.
areaCodes
.
join
(
"
,
"
),
areaNames
:
JSON
.
stringify
(
this
.
changeSelect
),
// loginName: encrypt(this.form.loginName),
// loginPwd: encrypt(this.form.loginPwd),
});
let
{
code
,
msg
}
=
res
;
if
(
code
===
1
)
{
...
...
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