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
d5f5f0ea
authored
2023-09-14 14:24:51 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:信息备案材料
1 parent
443bf236
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
55 deletions
src/views/xxba/components/clxx/dialog/clxxDetailDialog.vue
src/views/xxba/components/clxx/index.vue
src/views/xxba/qyxxba/index.vue
src/views/xxba/components/clxx/dialog/clxxDetailDialog.vue
View file @
d5f5f0e
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-14 1
0:12:23
* @LastEditTime: 2023-09-14 1
1:14:54
-->
<
template
>
<div
class=
"clmlmx-box"
>
...
...
@@ -34,27 +34,6 @@
sortable
:
null
,
column
:
[
{
prop
:
"isrequired"
,
label
:
"是否必选"
,
width
:
"80"
,
render
:
(
h
,
scope
)
=>
{
if
(
scope
.
row
.
isrequired
===
"1"
)
{
return
(
<
div
>
<
span
>
必选
<
/span
>
<
/div
>
);
}
else
{
return
(
<
div
>
<
span
>
可选
<
/span
>
<
/div
>
)
}
}
},
{
label
:
"材料名称"
,
render
:
(
h
,
scope
)
=>
{
return
(
...
...
@@ -101,21 +80,6 @@
},
},
{
label
:
"是否新建材料"
,
width
:
"80"
,
render
:
(
h
,
scope
)
=>
{
if
(
scope
.
row
.
sfxjcl
&&
scope
.
row
.
sfxjcl
==
'1'
)
{
return
(
<
span
>
是
<
/span
>
);
}
else
{
return
(
<
span
>
否
<
/span
>
);
}
},
},
{
label
:
"操作"
,
width
:
"100"
,
render
:
(
h
,
scope
)
=>
{
...
...
@@ -123,7 +87,7 @@
<
el
-
button
type
=
"text"
icon
=
"el-icon-delete"
disabled
=
{
!
(
scope
.
row
.
count
==
0
&&
scope
.
row
.
sfxjcl
==
'1'
)
||
!
this
.
formData
.
ableOperation
}
disabled
=
{
scope
.
row
.
count
!=
0
}
onClick
=
{()
=>
{
this
.
handleDelete
(
scope
.
$index
,
scope
.
row
);
}}
...
...
@@ -170,8 +134,8 @@
message
:
'保存成功'
,
type
:
'success'
})
ywPopupCacel
()
store
.
dispatch
(
'user/reWorkFresh'
,
true
)
ywPopupCacel
()
}
}).
catch
(()
=>
{
this
.
loading
=
false
...
...
src/views/xxba/components/clxx/index.vue
View file @
d5f5f0e
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-1
3 17:05:4
9
* @LastEditTime: 2023-09-1
4 14:23:1
9
-->
<
template
>
<div
class=
"clxx"
>
...
...
@@ -58,10 +58,10 @@
</
template
>
<
script
>
import
store
from
'@/store/index.js'
import
{
ywPopupDialog
,
ywPopupCacel
}
from
"@/utils/popup.js"
;
import
{
ywPopupDialog
}
from
"@/utils/popup.js"
;
import
imagePreview
from
"./dialog/imagePreview.vue"
;
import
clxxAddDialog
from
"./dialog/clxxAddDialog.vue"
;
import
clxxDetailDialog
from
"./dialog/clxxDetailDialog.vue"
;
import
imagePreview
from
"./dialog/imagePreview.vue"
;
import
{
getCompanyMaterialList
,
addCompanyMaterial
,
getFileListByBsmMaterial
}
from
"@/api/company.js"
;
export
default
{
components
:
{
clxxAddDialog
,
imagePreview
,
clxxDetailDialog
},
...
...
@@ -90,6 +90,20 @@
}
}
},
computed
:
{
workFresh
()
{
return
store
.
state
.
user
.
workFresh
}
},
watch
:
{
workFresh
:
{
handler
(
newValue
,
oldValue
)
{
this
.
clmlInitList
()
},
deep
:
true
,
immediate
:
true
}
},
created
()
{
this
.
clmlInitList
()
},
...
...
src/views/xxba/qyxxba/index.vue
View file @
d5f5f0e
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-1
1 11:23:49
* @LastEditTime: 2023-09-1
4 11:11:10
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -39,7 +39,6 @@
</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"
;
...
...
@@ -53,17 +52,6 @@
activated
()
{
this
.
queryClick
()
},
computed
:
{
...
mapGetters
([
'workFresh'
])
},
watch
:
{
workFresh
:
{
handler
(
newVal
,
oldVal
)
{
console
.
log
(
newVal
,
'newVal'
);
if
(
newVal
)
this
.
queryClick
()
}
}
},
data
()
{
return
{
queryForm
:
{
...
...
Please
register
or
sign in
to post a comment