fix mix files, fix admin status filter

This commit is contained in:
Omair Saleh
2018-12-07 17:55:35 +08:00
parent 344c854792
commit f9b4ab21d6
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
<!-- <el-table-column label="Payment Method" :filters="[{text: 'Cash', value: 'Cash'}, {text: 'Cheque', value: 'Cheque'}, {text: 'BA', value: 'BA'}]" :filter-method="filterHandler">
</el-table-column> -->
<!--<el-table-column :filters="[{text: '1', value: '1'}, {text: '2', value: '2'}, {text: '3', value: '3'}, {text: '4', value: '4'}, {text: '5', value: '5'}, {text: '6', value: '6'}, {text: '7', value: '7'}]" :filter-method="filterHandlerStatus" prop="status" label="Status"/>-->
<el-table-column label="Status" width="106" :filters="[{text: '1', value: 1}, {text: '2', value: 2}, {text: '3', value: 3}, {text: '4', value: 4}, {text: '5', value: 5}, {text: '6', value: 6}, {text: '7', value: 7}]" :filter-method="filterHandlerStatus" prop="admin_status">
<el-table-column label="Status" width="106" :filters="[{text: '1', value: 1}, {text: '2', value: 2}, {text: '3', value: 3}, {text: '4', value: 4}, {text: '5', value: 5}, {text: '6', value: 6}]" :filter-method="filterHandlerStatus" prop="admin_status">
<template slot-scope="scope">
<el-popover trigger="click" placement="top">
<p>{{ scope.row.status_desc }}</p>
+4 -4
View File
@@ -42,12 +42,12 @@ $polyfills = [
{{-- Load the application scripts --}}
@if (env('APP_ENV') == 'production' || env('APP_ENV') == 'staging')
<script src="{{ mix('js/manifest.js') }}"></script>
<script src="{{ mix('js/vendor.js') }}"></script>
<script src="{{ mix('js/app.js') }}"></script>
<script src="{{ asset('js/manifest.js') }}"></script>
<script src="{{ asset('js/vendor.js') }}"></script>
<script src="{{ asset('js/app.js') }}"></script>
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
@else
<script src="{{ mix('js/app.js') }}"></script>
<script src="{{ asset('js/app.js') }}"></script>
@endif
</body>
</html>