|  | @@ -153,10 +153,10 @@
 | 
											
												
													
														|  |  							<el-table-column label="每月B分奖分上限">
 |  |  							<el-table-column label="每月B分奖分上限">
 | 
											
												
													
														|  |  								<template slot-scope="scope">
 |  |  								<template slot-scope="scope">
 | 
											
												
													
														|  |  									<div @click="open_integral_limit(scope.row)" v-show="scope.row.entry_limit == 0" class="cursor_pointer" style="text-decoration:underline">
 |  |  									<div @click="open_integral_limit(scope.row)" v-show="scope.row.entry_limit == 0" class="cursor_pointer" style="text-decoration:underline">
 | 
											
												
													
														|  | -										未设置
 |  | 
 | 
											
												
													
														|  | 
 |  | +										不限制
 | 
											
												
													
														|  |  									</div>
 |  |  									</div>
 | 
											
												
													
														|  |  									<div @click="open_integral_limit(scope.row)" v-show="scope.row.entry_limit > 0" class="cursor_pointer">{{ scope.row.entry_limit }}</div>
 |  |  									<div @click="open_integral_limit(scope.row)" v-show="scope.row.entry_limit > 0" class="cursor_pointer">{{ scope.row.entry_limit }}</div>
 | 
											
												
													
														|  | -									<div @click="open_integral_limit(scope.row)" v-show="scope.row.entry_limit < 0">此人不限制奖分上限</div>
 |  | 
 | 
											
												
													
														|  | 
 |  | +									<div @click="open_integral_limit(scope.row)" v-show="scope.row.entry_limit < 0">不限制</div>
 | 
											
												
													
														|  |  								</template>
 |  |  								</template>
 | 
											
												
													
														|  |  							</el-table-column>
 |  |  							</el-table-column>
 | 
											
												
													
														|  |  						</el-table-column>
 |  |  						</el-table-column>
 | 
											
										
											
												
													
														|  | @@ -334,10 +334,10 @@
 | 
											
												
													
														|  |  							<el-table-column label="每月B分奖分上限">
 |  |  							<el-table-column label="每月B分奖分上限">
 | 
											
												
													
														|  |  								<template slot-scope="scope">
 |  |  								<template slot-scope="scope">
 | 
											
												
													
														|  |  									<div @click="open_integral_limit(scope.row)" v-show="scope.row.entry_limit == 0" class="cursor_pointer" style="text-decoration:underline">
 |  |  									<div @click="open_integral_limit(scope.row)" v-show="scope.row.entry_limit == 0" class="cursor_pointer" style="text-decoration:underline">
 | 
											
												
													
														|  | -										未设置
 |  | 
 | 
											
												
													
														|  | 
 |  | +										不限制
 | 
											
												
													
														|  |  									</div>
 |  |  									</div>
 | 
											
												
													
														|  |  									<div @click="open_integral_limit(scope.row)" v-show="scope.row.entry_limit > 0" class="cursor_pointer">{{ scope.row.entry_limit }}</div>
 |  |  									<div @click="open_integral_limit(scope.row)" v-show="scope.row.entry_limit > 0" class="cursor_pointer">{{ scope.row.entry_limit }}</div>
 | 
											
												
													
														|  | -									<div @click="open_integral_limit(scope.row)" v-show="scope.row.entry_limit < 0">此人不限制奖分上限</div>
 |  | 
 | 
											
												
													
														|  | 
 |  | +									<div @click="open_integral_limit(scope.row)" v-show="scope.row.entry_limit < 0">不限制</div>
 | 
											
												
													
														|  |  								</template>
 |  |  								</template>
 | 
											
												
													
														|  |  							</el-table-column>
 |  |  							</el-table-column>
 | 
											
												
													
														|  |  						</el-table-column>
 |  |  						</el-table-column>
 | 
											
										
											
												
													
														|  | @@ -448,6 +448,16 @@
 | 
											
												
													
														|  |  							</noData>
 |  |  							</noData>
 | 
											
												
													
														|  |  						</template>
 |  |  						</template>
 | 
											
												
													
														|  |  					</el-table>
 |  |  					</el-table>
 | 
											
												
													
														|  | 
 |  | +					<div class="pagination" v-show="item_info.code != 'employee'">
 | 
											
												
													
														|  | 
 |  | +						<el-pagination
 | 
											
												
													
														|  | 
 |  | +							@size-change="handleSizeChange"
 | 
											
												
													
														|  | 
 |  | +							@current-change="handleCurrentChange"
 | 
											
												
													
														|  | 
 |  | +							:current-page="page"
 | 
											
												
													
														|  | 
 |  | +							:page-sizes="[10, 20, 50, 100]"
 | 
											
												
													
														|  | 
 |  | +							layout="total,sizes, prev, pager, next"
 | 
											
												
													
														|  | 
 |  | +							:total="total"
 | 
											
												
													
														|  | 
 |  | +						></el-pagination>
 | 
											
												
													
														|  | 
 |  | +					</div>
 | 
											
												
													
														|  |  				</div>
 |  |  				</div>
 | 
											
												
													
														|  |  			</div>
 |  |  			</div>
 | 
											
												
													
														|  |  		</div>
 |  |  		</div>
 | 
											
										
											
												
													
														|  | @@ -470,7 +480,7 @@
 | 
											
												
													
														|  |  					</el-form-item>
 |  |  					</el-form-item>
 | 
											
												
													
														|  |  				</span>
 |  |  				</span>
 | 
											
												
													
														|  |  				<el-form-item label="每月B分奖分上限" prop="entry_limit">
 |  |  				<el-form-item label="每月B分奖分上限" prop="entry_limit">
 | 
											
												
													
														|  | -					<el-input v-model.number="integral_limit_form.entry_limit" oninput="value=value.replace(/[^\d]/g,'')"></el-input>
 |  | 
 | 
											
												
													
														|  | 
 |  | +					<el-input v-model.number="integral_limit_form.entry_limit" oninput="value=value.replace(/[^\d]/g,'')" placeholder="奖分上限不限制"></el-input>
 | 
											
												
													
														|  |  				</el-form-item>
 |  |  				</el-form-item>
 | 
											
												
													
														|  |  				<el-form-item style="text-align: right; margin-bottom: 0">
 |  |  				<el-form-item style="text-align: right; margin-bottom: 0">
 | 
											
												
													
														|  |  					<el-button @click="integral_limit_show = false">取消</el-button>
 |  |  					<el-button @click="integral_limit_show = false">取消</el-button>
 | 
											
										
											
												
													
														|  | @@ -692,6 +702,9 @@ const minimum = (rule, value, callback) => {
 | 
											
												
													
														|  |  export default {
 |  |  export default {
 | 
											
												
													
														|  |  	data() {
 |  |  	data() {
 | 
											
												
													
														|  |  		return {
 |  |  		return {
 | 
											
												
													
														|  | 
 |  | +			page: 1,
 | 
											
												
													
														|  | 
 |  | +			pageSize:10,
 | 
											
												
													
														|  | 
 |  | +			total: 0,
 | 
											
												
													
														|  |  			role_list: [],
 |  |  			role_list: [],
 | 
											
												
													
														|  |  			table_list: [],
 |  |  			table_list: [],
 | 
											
												
													
														|  |  			tips_show: false,
 |  |  			tips_show: false,
 | 
											
										
											
												
													
														|  | @@ -926,6 +939,7 @@ export default {
 | 
											
												
													
														|  |  		  		this.file = response.data;
 |  |  		  		this.file = response.data;
 | 
											
												
													
														|  |  		  		this.$message.success({ message: response.msg });
 |  |  		  		this.$message.success({ message: response.msg });
 | 
											
												
													
														|  |  		  		this.close_export();
 |  |  		  		this.close_export();
 | 
											
												
													
														|  | 
 |  | +				this.page=1;
 | 
											
												
													
														|  |  				this.get_table_list();
 |  |  				this.get_table_list();
 | 
											
												
													
														|  |  		  	}
 |  |  		  	}
 | 
											
												
													
														|  |  		  }else{
 |  |  		  }else{
 | 
											
										
											
												
													
														|  | @@ -945,6 +959,7 @@ export default {
 | 
											
												
													
														|  |  		},
 |  |  		},
 | 
											
												
													
														|  |  		//点击搜索
 |  |  		//点击搜索
 | 
											
												
													
														|  |  		onFilterChanged: function() {
 |  |  		onFilterChanged: function() {
 | 
											
												
													
														|  | 
 |  | +			this.page = 1;
 | 
											
												
													
														|  |  			this.get_table_list();
 |  |  			this.get_table_list();
 | 
											
												
													
														|  |  		},
 |  |  		},
 | 
											
												
													
														|  |  		// 数据查看权限弹窗
 |  |  		// 数据查看权限弹窗
 | 
											
										
											
												
													
														|  | @@ -956,7 +971,7 @@ export default {
 | 
											
												
													
														|  |  		getDataAccess() {
 |  |  		getDataAccess() {
 | 
											
												
													
														|  |  			let self = this;
 |  |  			let self = this;
 | 
											
												
													
														|  |  			self.dataAccessLoading = true;
 |  |  			self.dataAccessLoading = true;
 | 
											
												
													
														|  | -			self.$axios('get', '/api/role/range', { role_id: self.item_info.id })
 |  | 
 | 
											
												
													
														|  | 
 |  | +			self.$axios('get', '/api/role/range', { role_id: self.item_info.id, })
 | 
											
												
													
														|  |  				.then(res => {
 |  |  				.then(res => {
 | 
											
												
													
														|  |  					if (res.data.code == 1) {
 |  |  					if (res.data.code == 1) {
 | 
											
												
													
														|  |  						const resData = res.data.data;
 |  |  						const resData = res.data.data;
 | 
											
										
											
												
													
														|  | @@ -1173,11 +1188,12 @@ export default {
 | 
											
												
													
														|  |  							item.point_limit[0].point = Number(item.point_limit[0].point);
 |  |  							item.point_limit[0].point = Number(item.point_limit[0].point);
 | 
											
												
													
														|  |  							item.point_limit[1].point = Number(item.point_limit[1].point);
 |  |  							item.point_limit[1].point = Number(item.point_limit[1].point);
 | 
											
												
													
														|  |  						}
 |  |  						}
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | 
 |  | +						if (item.entry_limit<0) {
 | 
											
												
													
														|  | 
 |  | +							item.entry_limit='';
 | 
											
												
													
														|  | 
 |  | +						}
 | 
											
												
													
														|  |  						this.integral_limit_form = item;
 |  |  						this.integral_limit_form = item;
 | 
											
												
													
														|  |  					}
 |  |  					}
 | 
											
												
													
														|  | -				})
 |  | 
 | 
											
												
													
														|  | -				.finally(() => {
 |  | 
 | 
											
												
													
														|  | 
 |  | +				}).finally(() => {
 | 
											
												
													
														|  |  					this.integral_limit_loading = false;
 |  |  					this.integral_limit_loading = false;
 | 
											
												
													
														|  |  				});
 |  |  				});
 | 
											
												
													
														|  |  		},
 |  |  		},
 | 
											
										
											
												
													
														|  | @@ -1274,6 +1290,7 @@ export default {
 | 
											
												
													
														|  |  					.then(res => {
 |  |  					.then(res => {
 | 
											
												
													
														|  |  						if (res.data.code == 1) {
 |  |  						if (res.data.code == 1) {
 | 
											
												
													
														|  |  							this.$message.success(res.data.msg);
 |  |  							this.$message.success(res.data.msg);
 | 
											
												
													
														|  | 
 |  | +							this.page=1;
 | 
											
												
													
														|  |  							this.get_table_list();
 |  |  							this.get_table_list();
 | 
											
												
													
														|  |  						}
 |  |  						}
 | 
											
												
													
														|  |  					})
 |  |  					})
 | 
											
										
											
												
													
														|  | @@ -1314,6 +1331,7 @@ export default {
 | 
											
												
													
														|  |  					.then(res => {
 |  |  					.then(res => {
 | 
											
												
													
														|  |  						if (res.data.code == 1) {
 |  |  						if (res.data.code == 1) {
 | 
											
												
													
														|  |  							this.$message.success(res.data.msg);
 |  |  							this.$message.success(res.data.msg);
 | 
											
												
													
														|  | 
 |  | +							this.page=1;
 | 
											
												
													
														|  |  							this.get_table_list();
 |  |  							this.get_table_list();
 | 
											
												
													
														|  |  						}
 |  |  						}
 | 
											
												
													
														|  |  					})
 |  |  					})
 | 
											
										
											
												
													
														|  | @@ -1338,7 +1356,18 @@ export default {
 | 
											
												
													
														|  |  					this.role_loading = false;
 |  |  					this.role_loading = false;
 | 
											
												
													
														|  |  				});
 |  |  				});
 | 
											
												
													
														|  |  		},
 |  |  		},
 | 
											
												
													
														|  | 
 |  | +		handleSizeChange: function(val) {
 | 
											
												
													
														|  | 
 |  | +			this.pageSize=val;
 | 
											
												
													
														|  | 
 |  | +			this.page = 1;
 | 
											
												
													
														|  | 
 |  | +			this.get_table_list();
 | 
											
												
													
														|  | 
 |  | +		},
 | 
											
												
													
														|  | 
 |  | +		//页码变更
 | 
											
												
													
														|  | 
 |  | +		handleCurrentChange: function(val) {
 | 
											
												
													
														|  | 
 |  | +			this.page = val;
 | 
											
												
													
														|  | 
 |  | +			this.get_table_list();
 | 
											
												
													
														|  | 
 |  | +		},
 | 
											
												
													
														|  |  		open_right(data) {
 |  |  		open_right(data) {
 | 
											
												
													
														|  | 
 |  | +			this.page=1;
 | 
											
												
													
														|  |  			this.jurisdiction = data.code == 'employee' ? this.dataAccessListEmployee : this.dataAccessList;
 |  |  			this.jurisdiction = data.code == 'employee' ? this.dataAccessListEmployee : this.dataAccessList;
 | 
											
												
													
														|  |  			this.item_info = data;
 |  |  			this.item_info = data;
 | 
											
												
													
														|  |  			if (data.code != 'employee') {
 |  |  			if (data.code != 'employee') {
 | 
											
										
											
												
													
														|  | @@ -1349,7 +1378,7 @@ export default {
 | 
											
												
													
														|  |  			this.table_loading = true;
 |  |  			this.table_loading = true;
 | 
											
												
													
														|  |  			var that = this;
 |  |  			var that = this;
 | 
											
												
													
														|  |  			this.table_list = [];
 |  |  			this.table_list = [];
 | 
											
												
													
														|  | -			this.$axios('get', '/api/role/user', { role_id: this.item_info.id, keyword: this.keyword })
 |  | 
 | 
											
												
													
														|  | 
 |  | +			this.$axios('get', '/api/role/user', { role_id: this.item_info.id, keyword: this.keyword,page_size:this.pageSize,page:this.page })
 | 
											
												
													
														|  |  				.then(res => {
 |  |  				.then(res => {
 | 
											
												
													
														|  |  					if (res.data.code == 1) {
 |  |  					if (res.data.code == 1) {
 | 
											
												
													
														|  |  						var list = res.data.data.list;
 |  |  						var list = res.data.data.list;
 | 
											
										
											
												
													
														|  | @@ -1365,6 +1394,7 @@ export default {
 | 
											
												
													
														|  |  							}
 |  |  							}
 | 
											
												
													
														|  |  						});
 |  |  						});
 | 
											
												
													
														|  |  						this.table_list = list || [];
 |  |  						this.table_list = list || [];
 | 
											
												
													
														|  | 
 |  | +						this.total=res.data.data.total
 | 
											
												
													
														|  |  					}
 |  |  					}
 | 
											
												
													
														|  |  				})
 |  |  				})
 | 
											
												
													
														|  |  				.finally(() => {
 |  |  				.finally(() => {
 |