Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cocktail-party-server
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
cocktail-party
cocktail-party-server
Commits
a29201a2
提交
a29201a2
authored
2月 09, 2022
作者:
稚屿
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修正单词拼写错误
上级
612c4293
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
11 行增加
和
11 行删除
+11
-11
drawingDefault.js
ruoyi-ui/src/utils/generator/drawingDefault.js
+0
-0
html.js
ruoyi-ui/src/utils/generator/html.js
+2
-2
js.js
ruoyi-ui/src/utils/generator/js.js
+1
-1
CodeTypeDialog.vue
ruoyi-ui/src/views/tool/build/CodeTypeDialog.vue
+2
-2
TreeNodeDialog.vue
ruoyi-ui/src/views/tool/build/TreeNodeDialog.vue
+2
-2
index.vue
ruoyi-ui/src/views/tool/build/index.vue
+4
-4
没有找到文件。
ruoyi-ui/src/utils/generator/drawingDefa
lu
t.js
→
ruoyi-ui/src/utils/generator/drawingDefa
ul
t.js
浏览文件 @
a29201a2
ruoyi-ui/src/utils/generator/html.js
浏览文件 @
a29201a2
...
@@ -5,11 +5,11 @@ let confGlobal
...
@@ -5,11 +5,11 @@ let confGlobal
let
someSpanIsNot24
let
someSpanIsNot24
export
function
dialogWrapper
(
str
)
{
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
}
${
str
}
<div slot="footer">
<div slot="footer">
<el-button @click="close">取消</el-button>
<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>
</div>
</el-dialog>`
</el-dialog>`
}
}
...
...
ruoyi-ui/src/utils/generator/js.js
浏览文件 @
a29201a2
...
@@ -98,7 +98,7 @@ function mixinMethod(type) {
...
@@ -98,7 +98,7 @@ function mixinMethod(type) {
close
:
`close() {
close
:
`close() {
this.$emit('update:visible', false)
this.$emit('update:visible', false)
},`
,
},`
,
hand
elConfirm
:
`handelConfirm() {
hand
leConfirm
:
`handleConfirm() {
this.$refs['
${
confGlobal
.
formRef
}
'].validate(valid => {
this.$refs['
${
confGlobal
.
formRef
}
'].validate(valid => {
if(!valid) return
if(!valid) return
this.close()
this.close()
...
...
ruoyi-ui/src/views/tool/build/CodeTypeDialog.vue
浏览文件 @
a29201a2
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<el-button
@
click=
"close"
>
<el-button
@
click=
"close"
>
取消
取消
</el-button>
</el-button>
<el-button
type=
"primary"
@
click=
"hand
elConfirm"
>
<el-button
type=
"primary"
@
click=
"hand
leConfirm"
>
确定
确定
</el-button>
</el-button>
</div>
</div>
...
@@ -94,7 +94,7 @@ export default {
...
@@ -94,7 +94,7 @@ export default {
close
(
e
)
{
close
(
e
)
{
this
.
$emit
(
'update:visible'
,
false
)
this
.
$emit
(
'update:visible'
,
false
)
},
},
hand
elConfirm
()
{
hand
leConfirm
()
{
this
.
$refs
.
elForm
.
validate
(
valid
=>
{
this
.
$refs
.
elForm
.
validate
(
valid
=>
{
if
(
!
valid
)
return
if
(
!
valid
)
return
this
.
$emit
(
'confirm'
,
{
...
this
.
formData
})
this
.
$emit
(
'confirm'
,
{
...
this
.
formData
})
...
...
ruoyi-ui/src/views/tool/build/TreeNodeDialog.vue
浏览文件 @
a29201a2
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<div
slot=
"footer"
>
<div
slot=
"footer"
>
<el-button
<el-button
type=
"primary"
type=
"primary"
@
click=
"hand
elConfirm"
@
click=
"hand
leConfirm"
>
>
确定
确定
</el-button>
</el-button>
...
@@ -133,7 +133,7 @@ export default {
...
@@ -133,7 +133,7 @@ export default {
close
()
{
close
()
{
this
.
$emit
(
'update:visible'
,
false
)
this
.
$emit
(
'update:visible'
,
false
)
},
},
hand
elConfirm
()
{
hand
leConfirm
()
{
this
.
$refs
.
elForm
.
validate
(
valid
=>
{
this
.
$refs
.
elForm
.
validate
(
valid
=>
{
if
(
!
valid
)
return
if
(
!
valid
)
return
if
(
this
.
dataType
===
'number'
)
{
if
(
this
.
dataType
===
'number'
)
{
...
...
ruoyi-ui/src/views/tool/build/index.vue
浏览文件 @
a29201a2
...
@@ -146,7 +146,7 @@ import { beautifierConf, titleCase } from '@/utils/index'
...
@@ -146,7 +146,7 @@ import { beautifierConf, titleCase } from '@/utils/index'
import
{
makeUpHtml
,
vueTemplate
,
vueScript
,
cssStyle
}
from
'@/utils/generator/html'
import
{
makeUpHtml
,
vueTemplate
,
vueScript
,
cssStyle
}
from
'@/utils/generator/html'
import
{
makeUpJs
}
from
'@/utils/generator/js'
import
{
makeUpJs
}
from
'@/utils/generator/js'
import
{
makeUpCss
}
from
'@/utils/generator/css'
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
logo
from
'@/assets/logo/logo.png'
import
CodeTypeDialog
from
'./CodeTypeDialog'
import
CodeTypeDialog
from
'./CodeTypeDialog'
import
DraggableItem
from
'./DraggableItem'
import
DraggableItem
from
'./DraggableItem'
...
@@ -171,15 +171,15 @@ export default {
...
@@ -171,15 +171,15 @@ export default {
selectComponents
,
selectComponents
,
layoutComponents
,
layoutComponents
,
labelWidth
:
100
,
labelWidth
:
100
,
drawingList
:
drawingDefa
lut
,
drawingList
:
drawingDefa
ult
,
drawingData
:
{},
drawingData
:
{},
activeId
:
drawingDefa
lut
[
0
].
formId
,
activeId
:
drawingDefa
ult
[
0
].
formId
,
drawerVisible
:
false
,
drawerVisible
:
false
,
formData
:
{},
formData
:
{},
dialogVisible
:
false
,
dialogVisible
:
false
,
generateConf
:
null
,
generateConf
:
null
,
showFileName
:
false
,
showFileName
:
false
,
activeData
:
drawingDefa
lut
[
0
]
activeData
:
drawingDefa
ult
[
0
]
}
}
},
},
created
()
{
created
()
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论