Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
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
常超
founder_vue
Commits
f927d090
Commit
f927d090
authored
Dec 09, 2021
by
叶富雄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CODE_XZUNIT
parent
28b98ac3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
804 additions
and
7 deletions
+804
-7
src/router/modules/mxgl.js
+16
-0
src/views/mxgl/mxclydy/addMxclydy.vue
+19
-1
src/views/mxgl/mxclydy/fzjcgxlfx.vue
+388
-0
src/views/mxgl/mxclydy/ywgxlfx.vue
+381
-6
No files found.
src/router/modules/mxgl.js
View file @
f927d090
...
...
@@ -17,6 +17,22 @@ const menuLayouts = [
component
:
()
=>
import
(
"@/views/mxgl/mxclydy/addMxclydy.vue"
)
},
{
path
:
"/ywgxlfx"
,
name
:
"ywgxlfx"
,
meta
:
{
title
:
'业务贡献率分析'
},
component
:
()
=>
import
(
"@/views/mxgl/mxclydy/ywgxlfx.vue"
)
},
{
path
:
"/fzjcgxlfx"
,
name
:
"fzjcgxlfx"
,
meta
:
{
title
:
'辅助决策贡献率分析'
},
component
:
()
=>
import
(
"@/views/mxgl/mxclydy/fzjcgxlfx.vue"
)
},
{
path
:
"/queryMxgl"
,
name
:
"queryMxgl"
,
meta
:
{
...
...
src/views/mxgl/mxclydy/addMxclydy.vue
View file @
f927d090
...
...
@@ -403,7 +403,25 @@ export default {
newAuth
:
"M04"
,
index
:
"wjpj"
,
className
:
"iconfont icongongnengfuwu"
,
hasChildren
:
false
,
hasChildren
:
true
,
children
:[
{
id
:
"ywgxlfx"
,
label
:
"业务贡献率分析"
,
newAuth
:
"M04"
,
index
:
"ywgxlfx"
,
className
:
"iconfont icongongnengfuwu"
,
hasChildren
:
false
,
},
{
id
:
"fzjcgxlfx"
,
label
:
"辅助决策贡献率分析"
,
newAuth
:
"M04"
,
index
:
"fzjcgxlfx"
,
className
:
"iconfont icongongnengfuwu"
,
hasChildren
:
false
,
},
]
},
],
rules
:
{
...
...
src/views/mxgl/mxclydy/fzjcgxlfx.vue
0 → 100644
View file @
f927d090
<
template
>
<div
class=
"Content"
>
<right-content
:pageBs=
"pageBs"
:header=
"header"
:cxFormData=
"cxFormData"
:cxQueryField=
"cxQueryField"
:cxDefaultFormThead=
"cxDefaultFormThead"
:cxUrl=
"cxUrl"
ref=
"rightContent"
>
<template
#
btnGroup=
"scope"
>
<span
class=
"hbyp"
@
click=
"toXq(scope.scope)"
>
查看详情
</span>
<!--
<span
class=
"hbyp"
@
click=
"toWjpj(scope.scope)"
>
微决评价
</span>
-->
</
template
>
</right-content>
<el-dialog
title=
"详情信息"
:visible
.
sync=
"dialogFormVisible"
width=
"60%"
>
<div
style=
"margin: 20px;height: 374px;overflow-y: scroll;"
v-loading=
"loading"
>
<el-table
:data=
"tableData"
border
style=
"width: 100%"
>
<el-table-column
v-for=
"(item, index) in tableData1"
:key=
"index"
:prop=
"item.prop"
:label=
"item.label"
:width=
"item.width"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"item.prop == 'gllx' && scope.row.gllx == '1'"
>
模型管理
</span>
<span
v-else-if=
"item.prop == 'gllx' && scope.row.gllx == '2'"
>
算法管理
</span>
<span
v-else-if=
"item.prop == 'pflx' && scope.row.pflx == '1'"
>
业务贡献率分析
</span>
<span
v-else-if=
"item.prop == 'pflx' && scope.row.pflx == '2'"
>
辅助决策贡献率分析
</span>
<span
v-else
class=
"none"
v-html=
"scope.row[item.prop]"
></span>
</
template
>
</el-table-column>
</el-table>
<div>
<el-pagination
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"page"
:page-sizes=
"[5, 10, 20, 50]"
:page-size=
"limit"
layout=
"sizes,prev, pager, next"
:total=
"tableDataLength"
>
</el-pagination>
</div>
</div>
</el-dialog>
</div>
</template>
<
script
>
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
{
pageTbYwWjpjckxq
}
from
"@/api/fzjc.js"
;
export
default
{
name
:
"queryHbyp"
,
components
:
{
rightContent
,
},
data
()
{
return
{
loading
:
false
,
tableData
:
[],
dwss
:
""
,
page
:
1
,
limit
:
5
,
pflx
:
1
,
tableDataLength
:
0
,
tableData1
:
[
{
label
:
"模型名称"
,
prop
:
"sfmc"
,
width
:
"200"
,
},
{
label
:
"单位"
,
width
:
"300"
,
prop
:
"dwStr"
,
},
{
label
:
"平均分"
,
width
:
"200"
,
prop
:
"pjf"
,
},
{
label
:
"管理类型"
,
width
:
"200"
,
prop
:
"gllx"
,
},
{
label
:
"评分类型"
,
width
:
"200"
,
prop
:
"pflx"
,
},
{
label
:
"工作问题分数"
,
width
:
"200"
,
prop
:
"fxgzwtfs"
,
},
{
label
:
"证据问题分数"
,
width
:
"200"
,
prop
:
"fxzjwtfs"
,
},
{
label
:
"引导工作方向分数"
,
width
:
"200"
,
prop
:
"ydgzfxfs"
,
},
{
label
:
"减少审批环节分数"
,
width
:
"200"
,
prop
:
"jssphjfs"
,
},
{
label
:
"登记人姓名"
,
width
:
"200"
,
prop
:
"xxdjryXm"
,
},
{
label
:
"登记人身份号码"
,
width
:
"200"
,
prop
:
"xxczryGmsfhm"
,
},
],
mxmc
:
""
,
dw
:
""
,
pjForm
:
{},
value
:
0
,
dialogFormVisible
:
false
,
colors
:
[
"#99A9BF"
,
"#F7BA2A"
,
"#FF9900"
],
dialogFormVisiblePj
:
false
,
formLabelWidth
:
"130px"
,
gxlfxList
:
[
{
name
:
"发现工作问题:"
,
value
:
0
,
},
{
name
:
"发现证据问题:"
,
value
:
0
,
},
{
name
:
"引导工作方向:"
,
value
:
0
,
},
{
name
:
"减少审批环节:"
,
value
:
0
,
},
],
header
:
"微决评价完善中心"
,
pageBs
:
"queryWjpj"
,
cxFormData
:
{
limit
:
10
,
page
:
1
,
mxmc
:
""
,
dw
:
""
,
pflx
:
'2'
},
cxQueryField
:
[
{
name
:
"模型名称"
,
id
:
"mxmc"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"3"
,
},
{
name
:
"单位"
,
id
:
"dw"
,
type
:
"codeTreeDialog"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"3"
,
codeOptions
:
[],
codeTree
:
"CODE_UNIT"
,
},
],
cxDefaultFormThead
:
[
{
label
:
"模型/算法名称"
,
prop
:
"sfmc"
,
},
{
label
:
"平均分"
,
prop
:
"pjf"
,
},
{
label
:
"登记人姓名"
,
prop
:
"xxdjryXm"
,
},
{
label
:
"登记人身份号码"
,
prop
:
"xxdjryGmsfhm"
,
},
{
label
:
"操作人姓名"
,
prop
:
"xxczryXm"
,
},
{
label
:
"操作人身份号码"
,
prop
:
"xxczryGmsfhm"
,
},
{
label
:
"操作单位公安机关"
,
prop
:
"xxczdwGajgmc"
,
},
{
label
:
"登记人联系电话"
,
prop
:
"xxdjryLxdh"
,
},
{
label
:
"登记单位公安机关"
,
prop
:
"xxdjdwGajgmc"
,
},
],
cxUrl
:
"/wjpjwszx/pageTbYwGrwjpj"
,
Menu
:
[
// zylx:"asj",
{
id
:
"queryWjpj"
,
label
:
"微决评价完善中心"
,
index
:
"queryWjpj"
,
auth
:
"M0101"
,
className
:
"iconfont iconrizhi"
,
disabled
:
false
,
},
],
selectArr
:
[],
revokeVisiable
:
false
,
ckForm
:
{
file
:
""
,
},
fileArr
:
[],
zdXxzjbh
:
""
,
};
},
created
()
{
this
.
$store
.
commit
(
"user/SET_Menu"
,
this
.
Menu
);
},
methods
:
{
handleSizeChange
(
val
)
{
this
.
limit
=
val
;
this
.
getZbzzList
();
},
handleCurrentChange
(
val
)
{
this
.
page
=
val
;
this
.
getZbzzList
();
},
// 详情
toXq
(
scope
)
{
this
.
dialogFormVisible
=
true
;
this
.
dwss
=
scope
.
row
.
mxmc
;
this
.
getZbzzList
();
},
getZbzzList
()
{
this
.
loading
=
true
;
pageTbYwWjpjckxq
({
mxmc
:
this
.
dwss
,
page
:
this
.
page
,
limit
:
this
.
limit
,
pflx
:
this
.
pflx
,
}).
then
((
res
)
=>
{
this
.
tableData
=
res
.
data
.
rows
;
this
.
loading
=
false
;
this
.
tableDataLength
=
res
.
data
.
total
;
});
},
// 微决评价
toWjpj
(
scope
)
{
debugger
;
this
.
dialogFormVisiblePj
=
true
;
this
.
mxmc
=
scope
.
row
.
mxmc
;
this
.
dw
=
scope
.
row
.
dw
;
},
submitPj
(
scope
)
{
console
.
log
(
"res"
,
this
.
gxlfxList
);
this
.
dialogFormVisiblePj
=
false
;
},
},
watch
:
{
dialogFormVisiblePj
(
newVal
,
oldVal
)
{
if
(
!
newVal
)
{
Object
.
assign
(
this
.
$data
.
gxlfxList
,
this
.
$options
.
data
().
gxlfxList
);
this
.
value
=
0
;
}
},
},
};
</
script
>
<
style
>
.el-dialog__body
{
padding
:
10px
15px
!important
;
}
.rightContent
.el-input__inner
,
#formCommonPage
.el-input__inner
{
height
:
32px
;
line-height
:
32px
;
font-family
:
inherit
;
}
.el-table__header-wrapper
th
,
.el-table__header-wrapper
tr
{
background
:
#f4f6f7
;
}
.rightContent
.el-input__icon
,
#formCommonPage
.el-input__icon
,
.el-input__suffix-inner
{
line-height
:
36px
;
}
.rightContent
.el-range-separator
{
position
:
relative
;
top
:
-4px
;
}
.rightContent
.el-textarea__inner
,
#formCommonPage
.el-textarea__inner
{
width
:
100%
;
font-family
:
inherit
;
}
.rightContent
.el-range-input
,
#formCommonPage
.el-range-input
{
vertical-align
:
top
;
}
.rightContent
.el-date-editor
.el-range__close-icon
{
margin-top
:
-4px
;
}
.rightContent
.el-form-item__error
{
left
:
calc
(
66%
-
27px
);
top
:
12px
;
}
.success-row
{
background-color
:
#fbf9f4
!important
;
}
.Content
.el-input
,
.Content
.el-date-editor--daterange.el-input__inner
{
width
:
100%
!important
;
}
</
style
>
<
style
scoped
lang=
"scss"
>
.el-form-item
{
margin
:
15px
0
20px
0
;
}
.red
{
color
:
red
;
}
.black
{
color
:
black
;
}
@import
"@/assets/styles/rightContent.scss"
;
.hbyp
{
font-size
:
14px
;
font-family
:
Source
Han
Sans
CN
;
font-weight
:
400
;
line-height
:
22px
;
color
:
#007aff
;
margin-right
:
16px
;
cursor
:
pointer
;
}
::v-deep
.diolog
{
.el-input
{
width
:
100%
!important
;
.el-input__inner
{
width
:
100%
!important
;
}
}
.el-button
{
display
:
inline-block
;
}
}
.el-rate
{
margin-top
:
10px
;
}
/
deep
/
.el-select.el-select--mini
{
width
:
100px
;
}
</
style
>
src/views/mxgl/mxclydy/ywgxlfx.vue
View file @
f927d090
<
template
>
<div
class=
"Content"
>
<right-content
:pageBs=
"pageBs"
:header=
"header"
:cxFormData=
"cxFormData"
:cxQueryField=
"cxQueryField"
:cxDefaultFormThead=
"cxDefaultFormThead"
:cxUrl=
"cxUrl"
ref=
"rightContent"
>
<template
#
btnGroup=
"scope"
>
<span
class=
"hbyp"
@
click=
"toXq(scope.scope)"
>
查看详情
</span>
<!--
<span
class=
"hbyp"
@
click=
"toWjpj(scope.scope)"
>
微决评价
</span>
-->
</
template
>
</right-content>
<el-dialog
title=
"详情信息"
:visible
.
sync=
"dialogFormVisible"
width=
"60%"
>
<div
style=
"margin: 20px;height: 374px;overflow-y: scroll;"
v-loading=
"loading"
>
<el-table
:data=
"tableData"
border
style=
"width: 100%"
>
<el-table-column
v-for=
"(item, index) in tableData1"
:key=
"index"
:prop=
"item.prop"
:label=
"item.label"
:width=
"item.width"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"item.prop == 'gllx' && scope.row.gllx == '1'"
>
模型管理
</span>
<span
v-else-if=
"item.prop == 'gllx' && scope.row.gllx == '2'"
>
算法管理
</span>
<span
v-else-if=
"item.prop == 'pflx' && scope.row.pflx == '1'"
>
业务贡献率分析
</span>
<span
v-else-if=
"item.prop == 'pflx' && scope.row.pflx == '2'"
>
辅助决策贡献率分析
</span>
<span
v-else
class=
"none"
v-html=
"scope.row[item.prop]"
></span>
</
template
>
</el-table-column>
</el-table>
<div>
<el-pagination
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"page"
:page-sizes=
"[5, 10, 20, 50]"
:page-size=
"limit"
layout=
"sizes,prev, pager, next"
:total=
"tableDataLength"
>
</el-pagination>
</div>
</div>
</el-dialog>
</div>
</template>
<
script
>
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
{
pageTbYwWjpjckxq
}
from
"@/api/fzjc.js"
;
export
default
{
name
:
"ywgxlfx"
}
name
:
"queryHbyp"
,
components
:
{
rightContent
,
},
data
()
{
return
{
loading
:
false
,
tableData
:
[],
dwss
:
""
,
page
:
1
,
limit
:
5
,
pflx
:
1
,
tableDataLength
:
0
,
tableData1
:
[
{
label
:
"模型名称"
,
prop
:
"sfmc"
,
width
:
"200"
,
},
{
label
:
"单位"
,
width
:
"300"
,
prop
:
"dwStr"
,
},
{
label
:
"平均分"
,
width
:
"200"
,
prop
:
"pjf"
,
},
{
label
:
"管理类型"
,
width
:
"200"
,
prop
:
"gllx"
,
},
{
label
:
"评分类型"
,
width
:
"200"
,
prop
:
"pflx"
,
},
{
label
:
"工作问题分数"
,
width
:
"200"
,
prop
:
"fxgzwtfs"
,
},
{
label
:
"证据问题分数"
,
width
:
"200"
,
prop
:
"fxzjwtfs"
,
},
{
label
:
"引导工作方向分数"
,
width
:
"200"
,
prop
:
"ydgzfxfs"
,
},
{
label
:
"减少审批环节分数"
,
width
:
"200"
,
prop
:
"jssphjfs"
,
},
{
label
:
"登记人姓名"
,
width
:
"200"
,
prop
:
"xxdjryXm"
,
},
{
label
:
"登记人身份号码"
,
width
:
"200"
,
prop
:
"xxczryGmsfhm"
,
},
],
mxmc
:
""
,
dw
:
""
,
pjForm
:
{},
value
:
0
,
dialogFormVisible
:
false
,
colors
:
[
"#99A9BF"
,
"#F7BA2A"
,
"#FF9900"
],
dialogFormVisiblePj
:
false
,
formLabelWidth
:
"130px"
,
gxlfxList
:
[
{
name
:
"发现工作问题:"
,
value
:
0
,
},
{
name
:
"发现证据问题:"
,
value
:
0
,
},
{
name
:
"引导工作方向:"
,
value
:
0
,
},
{
name
:
"减少审批环节:"
,
value
:
0
,
},
],
header
:
"微决评价完善中心"
,
pageBs
:
"queryWjpj"
,
cxFormData
:
{
limit
:
10
,
page
:
1
,
mxmc
:
""
,
dw
:
""
,
pflx
:
'1'
},
cxQueryField
:
[
{
name
:
"模型名称"
,
id
:
"mxmc"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"3"
,
},
{
name
:
"单位"
,
id
:
"dw"
,
type
:
"codeTreeDialog"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"3"
,
codeOptions
:
[],
codeTree
:
"CODE_UNIT"
,
},
],
cxDefaultFormThead
:
[
{
label
:
"模型/算法名称"
,
prop
:
"sfmc"
,
},
{
label
:
"平均分"
,
prop
:
"pjf"
,
},
{
label
:
"登记人姓名"
,
prop
:
"xxdjryXm"
,
},
{
label
:
"登记人身份号码"
,
prop
:
"xxdjryGmsfhm"
,
},
{
label
:
"操作人姓名"
,
prop
:
"xxczryXm"
,
},
{
label
:
"操作人身份号码"
,
prop
:
"xxczryGmsfhm"
,
},
{
label
:
"操作单位公安机关"
,
prop
:
"xxczdwGajgmc"
,
},
{
label
:
"登记人联系电话"
,
prop
:
"xxdjryLxdh"
,
},
{
label
:
"登记单位公安机关"
,
prop
:
"xxdjdwGajgmc"
,
},
],
cxUrl
:
"/wjpjwszx/pageTbYwGrwjpj"
,
Menu
:
[
// zylx:"asj",
{
id
:
"queryWjpj"
,
label
:
"微决评价完善中心"
,
index
:
"queryWjpj"
,
auth
:
"M0101"
,
className
:
"iconfont iconrizhi"
,
disabled
:
false
,
},
],
selectArr
:
[],
revokeVisiable
:
false
,
ckForm
:
{
file
:
""
,
},
fileArr
:
[],
zdXxzjbh
:
""
,
};
},
created
()
{
this
.
$store
.
commit
(
"user/SET_Menu"
,
this
.
Menu
);
},
methods
:
{
handleSizeChange
(
val
)
{
this
.
limit
=
val
;
this
.
getZbzzList
();
},
handleCurrentChange
(
val
)
{
this
.
page
=
val
;
this
.
getZbzzList
();
},
// 详情
toXq
(
scope
)
{
this
.
dialogFormVisible
=
true
;
this
.
dwss
=
scope
.
row
.
mxmc
;
this
.
getZbzzList
();
},
getZbzzList
()
{
this
.
loading
=
true
;
pageTbYwWjpjckxq
({
mxmc
:
this
.
dwss
,
page
:
this
.
page
,
limit
:
this
.
limit
,
pflx
:
this
.
pflx
,
}).
then
((
res
)
=>
{
this
.
tableData
=
res
.
data
.
rows
;
this
.
loading
=
false
;
this
.
tableDataLength
=
res
.
data
.
total
;
});
},
// 微决评价
toWjpj
(
scope
)
{
debugger
;
this
.
dialogFormVisiblePj
=
true
;
this
.
mxmc
=
scope
.
row
.
mxmc
;
this
.
dw
=
scope
.
row
.
dw
;
},
submitPj
(
scope
)
{
console
.
log
(
"res"
,
this
.
gxlfxList
);
this
.
dialogFormVisiblePj
=
false
;
},
},
watch
:
{
dialogFormVisiblePj
(
newVal
,
oldVal
)
{
if
(
!
newVal
)
{
Object
.
assign
(
this
.
$data
.
gxlfxList
,
this
.
$options
.
data
().
gxlfxList
);
this
.
value
=
0
;
}
},
},
};
</
script
>
<
style
scoped
>
<
style
>
.el-dialog__body
{
padding
:
10px
15px
!important
;
}
.rightContent
.el-input__inner
,
#formCommonPage
.el-input__inner
{
height
:
32px
;
line-height
:
32px
;
font-family
:
inherit
;
}
.el-table__header-wrapper
th
,
.el-table__header-wrapper
tr
{
background
:
#f4f6f7
;
}
.rightContent
.el-input__icon
,
#formCommonPage
.el-input__icon
,
.el-input__suffix-inner
{
line-height
:
36px
;
}
.rightContent
.el-range-separator
{
position
:
relative
;
top
:
-4px
;
}
.rightContent
.el-textarea__inner
,
#formCommonPage
.el-textarea__inner
{
width
:
100%
;
font-family
:
inherit
;
}
.rightContent
.el-range-input
,
#formCommonPage
.el-range-input
{
vertical-align
:
top
;
}
.rightContent
.el-date-editor
.el-range__close-icon
{
margin-top
:
-4px
;
}
.rightContent
.el-form-item__error
{
left
:
calc
(
66%
-
27px
);
top
:
12px
;
}
.success-row
{
background-color
:
#fbf9f4
!important
;
}
.Content
.el-input
,
.Content
.el-date-editor--daterange.el-input__inner
{
width
:
100%
!important
;
}
</
style
>
<
style
scoped
lang=
"scss"
>
.el-form-item
{
margin
:
15px
0
20px
0
;
}
.red
{
color
:
red
;
}
.black
{
color
:
black
;
}
@import
"@/assets/styles/rightContent.scss"
;
.hbyp
{
font-size
:
14px
;
font-family
:
Source
Han
Sans
CN
;
font-weight
:
400
;
line-height
:
22px
;
color
:
#007aff
;
margin-right
:
16px
;
cursor
:
pointer
;
}
::v-deep
.diolog
{
.el-input
{
width
:
100%
!important
;
.el-input__inner
{
width
:
100%
!important
;
}
}
.el-button
{
display
:
inline-block
;
}
}
.el-rate
{
margin-top
:
10px
;
}
/
deep
/
.el-select.el-select--mini
{
width
:
100px
;
}
</
style
>
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