liu.tao3 1 year ago
commit 510712ddbe

@ -24,9 +24,6 @@ spring:
throw-exception-if-no-handler-found: true throw-exception-if-no-handler-found: true
# 静态资源访问接口前缀 # 静态资源访问接口前缀
static-path-pattern: /static/** static-path-pattern: /static/**
view:
prefix: classpath:/static/
suffix: .html
pathmatch: pathmatch:
matching-strategy: ANT_PATH_MATCHER matching-strategy: ANT_PATH_MATCHER
web: web:
@ -36,7 +33,7 @@ spring:
mybatis-plus: mybatis-plus:
# mybatis plus xml配置文件扫描多个通过分号隔开 # mybatis plus xml配置文件扫描多个通过分号隔开
mapper-locations: classpath*:mapper/**/*.xml mapper-locations: classpath*:mapper/**/*.xml
# xml中别名文件扫描,多个通过分号隔开 # typeHandler扫描路径,多个通过分号隔开
type-handlers-package: com.gccloud type-handlers-package: com.gccloud
global-config: global-config:
db-config: db-config:

@ -93,10 +93,7 @@
v-model="config.dataHandler" v-model="config.dataHandler"
type="textarea" type="textarea"
:rows="5" :rows="5"
placeholder="示例: placeholder="示例:data.forEach(item => { // 数据处理 })"
data.forEach(item => {
//
})"
/> />
</el-form-item> </el-form-item>
</div> </div>
@ -546,7 +543,7 @@ data.forEach(item => {
</el-table> </el-table>
</div> </div>
</div> </div>
<div <!-- <div
v-if="config.option.displayOption.serverPagination.enable" v-if="config.option.displayOption.serverPagination.enable"
class="data-setting-data-box" class="data-setting-data-box"
name="分页配置" name="分页配置"
@ -601,7 +598,7 @@ data.forEach(item => {
</el-select> </el-select>
</el-form-item> </el-form-item>
</div> </div>
</div> </div> -->
<ComponentBinding <ComponentBinding
v-if="['button'].includes(config.type)" v-if="['button'].includes(config.type)"
:config="config" :config="config"

@ -222,10 +222,10 @@ export default {
dataFormRules: { dataFormRules: {
name: [ name: [
{ required: true, message: '页面名称不能为空', trigger: 'blur' } { required: true, message: '页面名称不能为空', trigger: 'blur' }
],
modelCode: [
{ required: true, message: '数据模型不能为空', trigger: 'change' }
] ]
// modelCode: [
// { required: true, message: '', trigger: 'change' }
// ]
}, },
currentPageType: '基础表格', currentPageType: '基础表格',
sureLoading: false, sureLoading: false,

@ -12,7 +12,7 @@
<div class="bs-table-box"> <div class="bs-table-box">
<el-table <el-table
ref="singleTable" ref="singleTable"
:data="paramsList" :data="innerParamsList"
:border="true" :border="true"
align="center" align="center"
class="bs-el-table" class="bs-el-table"

@ -754,7 +754,6 @@ export default {
} }
}, },
addParams (paramList) { addParams (paramList) {
this.$refs.paramsSettingDialog.open()
paramList.forEach(name => { paramList.forEach(name => {
this.dataForm.config.paramsList.push({ this.dataForm.config.paramsList.push({
name, name,
@ -765,6 +764,9 @@ export default {
remark: '' remark: ''
}) })
}) })
this.$nextTick(() => {
this.$refs.paramsSettingDialog.open()
})
}, },
// //
// toExecute () { // toExecute () {

Loading…
Cancel
Save