Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
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
fukai
vue-gjjs
Commits
647814ba
Commit
647814ba
authored
Dec 23, 2021
by
zhaojunjun
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://114.115.138.98:8900/fukai/vue-gjjs
parents
70c46286
0129b9ca
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
54 additions
and
20 deletions
+54
-20
IStreamInput.vue
src/components/IStreamInput.vue
+32
-0
Pattern.js
src/model/Ditopn/Pattern.js
+8
-8
index.js
src/model/Public/Mtabut/index.js
+2
-2
Coninfp.vue
src/views/Public/Coninfp.vue
+12
-10
No files found.
src/components/IStreamInput.vue
0 → 100644
View file @
647814ba
<
template
>
<div>
<c-input
v-bind=
"$attrs"
v-model=
"value"
@
change=
"onChange"
></c-input>
</div>
</
template
>
<
script
>
export
default
{
props
:[
'model'
],
created
:
function
(){
this
.
model
[
"rows"
]
=
this
.
model
[
"rows"
]
||
[];
this
.
value
=
this
.
model
[
"rows"
].
join
(
"
\
n"
);
},
data
:
function
(){
return
{
value
:
""
}
},
methods
:{
onChange
(){
this
.
model
[
"rows"
]
=
this
.
value
.
split
(
"
\
n"
);
console
.
log
(
this
.
model
[
"rows"
]);
this
.
$emit
(
"change"
,
this
.
value
);
}
}
}
</
script
>
src/model/Ditopn/Pattern.js
View file @
647814ba
...
...
@@ -595,14 +595,14 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
14
,
message
:
"长度不能超过14"
}
],
"mtabut.coninf.oitinf.oit.inftxt"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
"mtabut.coninf.oitset.oit.inftxt"
:
[
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
//
"mtabut.coninf.oitinf.oit.inftxt": [
//
{ type: "string", required: false, message: "必输项" },
//
{ max: 60, message: "长度不能超过60" }
//
],
//
"mtabut.coninf.oitset.oit.inftxt": [
// { type: "string", required: tru
e, message: "必输项" },
//
{ max: 60, message: "长度不能超过60" }
//
],
"mtabut.coninf.conexedat"
:
[
{
required
:
false
,
message
:
"输入正确的日期"
}
...
...
src/model/Public/Mtabut/index.js
View file @
647814ba
...
...
@@ -5,14 +5,14 @@ export default class Mtabut {
oitinf
:
{
labinftxt
:
""
,
// Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit
:
{
inftxt
:
""
,
// Infotext .mtabut.coninf.oitinf.oit.inftxt
inftxt
:
{}
,
// Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev
:
""
,
// Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset
:
{
labinftxt
:
""
,
// Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit
:
{
inftxt
:
""
,
// Infotext .mtabut.coninf.oitset.oit.inftxt
inftxt
:
{}
,
// Infotext .mtabut.coninf.oitset.oit.inftxt
inflev
:
""
,
// Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
...
...
src/views/Public/Coninfp.vue
View file @
647814ba
...
...
@@ -7,16 +7,16 @@
label=
"General"
prop=
"mtabut.coninf.oitinf.oit.inftxt"
>
<
c
-input
<
i-stream
-input
type=
"textarea"
:rows=
"6"
@
change=
"valueChange($event, 'mtabut.coninf.oitinf.oit.inflev')"
v-model=
"model.mtabut.coninf.oitinf.oit.inftxt"
rows=
"6"
maxlength=
"60"
resize=
"none"
show-word-limit
placeholder=
"请输入Infotext"
></c-input>
@
change=
"valueChange($event, 'mtabut.coninf.oitinf.oit.inflev')"
:model=
"model.mtabut.coninf.oitinf.oit.inftxt"
></i-stream-input>
</el-form-item>
</c-col>
<c-col
:span=
"7"
:offset=
"1"
>
...
...
@@ -37,16 +37,16 @@
<c-col
:span=
"24"
>
<c-col
:span=
"15"
>
<el-form-item
label=
"Settlement"
prop=
"mtabut.coninf.oitset.oit.inftxt"
>
<
c
-input
<
i-stream
-input
type=
"textarea"
:rows=
"6"
@
change=
"valueChange($event, 'mtabut.coninf.oitset.oit.inflev')"
v-model=
"model.mtabut.coninf.oitset.oit.inftxt"
rows=
"6"
maxlength=
"60"
resize=
"none"
show-word-limit
placeholder=
"请输入Infotext"
></c-input>
@
change=
"valueChange($event, 'mtabut.coninf.oitset.oit.inflev')"
:model=
"model.mtabut.coninf.oitset.oit.inftxt"
></i-stream-input>
</el-form-item>
</c-col>
<c-col
:span=
"7"
:offset=
"1"
>
...
...
@@ -90,7 +90,9 @@
// 附言页签,勿改
import
_
from
"~/utils/Lodash.js"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
IStreamInput
from
'~/components/IStreamInput'
export
default
{
components
:
{
IStreamInput
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
...
...
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