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
5cbb6162
authored
2023-09-15 15:52:38 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:信息备案
1 parent
d3e67fd1
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
44 additions
and
12 deletions
src/views/xxba/components/addDialog.vue
src/views/xxba/components/clxx/dialog/clxxAddDialog.vue
src/views/xxba/components/clxx/dialog/clxxDetailDialog.vue
src/views/xxba/qyxxba/index.vue
src/views/xxba/yhjgba/index.vue
src/views/xxba/components/addDialog.vue
View file @
5cbb616
...
...
@@ -197,7 +197,7 @@
}
})
if
(
this
.
formData
.
isAdd
!=
1
)
{
store
.
dispatch
(
'user/reWorkFresh'
,
false
)
store
.
dispatch
(
"user/refreshPage"
,
false
);
update
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
'保存成功'
)
...
...
@@ -206,7 +206,7 @@
this
.
resetTableFields
();
this
.
closeDialog
();
//刷新列表
store
.
dispatch
(
'user/reWorkFresh'
,
true
)
store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
...
...
@@ -214,7 +214,7 @@
}
else
{
that
.
$refs
[
'ruleForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
store
.
dispatch
(
'user/reWorkFresh'
,
false
)
store
.
dispatch
(
"user/refreshPage"
,
false
);
addQy
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
that
.
$message
.
success
(
'保存成功'
)
...
...
@@ -223,7 +223,7 @@
that
.
resetTableFields
();
that
.
closeDialog
();
//刷新列表
store
.
dispatch
(
'user/reWorkFresh'
,
true
)
store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
that
.
$message
.
error
(
res
.
message
);
}
...
...
src/views/xxba/components/clxx/dialog/clxxAddDialog.vue
View file @
5cbb616
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-
07 15:04:4
6
* @LastEditTime: 2023-09-
15 15:50:2
6
-->
<
template
>
<dialogBox
title=
"新建材料信息"
width=
"20%"
isMain
v-model=
"myValue"
@
closeDialog=
"closeDialog"
@
submitForm=
"handleSubmit"
...
...
@@ -24,6 +24,13 @@
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"材料编码"
prop=
"clbm"
>
<el-input
v-model=
"ruleForm.clbm"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</dialogBox>
</
template
>
...
...
@@ -40,6 +47,7 @@
ruleForm
:
{
cllx
:
""
,
clmc
:
""
,
clbm
:
""
},
rules
:
{
cllx
:
[
...
...
@@ -47,7 +55,10 @@
],
clmc
:
[
{
required
:
true
,
message
:
'请输入材料名称'
,
trigger
:
'blur'
}
]
],
clbm
:
[
{
required
:
true
,
message
:
'请输入材料编码'
,
trigger
:
'blur'
}
],
}
}
},
...
...
src/views/xxba/components/clxx/dialog/clxxDetailDialog.vue
View file @
5cbb616
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-1
4 11:14:54
* @LastEditTime: 2023-09-1
5 15:38:53
-->
<
template
>
<div
class=
"clmlmx-box"
>
...
...
@@ -37,8 +37,15 @@
label
:
"材料名称"
,
render
:
(
h
,
scope
)
=>
{
return
(
(
scope
.
row
.
sfxjcl
==
'1'
)
?
<
el
-
input
value
=
{
scope
.
row
.
clmc
}
onInput
=
{(
val
)
=>
{
scope
.
row
.
clmc
=
val
}}
><
/el-input> : <span>{scope.row.clmc}</
span
>
<
el
-
input
value
=
{
scope
.
row
.
clmc
}
onInput
=
{(
val
)
=>
{
scope
.
row
.
clmc
=
val
}}
><
/el-input
>
)
}
},
{
label
:
"材料编码"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
input
value
=
{
scope
.
row
.
clbm
}
onInput
=
{(
val
)
=>
{
scope
.
row
.
clbm
=
val
}}
><
/el-input
>
)
}
},
...
...
src/views/xxba/qyxxba/index.vue
View file @
5cbb616
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-1
4 11:11:10
* @LastEditTime: 2023-09-1
5 15:41:36
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -39,6 +39,7 @@
</div>
</
template
>
<
script
>
import
{
mapGetters
}
from
'vuex'
import
table
from
"@/utils/mixin/table"
import
{
datas
,
sendThis
}
from
"./data"
import
{
queryQyByPage
,
addQy
,
remove
}
from
"@/api/xxba.js"
;
...
...
@@ -65,6 +66,17 @@
},
};
},
computed
:
{
...
mapGetters
([
'isRefresh'
])
},
watch
:
{
isRefresh
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
)
this
.
queryClick
()
},
immediate
:
true
}
},
methods
:
{
/**
* @description: queryClick
...
...
src/views/xxba/yhjgba/index.vue
View file @
5cbb616
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-
07 14:30:50
* @LastEditTime: 2023-09-
15 15:47:37
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -59,7 +59,6 @@
watch
:
{
workFresh
:
{
handler
(
newVal
,
oldVal
)
{
console
.
log
(
newVal
,
'newVal'
);
if
(
newVal
)
this
.
queryClick
()
}
}
...
...
@@ -138,6 +137,9 @@
message
:
'已取消删除'
})
})
},
handleEdit
(
row
)
{
this
.
$popupDialog
(
"编辑企业"
,
"xxba/components/addDialog"
,
{
isAdd
:
2
,
...
row
},
"75%"
)
}
}
}
...
...
Please
register
or
sign in
to post a comment