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
1843d138
authored
2022-08-23 16:27:35 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:业务申请规则
1 parent
53bbd528
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
9 deletions
.env.development
src/utils/mixin/table.js
src/views/system/dictionaries/components/editDialog.vue
src/views/system/dictionaries/dictionaries.js
src/views/system/sqywgz/sqywgz.vue
.env.development
View file @
1843d13
...
...
@@ -5,4 +5,4 @@ NODE_ENV=development
VUE_APP_BASE_API = '/dev-api'
# 开发环境
VUE_APP_API_BASE_URL = 'http://192.168.2.
95
:8009'
VUE_APP_API_BASE_URL = 'http://192.168.2.
44
:8009'
...
...
src/utils/mixin/table.js
View file @
1843d13
...
...
@@ -16,7 +16,7 @@ export default {
},
methods
:
{
handleSizeChange
(
val
)
{
this
.
pageData
.
currentPage
=
1
this
.
pageData
.
currentPage
=
val
this
.
pageData
.
pageSize
=
val
this
.
fetchData
()
},
...
...
src/views/system/dictionaries/components/editDialog.vue
View file @
1843d13
<
template
>
<!-- 编辑 -->
<dialogBox
submitForm=
"submitForm"
@
closeDialog=
"closeDialog"
v-model=
"myValue"
:isSave=
"!details.isenable == 2"
title=
"字典信息"
>
<dialogBox
submitForm=
"submitForm"
@
closeDialog=
"closeDialog"
v-model=
"myValue"
title=
"字典信息"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"120px"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
...
...
src/views/system/dictionaries/dictionaries.js
View file @
1843d13
...
...
@@ -37,7 +37,7 @@ class data extends filter {
return
(
<
div
>
{
scope
.
row
.
sfyxxg
==
'1'
?
scope
.
row
.
isenable
==
'1'
?
<
div
class
=
'allow'
>
允许
<
/div>
:
<
div
class
=
'prohibit'
>
禁止
<
/div
>
}
...
...
@@ -54,7 +54,7 @@ class data extends filter {
return
(
<
div
>
{
scope
.
row
.
sfyxxg
==
'1'
?
scope
.
row
.
isenable
==
'1'
?
<
el
-
button
type
=
"text"
icon
=
"el-icon-edit-outline"
onClick
=
{()
=>
{
vm
.
editClick
(
scope
.
row
,
1
)
}}
>
修改
<
/el-button>
:
<
el
-
button
type
=
"text"
icon
=
"el-icon-view"
onClick
=
{()
=>
{
vm
.
editClick
(
scope
.
row
,
2
)
}}
>
查看
<
/el-button
>
}
...
...
src/views/system/sqywgz/sqywgz.vue
View file @
1843d13
...
...
@@ -29,7 +29,7 @@
</div>
<!-- 表格 -->
<div
class=
"from-clues-content"
>
<lb-table
:page-size=
"pageData.
size"
:current-page
.
sync=
"pageData.current
"
:total=
"tableData.total"
<lb-table
:page-size=
"pageData.
pageSize"
:current-page
.
sync=
"pageData.currentPage
"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
...
...
@@ -62,15 +62,15 @@ export default {
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[]
}
}
},
methods
:
{
//查询
queryClick
()
{
queryClick
()
{
this
.
fetchData
();
},
// 初始化数据
fetchData
()
{
getSysSqdjywBysearch
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
(
res
=>
{
...
...
Please
register
or
sign in
to post a comment