Commit 785072e6 by 史敦盼

问题修复

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