提交 94f0a034 编写于 作者: huangwensu's avatar huangwensu

系统名称修改

上级 8a671ea2
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>敏感数据查看系统</title> <title>数据服务</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name ="viewport" content ="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> <meta name ="viewport" content ="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<meta content="" name="description"/> <meta content="" name="description"/>
......
<template> <template>
<div class="header"> <div class="header">
<div class="logo">敏感数据查看系统</div> <div class="logo">数据服务</div>
<div class="user-info"> <div class="user-info">
<el-dropdown trigger="click" @command="handleCommand"> <el-dropdown trigger="click" @command="handleCommand">
<span class="el-dropdown-link"> <span class="el-dropdown-link">
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
@current-change="dataListChange" @current-change="dataListChange"
:total="total" :total="total"
:current-page="currentPage" :current-page="currentPage"
:page-sizes="[15, 30, 50, 100]" :page-sizes="[15, 50, 100, 200, 300]"
:page-size="pageSize" :page-size="pageSize"
layout="total, sizes, prev, pager, next, jumper" layout="total, sizes, prev, pager, next, jumper"
></el-pagination> ></el-pagination>
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
@current-change="dataListChange" @current-change="dataListChange"
:total="total" :total="total"
:current-page="currentPage" :current-page="currentPage"
:page-sizes="[15, 30, 50, 100]" :page-sizes="[15, 50, 100, 200, 300]"
:page-size="pageSize" :page-size="pageSize"
layout="total, sizes, prev, pager, next, jumper" layout="total, sizes, prev, pager, next, jumper"
></el-pagination> ></el-pagination>
......
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
:total="tableDataList.total" :total="tableDataList.total"
:current-page="pageNo" :current-page="pageNo"
:page-sizes="[15, 30, 50, 100]" :page-sizes="[15, 50, 100, 200, 300]"
:page-size="pageSize" :page-size="pageSize"
layout="total, sizes, prev, pager, next, jumper" layout="total, sizes, prev, pager, next, jumper"
></el-pagination> ></el-pagination>
......
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
> >
</el-option> </el-option>
</el-select> </el-select>
<p v-show="item.unchecked" style="color: red; font-size: 12px;">触发事件不能为空</p> <p v-show="item.unchecked" style="color: red; font-size: 12px;">请选择一个触发事件</p>
<p v-show="item.repChecked" style="color: red; font-size: 12px;">触发事件重复,请重新选择</p> <p v-show="item.repChecked" style="color: red; font-size: 12px;">触发事件重复,请重新选择</p>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -217,8 +217,8 @@ export default { ...@@ -217,8 +217,8 @@ export default {
} }
for(let i = 0; i < this.searchParam.actionModelList.length; i++) { for(let i = 0; i < this.searchParam.actionModelList.length; i++) {
if(!this.searchParam.actionModelList[i].eventId) { if(!this.searchParam.actionModelList[i].eventId) {
this.$set(this.searchParam.actionModelList[i], 'unchecked', true); this.$set(this.searchParam.actionModelList[i], 'unchecked', true); // 事件名称为空
this.$set(this.searchParam.actionModelList[i], 'repChecked', false); this.$set(this.searchParam.actionModelList[i], 'repChecked', false); //事件重复
return; return;
} }
if((this.searchParam.actionModelList[i].nameCheck && this.searchParam.actionModelList[i].actionName) || this.searchParam.actionModelList[i].unchecked || this.searchParam.actionModelList[i].repChecked) { // 有步骤名称重复 if((this.searchParam.actionModelList[i].nameCheck && this.searchParam.actionModelList[i].actionName) || this.searchParam.actionModelList[i].unchecked || this.searchParam.actionModelList[i].repChecked) { // 有步骤名称重复
...@@ -234,12 +234,16 @@ export default { ...@@ -234,12 +234,16 @@ export default {
for(let i = 0; i < req.actionModelList.length; i++) { for(let i = 0; i < req.actionModelList.length; i++) {
if(!req.actionModelList[i].actionName) { if(!req.actionModelList[i].actionName) {
req.actionModelList[i].actionName = req.actionModelList[i].eventName; req.actionModelList[i].actionName = req.actionModelList[i].eventName;
req.actionModelList[i].nameCheck = false;
} }
} }
this.getData( this.getData(
"post", `/session/funnel/save`, req, "post", `/session/funnel/save`, req,
res => { res => {
if(res.code == '000000') { if(res.code == '000000') {
this.$message.success('转化漏斗保存成功'); this.$message.success('转化漏斗保存成功');
this.$router.push({ path: 'path-data', query: {id: res.data.id, name: res.data.name} }); this.$router.push({ path: 'path-data', query: {id: res.data.id, name: res.data.name} });
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册