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
23335521
Commit
23335521
authored
Mar 23, 2022
by
gao_yingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
输入框
parent
fc41eb0c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
74 additions
and
14 deletions
+74
-14
src/components/formItem_components.vue
+7
-0
src/components/table_components.vue
+58
-7
src/utils/jccx.js
+2
-2
src/utils/params.js
+4
-4
src/views/jccx/dialog.vue
+3
-1
No files found.
src/components/formItem_components.vue
View file @
23335521
...
...
@@ -68,6 +68,7 @@
<el-input
type=
"textarea"
autosize
:rows=
"4"
:placeholder=
"item2.placeholder"
v-model=
"formD[item2.id]"
v-else-if=
"item2.type == 'textarea'"
...
...
@@ -769,6 +770,7 @@ export default {
}
},
getSeleted
(
item
,
value
,
flag
)
{
debugger
let
self
=
this
;
let
ret2
=
self
.
emitSeleted
.
find
(
v
=>
{
return
v
.
id
==
item
.
id
;
...
...
@@ -893,4 +895,8 @@ export default {
</
style
>
<
style
scoped
lang=
"scss"
>
@import
"../assets/styles/form.scss"
;
/
deep
/
textarea
.el-textarea__inner
{
//
height
:
100px
!important
;
width
:
96%
;
}
</
style
>
\ No newline at end of file
src/components/table_components.vue
View file @
23335521
...
...
@@ -198,7 +198,10 @@
columnTitle.prop == 'zhfzxyrWffzjlms'
"
>
<span
class=
"none"
v-html=
"scope.row[columnTitle.prop]"
></span
<span
class=
"none"
v-html=
"showDate(scope.row.jyaq, formData.jyaq)"
></span
><a
href=
"javascript:void(0);"
onclick=
'javascript:this.parentNode.style.display="none";this.parentNode.nextSibling.style.display="block"'
...
...
@@ -227,7 +230,7 @@
>
<span
style=
"display: block"
v-html=
"s
cope.row[columnTitle.prop]
"
v-html=
"s
howDate(scope.row.jyaq, formData.jyaq)
"
></span
><a
href=
"javascript:void(0);"
...
...
@@ -249,7 +252,12 @@
v-show=
"scope.row['flag'] == '1'"
@
click=
"moreDialog(scope.row)"
></i>
<el-popover
v-if=
"asjbhIcon != 'tbShow'"
placement=
"right"
effect=
"light"
trigger=
"click"
>
<el-popover
v-if=
"asjbhIcon != 'tbShow'"
placement=
"right"
effect=
"light"
trigger=
"click"
>
<div>
<ul
class=
"popUl"
...
...
@@ -261,8 +269,8 @@
ychyLink(
item.path,
item.id,
scope.row[columnTitle.prop]
,
item
scope.row[columnTitle.prop]
,
item
)
"
v-for=
"item in ychyDataList"
...
...
@@ -284,7 +292,12 @@
<!--证件号码-->
<div
v-if=
"columnTitle.prop == 'zhfzxyrCyzjZjhm'"
>
{{
scope
.
row
[
columnTitle
.
prop
]
}}
<el-popover
v-if=
"asjbhIcon != 'tbShow'"
placement=
"right"
effect=
"light"
trigger=
"click"
>
<el-popover
v-if=
"asjbhIcon != 'tbShow'"
placement=
"right"
effect=
"light"
trigger=
"click"
>
<div>
<ul
class=
"popUl"
...
...
@@ -321,7 +334,12 @@
</div>
<div
v-if=
"columnTitle.prop == 'bhrCyzjZjhm'"
>
{{
scope
.
row
[
columnTitle
.
prop
]
}}
<el-popover
v-if=
"asjbhIcon != 'tbShow'"
placement=
"right"
effect=
"light"
trigger=
"click"
>
<el-popover
v-if=
"asjbhIcon != 'tbShow'"
placement=
"right"
effect=
"light"
trigger=
"click"
>
<div>
<ul
class=
"popUl"
...
...
@@ -521,6 +539,7 @@ export default {
type
:
Array
,
default
:
()
=>
[],
},
formData
:
Object
,
yjFlE
:
Object
,
theadType
:
String
,
theadTitle
:
String
,
...
...
@@ -532,6 +551,7 @@ export default {
},
data
()
{
return
{
formData
:
this
.
formData
,
tableDataLength
:
this
.
dataLength
,
centerDialogVisible
:
false
,
tableLoading
:
this
.
tableLoadingEmit
,
...
...
@@ -578,6 +598,37 @@ export default {
};
},
methods
:
{
// 筛选变色
showDate
(
val
,
keyword
)
{
debugger
;
console
.
log
(
val
);
let
_self
=
this
;
console
.
log
(
keyword
);
// let valString = "";
// // let valString1 = '';
// let listWord = [];
// listWord = keyword.split(",");
console
.
log
(
listWord
);
val
=
val
+
""
;
if
(
val
.
indexOf
(
keyword
)
!==
-
1
&&
keyword
!==
""
)
{
return
val
.
replace
(
keyword
,
'<font color="#409EFF">'
+
keyword
+
"</font>"
);
}
// else if (listWord.length > 0) {
// listWord.forEach((item,index) => {
// valString = item
// });
// let valString1 = val.replace(valString, '
<
font
color
=
"#409EFF"
>
' + valString + "</font>" )
// // valString1 = valString.split();
// // valString1.join('
,
');
// // return valString1;
// }
else {
return val;
}
},
ychyLink(path, id, val) {
debugger;
if (id == "ajda") {
...
...
src/utils/jccx.js
View file @
23335521
...
...
@@ -621,7 +621,7 @@ let jccxAjxxDefaultFormField = {
{
name
:
'案情关键词'
,
id
:
'jyaq'
,
type
:
'text'
,
type
:
'text
area
'
,
value
:
''
,
placeholder
:
'多个关键词之间用逗号隔开'
,
col
:
'3'
...
...
@@ -1936,7 +1936,7 @@ let jccxAjxxFormField = {
{
name
:
'案情关键词'
,
id
:
'jyaq'
,
type
:
'text'
,
type
:
'text
area
'
,
value
:
''
,
placeholder
:
'多个关键词之间用逗号隔开'
,
col
:
'3'
...
...
src/utils/params.js
View file @
23335521
...
...
@@ -624,10 +624,10 @@ let jccxAjxxDefaultFormField = {
{
name
:
'案情关键词'
,
id
:
'jyaq'
,
type
:
'text'
,
type
:
'text
area
'
,
value
:
''
,
placeholder
:
'多个关键词之间用逗号隔开'
,
col
:
'
3
'
col
:
'
1
'
},
{
name
:
'关键词关联类型'
,
...
...
@@ -1957,10 +1957,10 @@ let jccxAjxxFormField = {
{
name
:
'案情关键词'
,
id
:
'jyaq'
,
type
:
'text'
,
type
:
'text
area
'
,
value
:
''
,
placeholder
:
'多个关键词之间用逗号隔开'
,
col
:
'
3
'
col
:
'
1
'
},
{
name
:
'关键词关联类型'
,
...
...
src/views/jccx/dialog.vue
View file @
23335521
...
...
@@ -22,7 +22,9 @@
:key=
"element.id"
:class=
"
element.id == 'ajzlb' ||
element.id == 'jyaq' ||
element.id == 'ajxzlb' ||
element.id == 'jyaqType' ||
element.id == 'xalbdmbcms'
? 'list-group-item undraggable group-item'+element.col
: 'list-group-item draggable group-item'+element.col
...
...
@@ -350,7 +352,7 @@ export default {
},
methods
:
{
move
(
obj
,
type
,
flag
)
{
if
(
obj
.
id
!=
"ajzlb"
&&
obj
.
id
!=
"ajxzlb"
&&
obj
.
id
!=
"xalbdmbcms"
)
{
if
(
obj
.
id
!=
"ajzlb"
&&
obj
.
id
!=
"ajxzlb"
&&
obj
.
id
!=
"xalbdmbcms"
&&
obj
.
id
!=
"jyaqType"
&&
obj
.
id
!=
"jyaq"
)
{
let
list
=
[],
waitList
=
[],
self
=
this
;
...
...
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