提交 14a37620 编写于 作者: huangwensu's avatar huangwensu

弹框样式调整

上级 6188f1f4
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
<el-dialog <el-dialog
title="指派" title="指派"
:visible.sync="assignVisible" :visible.sync="assignVisible"
width="30%"> width="40%">
<el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;"> <el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;">
<el-form ref="assignForm" <el-form ref="assignForm"
:model="assignForm" :model="assignForm"
...@@ -153,8 +153,9 @@ ...@@ -153,8 +153,9 @@
label-width="150px" label-width="150px"
label-suffix=":" label-suffix=":"
label-position="right" label-position="right"
size="mini"> size="mini"
<el-col :span="20"> style="width: 100%;">
<el-col :span="24">
<el-form-item label="任务状态" prop="status"> <el-form-item label="任务状态" prop="status">
<el-select v-model="assignForm.status" placeholder="请选择任务状态" style="width:200px"> <el-select v-model="assignForm.status" placeholder="请选择任务状态" style="width:200px">
<el-option <el-option
...@@ -187,7 +188,7 @@ ...@@ -187,7 +188,7 @@
<el-dialog <el-dialog
title="编辑埋点" title="编辑埋点"
:visible.sync="dialogVisible" :visible.sync="dialogVisible"
width="30%"> width="40%">
<el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;"> <el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;">
<el-form ref="menuForm" <el-form ref="menuForm"
:model="form" :model="form"
...@@ -195,8 +196,9 @@ ...@@ -195,8 +196,9 @@
label-suffix=":" label-suffix=":"
label-position="right" label-position="right"
:rules="rules" :rules="rules"
size="mini"> size="mini"
<el-col :span="20"> style="width: 100%;">
<el-col :span="24">
<el-form-item label="页面名"> <el-form-item label="页面名">
<span>{{form.pageName}}</span> <span>{{form.pageName}}</span>
</el-form-item> </el-form-item>
...@@ -278,7 +280,7 @@ ...@@ -278,7 +280,7 @@
<el-dialog <el-dialog
title="下线埋点" title="下线埋点"
:visible.sync="downPageVisible" :visible.sync="downPageVisible"
width="30%"> width="40%">
<el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;"> <el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;">
<el-form ref="downForm" <el-form ref="downForm"
:model="downForm" :model="downForm"
...@@ -286,7 +288,8 @@ ...@@ -286,7 +288,8 @@
label-suffix=":" label-suffix=":"
label-position="right" label-position="right"
:rules="downRules" :rules="downRules"
size="mini"> size="mini"
style="width: 100%;">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="事件名"> <el-form-item label="事件名">
<div>{{downForm.actionName}}</div> <div>{{downForm.actionName}}</div>
...@@ -328,7 +331,7 @@ ...@@ -328,7 +331,7 @@
<el-dialog <el-dialog
title="查看埋点详情" title="查看埋点详情"
:visible.sync="detailVisible" :visible.sync="detailVisible"
width="30%"> width="40%">
<el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;"> <el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;">
<el-form ref="detailForm" <el-form ref="detailForm"
:model="detailForm" :model="detailForm"
...@@ -372,7 +375,7 @@ ...@@ -372,7 +375,7 @@
<el-dialog <el-dialog
title="新建投递对象" title="新建投递对象"
:visible.sync="tagVisible" :visible.sync="tagVisible"
width="30%"> width="40%">
<el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;"> <el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;">
<el-form ref="tagForm" <el-form ref="tagForm"
rules="tagRules" rules="tagRules"
...@@ -380,7 +383,8 @@ ...@@ -380,7 +383,8 @@
label-width="150px" label-width="150px"
label-suffix=":" label-suffix=":"
label-position="right" label-position="right"
size="mini"> size="mini"
style="width: 100%;">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="投递对象名" prop="tagName"> <el-form-item label="投递对象名" prop="tagName">
<el-input v-model="tagForm.tagName" maxlength="15" placeholder="请输入投递对象名称" style="width: 200px;"></el-input> <el-input v-model="tagForm.tagName" maxlength="15" placeholder="请输入投递对象名称" style="width: 200px;"></el-input>
...@@ -573,6 +577,11 @@ export default { ...@@ -573,6 +577,11 @@ export default {
changeTag(val, index) { changeTag(val, index) {
if(val == '000000') { if(val == '000000') {
this.tagVisible = true; this.tagVisible = true;
this.tagForm.tagName = '';
this.tagForm.tagDesc = '';
if(this.$refs.tagForm) {
this.$refs.tagForm.resetFields();
}
this.form.actionTagResqs[index].tagCode = ''; this.form.actionTagResqs[index].tagCode = '';
}else { }else {
this.form.actionTagResqs[index].tagCode = val; this.form.actionTagResqs[index].tagCode = val;
......
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
<el-dialog <el-dialog
:title="pageTitle" :title="pageTitle"
:visible.sync="creatPageVisible" :visible.sync="creatPageVisible"
width="30%"> width="40%">
<el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;"> <el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;">
<el-form ref="creatPageForm" <el-form ref="creatPageForm"
:model="pageForm" :model="pageForm"
...@@ -184,8 +184,9 @@ ...@@ -184,8 +184,9 @@
label-suffix=":" label-suffix=":"
label-position="right" label-position="right"
:rules="pageRules" :rules="pageRules"
size="mini"> size="mini"
<el-col :span="20"> style="width: 100%;">
<el-col :span="24">
<el-form-item label="页面名" prop="name"> <el-form-item label="页面名" prop="name">
<el-input v-model="pageForm.name" placeholder="请输入页面名" maxlength="15" style="width:200px"></el-input> <el-input v-model="pageForm.name" placeholder="请输入页面名" maxlength="15" style="width:200px"></el-input>
</el-form-item> </el-form-item>
...@@ -250,7 +251,7 @@ ...@@ -250,7 +251,7 @@
<el-dialog <el-dialog
title="新建埋点" title="新建埋点"
:visible.sync="dialogVisible" :visible.sync="dialogVisible"
width="30%"> width="40%">
<el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;"> <el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;">
<el-form ref="menuForm" <el-form ref="menuForm"
:model="form" :model="form"
...@@ -258,8 +259,9 @@ ...@@ -258,8 +259,9 @@
label-suffix=":" label-suffix=":"
label-position="right" label-position="right"
:rules="rules" :rules="rules"
size="mini"> size="mini"
<el-col :span="20"> style="width: 100%;">
<el-col :span="24">
<el-form-item label="页面名"> <el-form-item label="页面名">
<span>{{form.pageName}}</span> <span>{{form.pageName}}</span>
</el-form-item> </el-form-item>
...@@ -342,7 +344,7 @@ ...@@ -342,7 +344,7 @@
<el-dialog <el-dialog
title="下线页面" title="下线页面"
:visible.sync="downPageVisible" :visible.sync="downPageVisible"
width="30%"> width="40%">
<el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;"> <el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;">
<el-form ref="downForm" <el-form ref="downForm"
:model="downForm" :model="downForm"
...@@ -350,7 +352,8 @@ ...@@ -350,7 +352,8 @@
label-suffix=":" label-suffix=":"
label-position="right" label-position="right"
:rules="downRules" :rules="downRules"
size="mini"> size="mini"
style="width: 100%;">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="页面名"> <el-form-item label="页面名">
<span>{{downForm.pageName}}</span> <span>{{downForm.pageName}}</span>
...@@ -394,7 +397,7 @@ ...@@ -394,7 +397,7 @@
<el-dialog <el-dialog
title="指派" title="指派"
:visible.sync="assignVisible" :visible.sync="assignVisible"
width="30%"> width="40%">
<el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;"> <el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;">
<el-form ref="assignForm" <el-form ref="assignForm"
:model="assignForm" :model="assignForm"
...@@ -402,8 +405,9 @@ ...@@ -402,8 +405,9 @@
label-width="150px" label-width="150px"
label-suffix=":" label-suffix=":"
label-position="right" label-position="right"
size="mini"> size="mini"
<el-col :span="20"> style="width: 100%;">
<el-col :span="24">
<el-form-item label="任务状态" prop="status"> <el-form-item label="任务状态" prop="status">
<el-select v-model="assignForm.status" placeholder="请选择任务状态" style="width:200px"> <el-select v-model="assignForm.status" placeholder="请选择任务状态" style="width:200px">
<el-option <el-option
...@@ -436,7 +440,7 @@ ...@@ -436,7 +440,7 @@
<el-dialog <el-dialog
title="新建投递对象" title="新建投递对象"
:visible.sync="tagVisible" :visible.sync="tagVisible"
width="30%"> width="40%">
<el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;"> <el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;">
<el-form ref="tagForm" <el-form ref="tagForm"
:rules="tagRules" :rules="tagRules"
...@@ -444,7 +448,8 @@ ...@@ -444,7 +448,8 @@
label-width="150px" label-width="150px"
label-suffix=":" label-suffix=":"
label-position="right" label-position="right"
size="mini"> size="mini"
style="width: 100%;">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="投递对象名" prop="tagName"> <el-form-item label="投递对象名" prop="tagName">
<el-input v-model="tagForm.tagName" maxlength="15" placeholder="请输入投递对象名称" style="width: 200px;"></el-input> <el-input v-model="tagForm.tagName" maxlength="15" placeholder="请输入投递对象名称" style="width: 200px;"></el-input>
...@@ -661,6 +666,11 @@ export default { ...@@ -661,6 +666,11 @@ export default {
changeTag(val, index) { changeTag(val, index) {
if(val == '000000') { if(val == '000000') {
this.tagVisible = true; this.tagVisible = true;
this.tagForm.tagName = '';
this.tagForm.tagDesc = '';
if(this.$refs.tagForm) {
this.$refs.tagForm.resetFields();
}
this.form.actionTagResqs[index].tagCode = ''; this.form.actionTagResqs[index].tagCode = '';
}else { }else {
this.form.actionTagResqs[index].tagCode = val; this.form.actionTagResqs[index].tagCode = val;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册