Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
a4ec823f
Commit
a4ec823f
authored
Nov 11, 2021
by
抽刀断水
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整模块组件操作逻辑和回显转化字段
parent
46b42e41
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
7 deletions
+24
-7
src/components/ptCxForm_components.vue
+24
-7
No files found.
src/components/ptCxForm_components.vue
View file @
a4ec823f
...
@@ -105,12 +105,11 @@
...
@@ -105,12 +105,11 @@
<!--日期框 日期时间-->
<!--日期框 日期时间-->
<el-date-picker
<el-date-picker
v-model=
"formData[item.id]"
v-model=
"formData[item.id]"
type=
"date
time
"
type=
"date"
align=
"right"
align=
"right"
:picker-options=
"item.pickerOptions"
:picker-options=
"item.pickerOptions"
unlink-panels
suffix-icon=
"el-icon-time"
suffix-icon=
"el-icon-date"
value-format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd HH:mm:ss"
v-else-if=
"item.type == 'datetime'"
v-else-if=
"item.type == 'datetime'"
>
>
</el-date-picker>
</el-date-picker>
...
@@ -818,6 +817,8 @@
...
@@ -818,6 +817,8 @@
:width=
"pageBs == 'zdxxgl' || pageBs == 'gzrygl' ? '460' : '200'"
:width=
"pageBs == 'zdxxgl' || pageBs == 'gzrygl' ? '460' : '200'"
:fixed=
"pageBs == 'rySp' ? 'right' : false"
:fixed=
"pageBs == 'rySp' ? 'right' : false"
v-if=
"
v-if=
"
pageBs == 'wfqdzczl' ||
pageBs == 'xywspdzczl' ||
!(
!(
pageBs == 'gnsyrz' ||
pageBs == 'gnsyrz' ||
pageBs == 'jdcxsGl' ||
pageBs == 'jdcxsGl' ||
...
@@ -839,9 +840,13 @@
...
@@ -839,9 +840,13 @@
pageBs == 'wscdajtj' ||
pageBs == 'wscdajtj' ||
pageBs == 'jszls' ||
pageBs == 'jszls' ||
pageBs == 'queryCheckBj' ||
pageBs == 'queryCheckBj' ||
pageBs == 'xywspdzczl' ||
pageBs != 'queryZj' ||
pageBs != 'queryZj' ||
pageBs != 'queryZj' ||
pageBs != 'queryWl' ||
pageBs != 'queryWl' ||
pageBs != 'queryDx'
pageBs != 'queryDx' ||
pageBs != 'wfqdzczl' ||
pageBs == 'wfzdzczl'
)
)
"
"
>
>
...
@@ -866,7 +871,9 @@
...
@@ -866,7 +871,9 @@
pageBs == 'xywspdzczl' ||
pageBs == 'xywspdzczl' ||
pageBs == 'sqqxgl' ||
pageBs == 'sqqxgl' ||
pageBs == 'yjrwGl' ||
pageBs == 'yjrwGl' ||
pageBs == 'wfzdzczl'
pageBs == 'wfzdzczl' ||
pageBs == 'wfqdzczl'
)
)
"
"
>
修改
</span
>
修改
</span
...
@@ -1010,7 +1017,7 @@
...
@@ -1010,7 +1017,7 @@
style=
"margin-right: 16px"
style=
"margin-right: 16px"
v-if=
"
v-if=
"
(pageBs == 'wsqfbdzczl' || pageBs == 'wfqdzczl') &&
(pageBs == 'wsqfbdzczl' || pageBs == 'wfqdzczl') &&
(scope.row.spsftg == '
0' || scope.row.spsftg == '3
')
(scope.row.spsftg == '
未通过' || scope.row.spsftg == '草稿
')
"
"
>
提请审批
</span
>
提请审批
</span
>
>
...
@@ -1325,6 +1332,7 @@ export default {
...
@@ -1325,6 +1332,7 @@ export default {
default
:
()
=>
[],
default
:
()
=>
[],
},
},
cxFormData
:
Object
,
cxFormData
:
Object
,
transformFormTable
:
Object
,
cxUrl
:
String
,
cxUrl
:
String
,
header
:
String
,
header
:
String
,
pageFlag
:
String
,
pageFlag
:
String
,
...
@@ -1919,6 +1927,12 @@ export default {
...
@@ -1919,6 +1927,12 @@ export default {
}
}
});
});
self
.
tableData
=
response
.
data
.
rows
;
self
.
tableData
=
response
.
data
.
rows
;
for
(
let
t
in
self
.
transformFormTable
){
self
.
tableData
.
map
(
res
=>
{
res
[
t
]
=
self
.
transformFormTable
[
t
][
res
[
t
]]
})
}
self
.
tableDataLength
=
response
.
data
.
total
;
self
.
tableDataLength
=
response
.
data
.
total
;
self
.
tPage
=
Math
.
ceil
(
response
.
data
.
total
/
self
.
page_size
);
self
.
tPage
=
Math
.
ceil
(
response
.
data
.
total
/
self
.
page_size
);
self
.
talbeBhgCount
=
response
.
data
.
bhgCount
;
self
.
talbeBhgCount
=
response
.
data
.
bhgCount
;
...
@@ -2050,6 +2064,9 @@ export default {
...
@@ -2050,6 +2064,9 @@ export default {
.Content
.el-date-editor--daterange.el-input__inner
{
.Content
.el-date-editor--daterange.el-input__inner
{
width
:
100%
!important
;
width
:
100%
!important
;
}
}
.el-icon-date
:before
{
content
:
"\e78e"
!important
;
}
</
style
>
</
style
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
@import
"../assets/styles/rightContent.scss"
;
@import
"../assets/styles/rightContent.scss"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment