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
zhouqian
vue-gjjs
Commits
1bfe88ed
Commit
1bfe88ed
authored
Dec 21, 2021
by
hulei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add i-stream-block
parent
0fe4be1b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
58 additions
and
26 deletions
+58
-26
IStreamBlock.vue
src/components/IStreamBlock.vue
+42
-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
+6
-16
No files found.
src/components/IStreamBlock.vue
0 → 100644
View file @
1bfe88ed
<
template
>
<div>
<c-input
type=
"textarea"
v-model=
"text"
maxlength=
"60"
:autosize=
"
{ minRows: 4, maxRows: 6 }"
show-word-limit
placeholder="请输入Infotext"
@change="syncStream"
>
</c-input>
</div>
</
template
>
<
script
>
export
default
{
props
:[
'stream'
],
created
:
function
(){
this
.
stream
[
"rows"
]
=
this
.
stream
[
"rows"
]
||
[];
this
.
text
=
this
.
stream
[
"rows"
].
join
();
},
data
:
function
(){
return
{
text
:
""
}
},
computed
:{
},
methods
:{
syncStream
(){
this
.
stream
[
"rows"
]
=
this
.
text
.
split
(
"
\
r
\
n"
);
console
.
log
(
this
.
stream
[
"rows"
]);
this
.
$emit
(
"change"
,
this
.
text
);
},
onChange
(){
this
.
$emit
(
"change"
,
this
.
text
);
}
}
}
</
script
>
src/model/Ditopn/Pattern.js
View file @
1bfe88ed
...
...
@@ -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 @
1bfe88ed
...
...
@@ -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 @
1bfe88ed
...
...
@@ -7,14 +7,7 @@
label=
"General"
prop=
"mtabut.coninf.oitinf.oit.inftxt"
>
<c-input
type=
"textarea"
v-model=
"model.mtabut.coninf.oitinf.oit.inftxt"
maxlength=
"60"
:autosize=
"
{ minRows: 4, maxRows: 6 }"
show-word-limit
placeholder="请输入Infotext"
>
</c-input>
<i-stream-block
:stream=
"model.mtabut.coninf.oitinf.oit.inftxt"
></i-stream-block>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -48,14 +41,7 @@
label=
"Settlement"
prop=
"mtabut.coninf.oitset.oit.inftxt"
>
<c-input
type=
"textarea"
v-model=
"model.mtabut.coninf.oitset.oit.inftxt"
maxlength=
"60"
:autosize=
"
{ minRows: 4, maxRows: 6 }"
show-word-limit
placeholder="请输入Infotext"
>
</c-input>
<i-stream-block
:stream=
"model.mtabut.coninf.oitset.oit.inftxt"
></i-stream-block>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -114,8 +100,12 @@
<
script
>
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
Event
from
"~/model/Ditopn/Event"
;
import
IStreamBlock
from
'~/components/IStreamBlock.vue'
;
export
default
{
components
:
{
IStreamBlock
},
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