Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sts网站
Project
Project
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
liyang
sts网站
Commits
a29201a2
Commit
a29201a2
authored
Feb 09, 2022
by
稚屿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正单词拼写错误
parent
612c4293
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1662 additions
and
1662 deletions
+1662
-1662
drawingDefault.js
ruoyi-ui/src/utils/generator/drawingDefault.js
+29
-29
html.js
ruoyi-ui/src/utils/generator/html.js
+359
-359
js.js
ruoyi-ui/src/utils/generator/js.js
+236
-236
CodeTypeDialog.vue
ruoyi-ui/src/views/tool/build/CodeTypeDialog.vue
+106
-106
TreeNodeDialog.vue
ruoyi-ui/src/views/tool/build/TreeNodeDialog.vue
+149
-149
index.vue
ruoyi-ui/src/views/tool/build/index.vue
+783
-783
No files found.
ruoyi-ui/src/utils/generator/drawingDefa
lu
t.js
→
ruoyi-ui/src/utils/generator/drawingDefa
ul
t.js
View file @
a29201a2
ruoyi-ui/src/utils/generator/html.js
View file @
a29201a2
...
...
@@ -5,11 +5,11 @@ let confGlobal
let
someSpanIsNot24
export
function
dialogWrapper
(
str
)
{
return
`<el-dialog v-bind="$attrs" v-on="$listeners" @open="onOpen" @close="onClose" title="Dialog Tit
ile">
return
`<el-dialog v-bind="$attrs" v-on="$listeners" @open="onOpen" @close="onClose" title="Dialog Tit
le">
${
str
}
<div slot="footer">
<el-button @click="close">取消</el-button>
<el-button type="primary" @click="hand
elConfirm">确定</el-button>
<el-button type="primary" @click="hand
leConfirm">确定</el-button>
</div>
</el-dialog>`
}
...
...
ruoyi-ui/src/utils/generator/js.js
View file @
a29201a2
...
...
@@ -98,7 +98,7 @@ function mixinMethod(type) {
close
:
`close() {
this.$emit('update:visible', false)
},`
,
hand
elConfirm
:
`handelConfirm() {
hand
leConfirm
:
`handleConfirm() {
this.$refs['
${
confGlobal
.
formRef
}
'].validate(valid => {
if(!valid) return
this.close()
...
...
ruoyi-ui/src/views/tool/build/CodeTypeDialog.vue
View file @
a29201a2
...
...
@@ -41,7 +41,7 @@
<el-button
@
click=
"close"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"hand
elConfirm"
>
<el-button
type=
"primary"
@
click=
"hand
leConfirm"
>
确定
</el-button>
</div>
...
...
@@ -94,7 +94,7 @@ export default {
close
(
e
)
{
this
.
$emit
(
'update:visible'
,
false
)
},
hand
elConfirm
()
{
hand
leConfirm
()
{
this
.
$refs
.
elForm
.
validate
(
valid
=>
{
if
(
!
valid
)
return
this
.
$emit
(
'confirm'
,
{
...
this
.
formData
})
...
...
ruoyi-ui/src/views/tool/build/TreeNodeDialog.vue
View file @
a29201a2
...
...
@@ -59,7 +59,7 @@
<div
slot=
"footer"
>
<el-button
type=
"primary"
@
click=
"hand
elConfirm"
@
click=
"hand
leConfirm"
>
确定
</el-button>
...
...
@@ -133,7 +133,7 @@ export default {
close
()
{
this
.
$emit
(
'update:visible'
,
false
)
},
hand
elConfirm
()
{
hand
leConfirm
()
{
this
.
$refs
.
elForm
.
validate
(
valid
=>
{
if
(
!
valid
)
return
if
(
this
.
dataType
===
'number'
)
{
...
...
ruoyi-ui/src/views/tool/build/index.vue
View file @
a29201a2
...
...
@@ -146,7 +146,7 @@ import { beautifierConf, titleCase } from '@/utils/index'
import
{
makeUpHtml
,
vueTemplate
,
vueScript
,
cssStyle
}
from
'@/utils/generator/html'
import
{
makeUpJs
}
from
'@/utils/generator/js'
import
{
makeUpCss
}
from
'@/utils/generator/css'
import
drawingDefa
lut
from
'@/utils/generator/drawingDefalut'
import
drawingDefa
ult
from
'@/utils/generator/drawingDefault'
import
logo
from
'@/assets/logo/logo.png'
import
CodeTypeDialog
from
'./CodeTypeDialog'
import
DraggableItem
from
'./DraggableItem'
...
...
@@ -171,15 +171,15 @@ export default {
selectComponents
,
layoutComponents
,
labelWidth
:
100
,
drawingList
:
drawingDefa
lut
,
drawingList
:
drawingDefa
ult
,
drawingData
:
{},
activeId
:
drawingDefa
lut
[
0
].
formId
,
activeId
:
drawingDefa
ult
[
0
].
formId
,
drawerVisible
:
false
,
formData
:
{},
dialogVisible
:
false
,
generateConf
:
null
,
showFileName
:
false
,
activeData
:
drawingDefa
lut
[
0
]
activeData
:
drawingDefa
ult
[
0
]
}
},
created
()
{
...
...
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