丰都积分规则
This commit is contained in:
		| @@ -13,6 +13,21 @@ | ||||
|                         @change="handleTypeSearch" ref="eventTypeSearch"/> | ||||
|           <ai-select v-model="search.status" @change="(page.current = 1), getList()" placeholder="请选择状态" :selectList="$dict.getDict('integralRuleStatus')"> | ||||
|           </ai-select> | ||||
|           <ai-picker | ||||
|             :instance="instance" | ||||
|             dialogTitle="选择网格" | ||||
|             :ops="{label: 'girdName', id: 'girdCode'}" | ||||
|             pageTitle="网格" | ||||
|             :action="'/app/appgirdinfo/girdList?idType=1'" | ||||
|             v-model="searchGirdList" | ||||
|             @pick="onGirdChange"> | ||||
|             <div class="userSelcet"> | ||||
|               <span style="color: #606266;" v-if="search.girdCode">{{ girdName }}</span> | ||||
|               <span v-else>有效地区</span> | ||||
|               <i class="el-icon-arrow-up"  v-if="!search.girdCode"></i> | ||||
|               <i class="el-icon-circle-close" v-if="search.girdCode" @click.stop="searchGirdList = [], search.girdCode = '', name = '', search.current = 1, getList()"></i> | ||||
|             </div> | ||||
|           </ai-picker> | ||||
|         </template> | ||||
|       </ai-search-bar> | ||||
|       <ai-table | ||||
| @@ -116,12 +131,15 @@ | ||||
|         } | ||||
|       } | ||||
|       return { | ||||
|         girdList: [], | ||||
|         girdName: '', | ||||
|         search: { | ||||
|           status: "", | ||||
|           systemRuleId: "", | ||||
|           ruleName: "" | ||||
|           ruleName: "", | ||||
|           girdCode: '' | ||||
|         }, | ||||
|         girdList: [], | ||||
|         searchGirdList: [], | ||||
|         systemRuleIdList: [], | ||||
|         page: {current: 1, size: 10, total: 0}, | ||||
|         colConfigs: [ | ||||
| @@ -226,6 +244,22 @@ | ||||
|       }); | ||||
|     }, | ||||
|     methods: { | ||||
|       onGirdChange (e) { | ||||
|         if (e.length) { | ||||
|           this.girdName = e[0].girdName | ||||
|           this.search.girdCode = e[0].girdCode | ||||
|         } else { | ||||
|           this.girdName = '' | ||||
|         } | ||||
|  | ||||
|         this.searchGirdList = e | ||||
|  | ||||
|         this.page.current = 1 | ||||
|  | ||||
|         this.$nextTick(() => { | ||||
|           this.getList() | ||||
|         }) | ||||
|       }, | ||||
|       onPick (e) { | ||||
|         if (e.length) { | ||||
|           this.form.girdName = e[0].girdName | ||||
| @@ -428,6 +462,49 @@ | ||||
|     height: 100%; | ||||
|     background: #f3f6f9; | ||||
|  | ||||
|     .userSelcet { | ||||
|       display: flex; | ||||
|       align-items: center; | ||||
|       justify-content: space-between; | ||||
|       width: 215px; | ||||
|       height: 32px; | ||||
|       line-height: 32px; | ||||
|       border-radius: 4px; | ||||
|       border: 1px solid #d0d4dc; | ||||
|       overflow: hidden; | ||||
|       cursor: pointer; | ||||
|       transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); | ||||
|  | ||||
|       &:hover { | ||||
|         border-color: $placeholderColor; | ||||
|       } | ||||
|  | ||||
|       i { | ||||
|         display: flex; | ||||
|         position: relative; | ||||
|         align-items: center; | ||||
|         justify-content: center; | ||||
|         width: 30px; | ||||
|         height: 100%; | ||||
|         line-height: 32px; | ||||
|         font-size: 14px; | ||||
|         text-align: center; | ||||
|         color: #d0d4dc; | ||||
|         transform: rotateZ(180deg); | ||||
|       } | ||||
|  | ||||
|       .el-icon-circle-close:hover { | ||||
|         opacity: 0.6; | ||||
|       } | ||||
|  | ||||
|       span { | ||||
|         flex: 1; | ||||
|         padding: 0 15px; | ||||
|         font-size: 12px; | ||||
|         color: $placeholderColor; | ||||
|       } | ||||
|     } | ||||
|  | ||||
|     :deep( .ai-list__content--right ){ | ||||
|       width: 100%; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user