提交 b7c5cd4b 编写于 作者: vino's avatar vino

支持模糊搜索

上级 c2826cec
<template> <template>
<el-form <el-form
ref="formData" ref="formData"
:model="formData" :model="formData"
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
v-model="formData.circleId" v-model="formData.circleId"
@change="returnTypeData('circleId')" @change="returnTypeData('circleId')"
placeholder="请选择小圈" placeholder="请选择小圈"
filterable
size="small"> size="small">
<el-option <el-option
v-for="(item,index) in circleList" v-for="(item,index) in circleList"
...@@ -104,7 +105,7 @@ ...@@ -104,7 +105,7 @@
<el-col :span="18"> <el-col :span="18">
<el-select v-model="formData.appModuleDto.paramList[j].value" filterable placeholder="请选择参数" style="width:88%"> <el-select v-model="formData.appModuleDto.paramList[j].value" filterable placeholder="请选择参数" style="width:88%">
<el-option <el-option
v-for="(item3,index3) in i" v-for="(item3,index3) in i"
:key="index3" :key="index3"
:label="item3.name" :label="item3.name"
:value="item3.id + '&'+ item3.name"> :value="item3.id + '&'+ item3.name">
...@@ -188,7 +189,7 @@ ...@@ -188,7 +189,7 @@
</el-form-item> </el-form-item>
<p class="upload-message" v-if="uploadImgMessage2">报名介绍页图片</p> <p class="upload-message" v-if="uploadImgMessage2">报名介绍页图片</p>
</div> </div>
<el-row> <el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="立即报名按钮颜色" prop="backgroundColor2NotJoin"> <el-form-item label="立即报名按钮颜色" prop="backgroundColor2NotJoin">
...@@ -221,7 +222,7 @@ ...@@ -221,7 +222,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="立即报名按钮文字颜色" prop="foregroundColor2NotJoin"> <el-form-item label="立即报名按钮文字颜色" prop="foregroundColor2NotJoin">
...@@ -255,7 +256,7 @@ ...@@ -255,7 +256,7 @@
</el-col> </el-col>
</el-row> </el-row>
<div style="margin-top: 60px;margin-left: 250px;"> <div style="margin-top: 60px;margin-left: 250px;">
<el-button type="primary" @click="save()" center>保存</el-button> <el-button type="primary" @click="save()" center>保存</el-button>
<el-button @click="cancle()">取 消</el-button> <el-button @click="cancle()">取 消</el-button>
...@@ -302,7 +303,7 @@ ...@@ -302,7 +303,7 @@
created() { created() {
vm = this; vm = this;
vm.getCircleList();//可以放在自组件优化 vm.getCircleList();//可以放在自组件优化
}, },
data() { data() {
let checkProjectStr = (rule, value, callback) => { let checkProjectStr = (rule, value, callback) => {
...@@ -444,10 +445,10 @@ ...@@ -444,10 +445,10 @@
}, },
methods: { methods: {
// 获取模块下拉数据 // 获取模块下拉数据
getModuleData() { getModuleData() {
getModuleData().then(function (res) { getModuleData().then(function (res) {
if(res.code == "000000") { if(res.code == "000000") {
vm.moduleArray = JSON.parse(JSON.stringify(res.data)); vm.moduleArray = JSON.parse(JSON.stringify(res.data));
...@@ -629,7 +630,7 @@ ...@@ -629,7 +630,7 @@
} }
}); });
this.$emit('returnIsNext', flag); this.$emit('returnIsNext', flag);
}, },
//上传活动列表页图片 //上传活动列表页图片
...@@ -703,7 +704,7 @@ ...@@ -703,7 +704,7 @@
} }
} }
// else if(_this.width > fileLimit.width || _this.height > fileLimit.height){ // else if(_this.width > fileLimit.width || _this.height > fileLimit.height){
// vm.showCropper = true; // vm.showCropper = true;
// vm.currentOption.cvWidth = _this.width; // vm.currentOption.cvWidth = _this.width;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册