Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
e7cc0c80
authored
2022-10-17 11:38:27 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:受理信息
1 parent
0e1ce553
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
77 additions
and
43 deletions
src/api/user.js
src/permission.js
src/views/workflow/components/InformationTable.vue
src/views/workflow/components/clxx.vue
src/views/workflow/components/spyj.vue
src/views/ywbl/fwsyq/slxx.vue
src/views/ywbl/jsydsyq/slxx.vue
src/api/user.js
0 → 100644
View file @
e7cc0c8
import
request
from
'@/utils/request'
export
function
getMenuInfo
()
{
return
request
({
url
:
'/getWebMenuRole'
,
method
:
'get'
,
})
}
\ No newline at end of file
src/permission.js
View file @
e7cc0c8
import
router
from
'./router'
import
store
from
'./store'
import
{
getMenuInfo
}
from
'@/api/user'
import
NProgress
from
'nprogress'
// progress bar
import
'nprogress/nprogress.css'
// progress bar style
import
getPageTitle
from
'@/utils/get-page-title'
...
...
@@ -11,9 +12,18 @@ router.beforeEach(async (to, from, next) => {
NProgress
.
start
()
document
.
title
=
getPageTitle
(
to
.
meta
.
title
)
let
hasAddDict
=
store
.
state
.
dict
.
addDict
let
hasAddRoute
=
store
.
state
.
permission
.
addRoutes
if
(
!
hasAddDict
)
{
store
.
dispatch
(
'dict/generateDic'
)
}
// if (hasAddRoute) {
// next()
// } else {
// const { result: getMenuData } = await getMenuInfo()
// const accessRoutes = await store.dispatch('permission/generateRoutes', getMenuData)
// router.addRoutes(accessRoutes)
// }
NProgress
.
done
()
next
()
})
...
...
src/views/workflow/components/InformationTable.vue
View file @
e7cc0c8
...
...
@@ -30,13 +30,21 @@ export default {
dialog
:
false
,
InformationTable
:
[
{
width
:
'
6
0'
,
width
:
'
5
0'
,
renderHeader
:
(
h
,
scope
)
=>
{
return
<
i
class
=
"el-icon-plus pointer"
onClick
=
{()
=>
{
this
.
handleAdd
()
}}
><
/i
>
return
<
div
>
{
this
.
$route
.
query
.
viewtype
==
1
?
'序号'
:
<
i
class
=
"el-icon-plus pointer"
onClick
=
{()
=>
{
this
.
handleAdd
()
}}
><
/i
>
}
<
/div
>
},
render
:
(
h
,
scope
)
=>
{
return
(
<
i
class
=
"el-icon-minus pointer"
onClick
=
{()
=>
{
this
.
handleMinus
(
scope
.
$index
,
scope
.
row
)
}}
><
/i
>
<
div
>
{
this
.
$route
.
query
.
viewtype
==
1
?
<
span
>
{
scope
.
$index
+
1
}
<
/span>
:
<
i
class
=
"el-icon-minus pointer"
onClick
=
{()
=>
{
this
.
handleMinus
(
scope
.
$index
,
scope
.
row
)
}}
><
/i
>
}
<
/div
>
)
}
},
...
...
@@ -68,14 +76,15 @@ export default {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
icon
=
"el-icon-edit-outline"
type
=
"text"
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
$index
,
scope
.
row
)
}}
>
编辑
<
/el-button
>
<
el
-
button
icon
=
"el-icon-view"
type
=
"text"
onClick
=
{()
=>
{
this
.
handleView
(
scope
.
$index
,
scope
.
row
)
}}
>
查看
<
/el-button
>
{
this
.
$route
.
query
.
viewtype
==
1
?
<
el
-
button
icon
=
"el-icon-view"
type
=
"text"
onClick
=
{()
=>
{
this
.
handleView
(
scope
.
$index
,
scope
.
row
)
}}
>
查看
<
/el-button> : <el-butto
n
icon
=
"el-icon-edit-outline"
type
=
"text"
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
$index
,
scope
.
row
)
}}
>
编辑
<
/el-button
>
}
<
/div
>
)
}
...
...
src/views/workflow/components/clxx.vue
View file @
e7cc0c8
...
...
@@ -62,35 +62,40 @@ export default {
checkedId
:
"1"
,
column
:
[
{
width
:
"
35
"
,
width
:
"
50
"
,
renderHeader
:
(
h
,
scope
)
=>
{
return
(
<
i
class
=
"el-icon-plus pointer"
onClick
=
{()
=>
{
this
.
handleAdd
()
}}
><
/i
>
);
<
div
>
{
this
.
$route
.
query
.
viewtype
==
1
?
'序号'
:
<
i
class
=
"el-icon-plus pointer"
onClick
=
{()
=>
{
this
.
handleAdd
()
}}
><
/i
>
}
<
/div
>
)
},
render
:
(
h
,
scope
)
=>
{
// 新建的材料,可删除
if
(
scope
.
row
.
sfxjcl
===
"1"
)
{
return
(
<
i
class
=
"el-icon-minus pointer"
onClick
=
{()
=>
{
this
.
handleDelete
(
scope
.
$index
,
scope
.
row
);
}}
><
/i
>
);
}
},
},
{
width
:
"35"
,
label
:
"序号"
,
type
:
"index"
,
// v-show='scope.row.sfxjcl == 1'
return
(
<
div
>
{
this
.
$route
.
query
.
viewtype
==
1
?
<
span
>
{
scope
.
$index
+
1
}
<
/span>
:
<
i
class
=
"el-icon-minus pointer"
onClick
=
{()
=>
{
this
.
handleDelete
(
scope
.
$index
,
scope
.
row
);
}}
><
/i
>
}
<
/div
>
)
}
},
{
prop
:
"isrequired"
,
...
...
src/views/workflow/components/spyj.vue
View file @
e7cc0c8
...
...
@@ -42,7 +42,7 @@
</el-row>
</div>
</div>
<div
class=
"submit_button"
>
<div
class=
"submit_button"
v-if=
"!$route.query.viewtype"
>
<el-button
type=
"primary"
v-if=
"tableData.length>0"
@
click=
"onSubmit"
>
保存
</el-button>
</div>
</el-form>
...
...
@@ -107,6 +107,7 @@ export default {
</
script
>
<
style
scoped
lang=
'scss'
>
@import
'~@/styles/mixin.scss'
;
.spyj
{
margin-left
:
5px
;
...
...
src/views/ywbl/fwsyq/slxx.vue
View file @
e7cc0c8
...
...
@@ -126,7 +126,7 @@
<el-row
:gutter=
"10"
>
<el-col
:span=
"14"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"共有方式:"
>
<el-radio-group
v-model=
"ruleForm.gyfs"
>
<el-radio-group
:disabled=
"$route.query.viewtype==1"
v-model=
"ruleForm.gyfs"
>
<el-radio
label=
"1"
>
单独所有
</el-radio>
<el-radio
label=
"2"
>
共同共有
</el-radio>
<el-radio
label=
"3"
>
按份所有
</el-radio>
...
...
@@ -158,12 +158,13 @@
<el-row
:gutter=
"10"
>
<el-col>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"登记原因:"
prop=
"djyy"
>
<el-input
class=
"textArea"
type=
"textarea"
v-model=
"ruleForm.djyy"
></el-input>
<el-input
class=
"textArea"
type=
"textarea"
:disabled=
"$route.query.viewtype==1"
v-model=
"ruleForm.djyy"
>
</el-input>
</el-form-item>
</el-col>
</el-row>
</div>
<el-row
class=
"btn"
>
<el-row
class=
"btn"
v-if=
"!$route.query.viewtype"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
保存
</el-button>
</el-form-item>
...
...
src/views/ywbl/jsydsyq/slxx.vue
View file @
e7cc0c8
...
...
@@ -115,7 +115,7 @@
<el-row
:gutter=
"10"
>
<el-col>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"附记:"
prop=
"fj"
>
<el-input
type=
"textarea"
v-model=
"ruleForm.fj"
></el-input>
<el-input
type=
"textarea"
v-model=
"ruleForm.fj"
:disabled=
"$route.query.viewtype==1"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -126,7 +126,7 @@
<el-row
:gutter=
"10"
>
<el-col
:span=
"14"
>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"共有方式:"
>
<el-radio-group
v-model=
"ruleForm.gyfs"
>
<el-radio-group
:disabled=
"$route.query.viewtype==1"
v-model=
"ruleForm.gyfs"
>
<el-radio
label=
"1"
>
单独所有
</el-radio>
<el-radio
label=
"2"
>
共同共有
</el-radio>
<el-radio
label=
"3"
>
按份所有
</el-radio>
...
...
@@ -150,7 +150,7 @@
</el-form-item>
</el-col>
</el-row>
<InformationTable
:tableData=
"ruleForm.qlrxx"
:gyfs=
"ruleForm.gyfs"
/>
<InformationTable
:tableData=
"ruleForm.qlrxx"
:
viewtype=
"$route.query.viewtype"
:
gyfs=
"ruleForm.gyfs"
/>
<div
class=
"slxx_title title-block"
>
登记原因
<div
class=
"triangle"
></div>
...
...
@@ -158,7 +158,7 @@
<el-row
:gutter=
"10"
>
<el-col>
<el-form-item
:class=
"flag ? 'marginBot0' : ''"
label=
"登记原因:"
prop=
"djyy"
>
<el-input
class=
"textArea"
type=
"textarea"
:disabled=
"$route.query.viewtype"
v-model=
"ruleForm.djyy"
>
<el-input
class=
"textArea"
type=
"textarea"
:disabled=
"$route.query.viewtype
==1
"
v-model=
"ruleForm.djyy"
>
</el-input>
</el-form-item>
</el-col>
...
...
Please
register
or
sign in
to post a comment