no message
This commit is contained in:
parent
84529c5529
commit
89007fdf59
@ -6,7 +6,7 @@
|
|||||||
<el-skeleton v-if="loading" :rows="4" />
|
<el-skeleton v-if="loading" :rows="4" />
|
||||||
<sc-form ref="formref" :config="config" v-model="data" v-if="!loading" :loading="loading"> </sc-form>
|
<sc-form ref="formref" :config="config" v-model="data" v-if="!loading" :loading="loading"> </sc-form>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<el-button type="primary" :loading="isSaveing" @click="submit">保存</el-button>
|
<el-button type="primary" :loading="isSaveing" @click="submit">{{ config.submitname || '保存' }}</el-button>
|
||||||
<el-button @click="visible=false">取消</el-button>
|
<el-button @click="visible=false">取消</el-button>
|
||||||
</template>
|
</template>
|
||||||
</x-dialog>
|
</x-dialog>
|
||||||
@ -34,7 +34,8 @@
|
|||||||
labelPosition : "right",
|
labelPosition : "right",
|
||||||
labelWidth : "120px",
|
labelWidth : "120px",
|
||||||
size : "medium",
|
size : "medium",
|
||||||
url:''
|
url:'',
|
||||||
|
submitname:'保存'
|
||||||
},
|
},
|
||||||
visible: false,
|
visible: false,
|
||||||
isSaveing: false,
|
isSaveing: false,
|
||||||
|
@ -51,10 +51,6 @@
|
|||||||
</el-container>
|
</el-container>
|
||||||
<x-update v-if="dialog.save" :column="column" :name="key" ref="saveDialog" @success="handleSuccess" @closed="dialog.save=false"></x-update>
|
<x-update v-if="dialog.save" :column="column" :name="key" ref="saveDialog" @success="handleSuccess" @closed="dialog.save=false"></x-update>
|
||||||
<x-dialog v-if="dialog.stat" ref="xStat" @closed="dialog.stat=false"></x-dialog>
|
<x-dialog v-if="dialog.stat" ref="xStat" @closed="dialog.stat=false"></x-dialog>
|
||||||
|
|
||||||
|
|
||||||
<a @click="plus">fdsafdfa</a>
|
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@ -175,7 +171,7 @@
|
|||||||
plus(){
|
plus(){
|
||||||
this.dialog.save = true
|
this.dialog.save = true
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.saveDialog.open().setData({}).setConfig({remoteurl:'/system/user/demo'})
|
this.$refs.saveDialog.open().setData({}).setConfig(this.operation.plus)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//编辑
|
//编辑
|
||||||
|
Loading…
Reference in New Issue
Block a user