update some files

This commit is contained in:
LittleBoy 2019-06-23 22:30:14 +08:00
parent afa92f0977
commit 1fd01403d3
5 changed files with 37 additions and 13 deletions

View File

@ -12,14 +12,14 @@
<span class="small-text">管理平台</span>
</div>
<ul class="header-operations">
<li @click="showHelpDialog" class="pointer">{{langData.help.title}}</li>
<li class="lang-switcher">
<span @click="switchLang('zh-cn')" :class="{ 'is-active': lang == 'zh-cn' }"
class="header-lang pointer">中文</span>
<span style="margin: 0 5px">/</span>
<span @click="switchLang('en-us')" :class="{ 'is-active': lang == 'en-us' }"
class="header-lang pointer">En</span>
</li>
<!--<li @click="showHelpDialog" class="pointer">{{langData.help.title}}</li>-->
<!--<li class="lang-switcher">-->
<!--<span @click="switchLang('zh-cn')" :class="{ 'is-active': lang == 'zh-cn' }"-->
<!--class="header-lang pointer">中文</span>-->
<!--<span style="margin: 0 5px">/</span>-->
<!--<span @click="switchLang('en-us')" :class="{ 'is-active': lang == 'en-us' }"-->
<!--class="header-lang pointer">En</span>-->
<!--</li>-->
<li class="hover">
<el-dropdown @command="handleUserActionCommand">
<div class="header-avatar">

View File

@ -53,7 +53,8 @@
:total="totalCount">
</el-pagination>
</div>
<el-dialog title="导出记录" :visible.sync="dialogExportVisible" class="el-dialog-export">
<el-dialog title="导出记录" :visible.sync="dialogExportVisible" class="el-dialog-export"
width="750px">
<el-form name="dialog" :model="exportModel">
<p><b>导出数据</b></p>
<el-form-item>
@ -170,9 +171,9 @@
width: 90px;
}
}
.el-dialog-export{
width:795px;
}
/*.el-dialog-export{*/
/*width:795px;*/
/*}*/
.el-checkbox-group{
margin-right: -20px;
}

View File

@ -44,7 +44,7 @@
<template slot-scope="scope">
<div class="user-head-name">
<div class="img">
<img :src="scope.row.avatar" alt="">
<img :src="scope.row.avatarUrl" alt="">
</div>
<div class="info" style="width: 200px;overflow: hidden">
<p class="nickname">昵称:{{ scope.row.nickname }}</p>

1
src/utils/cities.json Normal file

File diff suppressed because one or more lines are too long

22
src/utils/t.js Normal file
View File

@ -0,0 +1,22 @@
let all = require('./distpicker')
const fs = require('fs')
var ops = [];
all.forEach(o => {
var op = {code: o.code, name: o.name, children: []};
var _c = o.children;
if (_c.length == 1 && _c[0].name == '市辖区') {
_c = _c[0].children;
}
_c.forEach(o => {
op.children.push({
code: o.code, name: o.name
})
})
ops.push(op);
})
fs.writeFile('cities.json', JSON.stringify(ops), (err) => {
console.log(err ? err : 'success');
});