| | |
| | | background: #f0f9eb; |
| | | } |
| | | .container { |
| | | width: 100vh; |
| | | margin-left: 20vh; |
| | | width: 120vh; |
| | | height: 90vh; |
| | | position: absolute; |
| | | /*background: #8c939d;*/ |
| | |
| | | <!-- C 1150,150 1150,100 1100,100--> |
| | | <!-- L 250,100--> |
| | | <!-- C 250,100 90,90 100,250 z"--> |
| | | <!-- C 32,810 32,850 65,850--> |
| | | <!-- C 65,850 100,850 100,810--> |
| | | <!-- style="fill:none; stroke:blue; stroke-width:4;" />--> |
| | | <path d="M 0 0 |
| | | L 32 -40 |
| | | L 32 810 |
| | | L 1100 810 |
| | | L 1100 770 |
| | | L 100 770 |
| | | L 100 -40 |
| | | <!-- L 40 40--> |
| | | Z" |
| | | <path d="M 66,0 |
| | | C 66,0 32,0 32,40 |
| | | L 32,770 |
| | | C 32,770 31,810 72,810 |
| | | L 1000,810 |
| | | C 1000,810 1020,810 1020,790 |
| | | C 1020,790 1020,770 1000,770 |
| | | L 120,770 |
| | | C 120,770 100,770 100,750 |
| | | L 100,40 |
| | | C 100,40 100,0 66,0 z" |
| | | style="fill:none; stroke:blue; stroke-width:1;" /> |
| | | </svg> |
| | | <!-- <div class="bus-station">--> |
| | |
| | | prop="status$" |
| | | label="状态"> |
| | | </el-table-column> |
| | | <!-- <el-table-column--> |
| | | <!-- label="操作"--> |
| | | <!-- type="template">--> |
| | | <!-- <template slot-scope="scope">--> |
| | | <!-- <el-button--> |
| | | <!-- :type="scope.row.status === 0 ? 'primary' : 'danger'"--> |
| | | <!-- size="small"--> |
| | | <!-- @click="toggleStatus(scope.$index, scope.row)">--> |
| | | <!-- {{ scope.row.status === 0 ? '禁用' : '解除禁用' }}--> |
| | | <!-- </el-button>--> |
| | | <!-- </template>--> |
| | | <!-- </el-table-column>--> |
| | | <el-table-column |
| | | label="操作" |
| | | type="template"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | :type="scope.row.status === 0 ? 'primary' : 'danger'" |
| | | size="small" |
| | | @click="toggleStatus(scope.$index, scope.row)"> |
| | | {{ scope.row.status === 0 ? '禁用' : '解除禁用' }} |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </div> |
| | |
| | | activeNames: ['1'], |
| | | valueLeft: '0', |
| | | valueRight: '0', |
| | | licenseDay: '已过期', |
| | | licenseDay: ' ', |
| | | licenseDayI: 100, |
| | | valueSystem: false, |
| | | tableDataRgv: [], |
| | |
| | | success: function (res) { |
| | | if (res.code == 200) { |
| | | if (res.data.day<0){ |
| | | that.licenseDay = "已过期"+res.data.day+"天"; |
| | | that.licenseDay = " "+res.data.day+"天"; |
| | | that.licenseDayI = -1; |
| | | } else { |
| | | that.licenseDay = "许可证有效期"+res.data.day+"天"; |
| | | that.licenseDayI = res.data.day; |
| | | } |
| | | }else { |
| | | that.licenseDay = "已过期"; |
| | | that.licenseDay = " "; |
| | | that.licenseDayI = -1; |
| | | } |
| | | } |