Commit 785072e6 by 史敦盼

问题修复

1 parent 88203bac
......@@ -4,7 +4,7 @@
* @Autor: pan
* @Date: 2024-05-10 18:41:29
* @LastEditors: pan
* @LastEditTime: 2024-06-19 16:48:53
* @LastEditTime: 2024-06-19 17:40:54
-->
<template>
<el-dialog
......@@ -266,7 +266,7 @@ export default {
handleClose() {
this.showDialog = false
this.formOptions.forEach((v) => {
if (v.prop !== 'eleRelaId') {
if (v.prop !== 'eleRelaId' && v.prop !== 'rsName') {
v.initValue = ''
}
})
......
......@@ -10,7 +10,7 @@
</el-form-item>
<el-form-item label="发布时间" class="flex">
<el-date-picker style="width:300px" v-model="form.time" value-format="yyyy-MM-dd"
<el-date-picker style="width:340px" v-model="form.time" value-format="yyyy-MM-dd"
type="datetimerange" placeholder="发布时间">
</el-date-picker>
</el-form-item>
......
......@@ -21,8 +21,8 @@
</Form>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="handleClose()" size="mini">取 消</el-button>
<el-button type="primary" @click="handleSubmit" size="mini" v-if="this.title != '详情'"
<el-button @click="handleClose()">取 消</el-button>
<el-button type="primary" @click="handleSubmit" v-if="this.title != '详情'"
>提 交</el-button
>
</span></el-dialog
......
......@@ -18,10 +18,8 @@
></Form>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="handleClose()" size="mini">取 消</el-button>
<el-button type="primary" @click="handleSubmit" size="mini"
>提 交</el-button
>
<el-button @click="handleClose()">取 消</el-button>
<el-button type="primary" @click="handleSubmit">提 交</el-button>
</span></el-dialog
>
</template>
......
......@@ -25,10 +25,8 @@
</list-page>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="handleClose()" size="mini">取 消</el-button>
<el-button type="primary" @click="handleConfirm()" size="mini"
>确 定</el-button
>
<el-button @click="handleClose()">取 消</el-button>
<el-button type="primary" @click="handleConfirm()">确 定</el-button>
</span></el-dialog
>
</template>
......
......@@ -4,7 +4,7 @@
* @Autor: pan
* @Date: 2024-03-20 17:53:35
* @LastEditors: pan
* @LastEditTime: 2024-04-07 20:51:29
* @LastEditTime: 2024-06-19 17:31:23
-->
<template>
......@@ -54,9 +54,9 @@
</el-table>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="handleClose()" size="mini">取 消</el-button>
<el-button @click="fnOperation('save')" size="mini">保 存</el-button>
<el-button type="primary" @click="fnOperation('submit')" size="mini"
<el-button @click="handleClose()">取 消</el-button>
<el-button @click="fnOperation('save')">保 存</el-button>
<el-button type="primary" @click="fnOperation('submit')"
>提 交</el-button
>
</span></el-dialog
......
......@@ -15,7 +15,7 @@
></Form>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="showDialog = false" size="mini">取 消</el-button>
<el-button @click="showDialog = false" >取 消</el-button>
</span>
</el-dialog >
</template>
......
......@@ -23,7 +23,6 @@
v-if="activeName === '1'"
icon="el-icon-document-add"
type="primary"
size="medium"
plain
@click="fnAdd()"
>新建</el-button
......
......@@ -296,14 +296,14 @@ export default {
selectSystem() {//确定选择系统
if(this.selectRow2.length == 0) {
Message({
type: 'error',
type: 'warning',
message: '请选择至少一条数据'
});
return;
}
if(this.selectRow2.length > 1) {
Message({
type: 'error',
type: 'warning',
message: '只能选择一条数据'
});
return;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!