Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-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
6144d539
authored
2023-01-03 15:18:24 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:字典
1 parent
cbde7505
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
16 deletions
src/components/business/parcelBaseInfo.vue
src/components/dataDetails/edit-dialog.vue
src/store/getters.js
src/store/modules/dict.js
src/styles/index.scss
src/views/jsbwcx/data/index.js
src/views/jsbwcx/index.vue
src/components/business/parcelBaseInfo.vue
View file @
6144d53
...
...
@@ -87,7 +87,7 @@
<p
class=
"label-detail"
>
(MJDW)
</p>
</span>
<el-select
:disabled=
"$store.state.business.Edit"
v-model=
"ruleForm.MJDW"
placeholder=
"面积单位"
>
<el-option
v-for=
"item in dic
t
Data['A7']"
:key=
"item.DCODE"
:label=
"item.DNAME"
:value=
"item.DCODE"
>
<el-option
v-for=
"item in dicData['A7']"
:key=
"item.DCODE"
:label=
"item.DNAME"
:value=
"item.DCODE"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -317,7 +317,7 @@
<p
class=
"label-detail"
>
(ZT)
</p>
</span>
<el-select
:disabled=
"$store.state.business.Edit"
v-model=
"ruleForm.ZT"
placeholder=
"状态"
>
<el-option
v-for=
"item in dic
t
Data['A11']"
:key=
"item.DCODE"
:label=
"item.DNAME"
:value=
"item.DCODE"
>
<el-option
v-for=
"item in dicData['A11']"
:key=
"item.DCODE"
:label=
"item.DNAME"
:value=
"item.DCODE"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -418,7 +418,7 @@
</el-form-item>
</el-col>
<el-col
:
span=
"8"
>
span="8">
<el-form-item
prop=
"ZH"
>
<span
slot=
"label"
>
组:
<br
/>
...
...
@@ -500,7 +500,6 @@ export default {
try
{
let
{
result
:
res
}
=
await
business
.
kttZdjbxxDetail
(
this
.
bsmSjsb
)
this
.
ruleForm
=
res
this
.
featchRule
()
}
catch
(
error
)
{
this
.
$refs
.
msg
.
messageShow
()
}
...
...
src/components/dataDetails/edit-dialog.vue
View file @
6144d53
<
template
>
<!-- 编辑 -->
<el-dialog
:close-on-click-modal=
"false"
top=
"0"
custom-class=
"dialogBox editDialogBox mainCenter"
:visible
.
sync=
"dialogVisible"
width=
"
75
%"
>
:visible
.
sync=
"dialogVisible"
width=
"
80
%"
>
<div
slot=
"title"
class=
"dialog_title"
ref=
"dialogTitle"
>
<b>
{{
title
||
'标题'
}}
</b>
</div>
...
...
@@ -90,7 +90,8 @@
</el-tab-pane>
</el-tabs>
<div
class=
"edit-content"
>
<component
:is=
"editItem"
ref=
"editItem"
:class=
"
{ 'editForm': $store.state.business.Edit }" :bsmYwsjb="bsmYwsjb" :bsmSjsb="dataReport.bizmsgid"/>
<component
:is=
"editItem"
ref=
"editItem"
:class=
"
{ 'editForm': $store.state.business.Edit }" :bsmYwsjb="bsmYwsjb"
:bsmSjsb="dataReport.bizmsgid" />
</div>
<div
slot=
"footer"
class=
"dialog_footer"
ref=
"dialogFooter"
>
<div
class=
"dialog_button"
>
...
...
@@ -152,8 +153,8 @@ export default {
this
.
dataReport
=
item
;
this
.
dialogVisible
=
true
//获取表头列表
getDetail
({
bizmsgid
:
this
.
dataReport
.
bizmsgid
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
getDetail
({
bizmsgid
:
this
.
dataReport
.
bizmsgid
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
headerList
=
res
.
result
}
})
...
...
src/store/getters.js
View file @
6144d53
...
...
@@ -10,7 +10,7 @@ const getters = {
addRoutes
:
state
=>
state
.
permission
.
addRoutes
,
// business
rules
:
state
=>
state
.
business
.
rules
,
dic
tData
:
state
=>
state
.
dict
.
dict
Data
,
dic
Data
:
state
=>
state
.
dict
.
dic
Data
,
Edit
:
state
=>
state
.
business
.
Edit
,
businessInfo
:
state
=>
state
.
dictionaries
.
businessInfo
}
...
...
src/store/modules/dict.js
View file @
6144d53
import
{
getAllDict
}
from
'@/api/user'
const
state
=
{
dic
t
Data
:
{},
dicData
:
{},
addDict
:
false
,
}
const
mutations
=
{
SET_DATA
:
(
state
,
data
)
=>
{
state
.
addDict
=
true
state
.
dic
t
Data
=
data
state
.
dicData
=
data
},
RESET_DICT
:
(
state
)
=>
{
state
.
addDict
=
false
...
...
src/styles/index.scss
View file @
6144d53
...
...
@@ -362,11 +362,13 @@ aside {
position
:
absolute
;
content
:
''
;
display
:
block
;
width
:
5px
;
height
:
5px
;
width
:
8px
;
height
:
8px
;
left
:
-15px
;
top
:
5px
;
background
:
#00FAA8
;
border-radius
:
50%
;
margin-right
:
6px
;
border
:
5px
solid
rgba
(
0
,
250
,
168
,
0
.3
)
;
}
//错误日志样式 后期超优化
...
...
src/views/jsbwcx/data/index.js
View file @
6144d53
...
...
@@ -37,7 +37,7 @@ class data extends filter {
<
div
>
{
scope
.
row
.
jcjg
?
<
span
>
通过
<
/span
>
?
<
span
class
=
'adopt'
>
通过
<
/span
>
:
<
span
>
通过
1
<
/span
>
}
<
/div
>
...
...
src/views/jsbwcx/index.vue
View file @
6144d53
...
...
@@ -184,7 +184,7 @@ export default {
}
]),
// 表格列表数据
data
:
[{}]
data
:
[{
jcjg
:
1
}]
},
// 分页
pageData
:
{
...
...
Please
register
or
sign in
to post a comment