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
d1f51978
Commit
d1f51978
authored
Mar 29, 2023
by
李少勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新格式富文本组件类型封装
parent
4ef6f954
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
54 additions
and
6 deletions
+54
-6
index.js
src/business/gitopn/model/index.js
+1
-0
Gidtxtp.vue
src/business/gitopn/views/Gidtxtp.vue
+7
-6
XmlFormatEditorNew.vue
src/components/XmlFormatEditorNew.vue
+43
-0
index.js
src/components/index.js
+3
-0
No files found.
src/business/gitopn/model/index.js
View file @
d1f51978
...
...
@@ -205,6 +205,7 @@ export default class Gitopn {
covgodsrv
:
''
,
// Object of Contract .gidgrp.blk.covgodsrv
orcplc
:
''
,
// Original Contract Place .gidgrp.blk.orcplc
addinf
:
''
,
// Additional Info .gidgrp.blk.addinf
gidtxt
:
''
,
// Guarantee Text with Variables .gidgrp.blk.gidtxt
gtxgidtxt
:
''
,
// Guarantee Text with Variables .gidgrp.blk.gtxgidtxt
apprulc
:
''
,
// Applicable Rules .gidgrp.blk.apprulc
feetxtc
:
''
,
// Additional Details to Code for Charges .gidgrp.blk.feetxtc
...
...
src/business/gitopn/views/Gidtxtp.vue
View file @
d1f51978
...
...
@@ -9,21 +9,21 @@
label=
"保函文本可变因素"
prop=
"gidgrp.blk.gidtxt"
>
<c-xml-format-editor
:
model=
"model.gidgrp.blk.gidtxt"
<c-xml-format-editor
-new
v-
model=
"model.gidgrp.blk.gidtxt"
:disabled=
"model.gitp.gidtxtmodflg == ''"
placeholder=
"请输入保函文本可变因素"
></c-xml-format-editor>
></c-xml-format-editor
-new
>
</el-form-item>
<el-form-item
v-if=
"model.gitp.gidtxtmodflg == 'X'"
label=
"保函文本可变因素"
prop=
"gidgrp.blk.gtxgidtxt"
>
<c-xml-format-editor
:
model=
"model.gidgrp.blk.gtxgidtxt"
<c-xml-format-editor
-new
v-
model=
"model.gidgrp.blk.gtxgidtxt"
placeholder=
"请输入保函文本可变因素"
></c-xml-format-editor>
></c-xml-format-editor
-new
>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -33,6 +33,7 @@
v-model=
"model.gitp.gidtxtmodflg"
style=
"margin: 0 0 0 10px"
class=
"checkbox-left"
value=
"X"
>
修改保函文本
</c-checkbox
>
</c-col>
...
...
src/components/XmlFormatEditorNew.vue
0 → 100644
View file @
d1f51978
<!-- 新格式的富文本组件 -->
<
template
>
<c-rich-text-editor
v-model=
"model"
v-bind=
"$attrs"
@
blur=
"blurEvent"
></c-rich-text-editor>
</
template
>
<
script
>
// 保函文本
export
default
{
name
:
"XmlFormatEditorNew"
,
props
:
{
value
:
{
type
:
String
,
default
:
''
}
},
computed
:
{
model
:
{
get
()
{
return
this
.
value
},
set
(
newVal
)
{
this
.
$emit
(
'input'
,
newVal
)
}
}
},
data
()
{
return
{};
},
methods
:
{
blurEvent
()
{
this
.
$emit
(
'blur'
,
this
.
model
)
}
},
};
</
script
>
<
style
>
</
style
>
\ No newline at end of file
src/components/index.js
View file @
d1f51978
...
...
@@ -58,6 +58,7 @@ import PagingTable from "./PagingTable.vue";
import
MulRowInput
from
"./MulRowInput.vue"
import
RichTextEditor
from
"./RichTextEditor.vue"
import
XmlFormatEditor
from
"./XmlFormatEditor.vue"
import
XmlFormatEditorNew
from
"./XmlFormatEditorNew.vue"
export
default
{
install
(
Vue
)
{
...
...
@@ -117,5 +118,6 @@ export default {
Vue
.
component
(
"c-mul-row-input"
,
MulRowInput
)
Vue
.
component
(
"c-rich-text-editor"
,
RichTextEditor
)
Vue
.
component
(
"c-xml-format-editor"
,
XmlFormatEditor
)
Vue
.
component
(
"c-xml-format-editor-new"
,
XmlFormatEditorNew
)
}
}
\ No newline at end of file
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