提交 7f754887 编写于 作者: huangwensu's avatar huangwensu

Merge branch 'dev-tracking-20201221' of...

Merge branch 'dev-tracking-20201221' of http://192.168.110.53/com.pica.cloud.foundation.frontend/pica-sensitive-admin into dev-tracking-20201221
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
<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-col :span="15"> <el-col :span="15">
<el-form-item label=""> <el-form-item label="">
<el-input <el-input
v-model="searchParam.action" v-model="searchParam.action"
clearable clearable
placeholder="请输入要查找的埋点编码或名称" placeholder="请输入要查找的埋点编码或名称"
style="width:400px;margin-left: -74px;" style="width:400px;margin-left: -74px;"
@change="search(1)"></el-input> @change="search(1)"></el-input>
</el-form-item> </el-form-item>
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
:visible.sync="assignVisible" :visible.sync="assignVisible"
width="30%"> width="30%">
<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"
:rules="assignRule" :rules="assignRule"
label-width="150px" label-width="150px"
...@@ -189,7 +189,7 @@ ...@@ -189,7 +189,7 @@
:visible.sync="dialogVisible" :visible.sync="dialogVisible"
width="30%"> width="30%">
<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"
label-width="150px" label-width="150px"
label-suffix=":" label-suffix=":"
...@@ -247,8 +247,8 @@ ...@@ -247,8 +247,8 @@
</el-form-item> </el-form-item>
<div v-for="(item, index) in form.actionTagResqs" :key="index" style="width: 400px;"> <div v-for="(item, index) in form.actionTagResqs" :key="index" style="width: 400px;">
<el-form-item :label="'额外投递' + parseInt(index + 1)"> <el-form-item :label="'额外投递' + parseInt(index + 1)">
<el-select <el-select
v-model="item.tagCode" v-model="item.tagCode"
clearable clearable
filterable filterable
placeholder="请选择额外投递" placeholder="请选择额外投递"
...@@ -279,7 +279,7 @@ ...@@ -279,7 +279,7 @@
:visible.sync="downPageVisible" :visible.sync="downPageVisible"
width="30%"> width="30%">
<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"
label-width="150px" label-width="150px"
label-suffix=":" label-suffix=":"
...@@ -329,7 +329,7 @@ ...@@ -329,7 +329,7 @@
:visible.sync="detailVisible" :visible.sync="detailVisible"
width="30%"> width="30%">
<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"
label-width="150px" label-width="150px"
label-suffix=":" label-suffix=":"
...@@ -369,7 +369,7 @@ ...@@ -369,7 +369,7 @@
:visible.sync="tagVisible" :visible.sync="tagVisible"
width="30%"> width="30%">
<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"
:model="tagForm" :model="tagForm"
label-width="150px" label-width="150px"
...@@ -528,6 +528,9 @@ export default { ...@@ -528,6 +528,9 @@ export default {
}, },
created() { created() {
this.searchParam.pageId = parseInt(this.$route.query.id) || ''; this.searchParam.pageId = parseInt(this.$route.query.id) || '';
if (this.searchParam.pageId > 0) {
this.search();
}
}, },
mounted() { mounted() {
this.getPageList(); this.getPageList();
...@@ -688,7 +691,7 @@ export default { ...@@ -688,7 +691,7 @@ export default {
); );
} }
}) })
}, },
addTag(index) { addTag(index) {
this.form.actionTagResqs.push({tagName: '', tagCode: '', tagDesc: ''}); this.form.actionTagResqs.push({tagName: '', tagCode: '', tagDesc: ''});
...@@ -771,7 +774,7 @@ export default { ...@@ -771,7 +774,7 @@ export default {
this.detailVisible = true; this.detailVisible = true;
this.getActionDetail(row.id); this.getActionDetail(row.id);
}, },
// 上传页面图片 // 上传页面图片
beforeAvatarUpload(file) { beforeAvatarUpload(file) {
let _this = this; let _this = this;
...@@ -788,7 +791,7 @@ export default { ...@@ -788,7 +791,7 @@ export default {
_this.form.location = path.fullPath; _this.form.location = path.fullPath;
_this.$message.success('上传成功'); _this.$message.success('上传成功');
}); });
return false; return false;
}, },
handleSizeChange(value) { handleSizeChange(value) {
this.searchParam.pageSize = value; this.searchParam.pageSize = value;
...@@ -807,4 +810,4 @@ export default { ...@@ -807,4 +810,4 @@ export default {
margin-bottom: 30px; margin-bottom: 30px;
} }
} }
</style> </style>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册