| | |
| | | <template /> |
| | | <template> |
| | | <div> |
| | | <div class="body" :style="{height:mainHeight+'px'}"> |
| | | <div style="display: flex"> |
| | | <!-- background:rgba(248,248,250,1);--> |
| | | <div style="width: 300px;margin: 10px 10px 0 0;background: #fff"> |
| | | |
| | | <div style="margin: 20px 10px 0 10px;display: flex;justify-content: space-between;"> |
| | | <div style="display: flex;"> |
| | | <div |
| | | style="width: 5px;height: 100%;border-radius: 5px;" |
| | | :style="{background:$store.state.settings.theme}" |
| | | /> |
| | | <div style="margin-left: 8px;">ç»ç»æ¶æ</div> |
| | | </div> |
| | | |
| | | <!-- <div style="margin-right:10px">--> |
| | | <!-- <i class="el-icon-plus" style="cursor: pointer;color: #999" />--> |
| | | <!-- </div>--> |
| | | |
| | | </div> |
| | | |
| | | <el-tree |
| | | ref="treeLeftRef" |
| | | style="padding: 10px;overflow: auto;" |
| | | :style="{height:(tableHeight+140)+'px'}" |
| | | :data="treeLeft" |
| | | node-key="torg_code" |
| | | highlight-current |
| | | :props="defaultPropsLeft" |
| | | :default-expand-all="true" |
| | | :expand-on-click-node="false" |
| | | @node-click="nodeClick" |
| | | /> |
| | | |
| | | </div> |
| | | |
| | | <div style="width: calc(100% - 300px)"> |
| | | <div class="bodyTopButtonGroup"> |
| | | <el-button v-waves type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">æ°å¢</el-button> |
| | | </div> |
| | | |
| | | <div class="bodyTopFormGroup"> |
| | | <el-form |
| | | ref="form" |
| | | :model="form" |
| | | label-width="100px" |
| | | inline |
| | | style="display: flex;" |
| | | > |
| | | <div class="elForm"> |
| | | <el-form-item label="ç¨æ·ç¼ç " style=" display: flex;"> |
| | | <el-input v-model="form.usercode" placeholder="请è¾å
¥" style="width: 200px" /> |
| | | </el-form-item> |
| | | <el-form-item label="ç¨æ·åç§°" style=" display: flex;"> |
| | | <el-input v-model="form.username" placeholder="请è¾å
¥" style="width: 200px" /> |
| | | </el-form-item> |
| | | </div> |
| | | <div |
| | | class="bodySearchReset" |
| | | :style="{marginLeft:$store.state.app.sidebar.opened? $store.state.settings.menuIsHorizontal?'15%':'3%':'10%'}" |
| | | > |
| | | <el-button v-waves type="primary" icon="el-icon-search" @click="getUserData">æ¥è¯¢</el-button> |
| | | <el-button v-waves type="info" icon="el-icon-refresh" @click="reset">éç½®</el-button> |
| | | </div> |
| | | </el-form> |
| | | |
| | | </div> |
| | | |
| | | <div class="elTableDiv"> |
| | | <el-table |
| | | ref="tableDataRef" |
| | | class="tableFixed" |
| | | :data="tableData" |
| | | :height="tableHeight+'px'" |
| | | border |
| | | row-class-name="custom-row" |
| | | :style="{width: 100+'%',height:tableHeight+'px',}" |
| | | highlight-current-row |
| | | :header-cell-style="this.$headerCellStyle" |
| | | :cell-style="this.$cellStyle" |
| | | @sort-change="sortChange" |
| | | > |
| | | <el-table-column |
| | | prop="rowNum" |
| | | width="50" |
| | | fixed |
| | | label="åºå·" |
| | | /> |
| | | <el-table-column |
| | | prop="usercode" |
| | | label="ç¨æ·ç¼ç " |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | | prop="username" |
| | | label="ç¨æ·åç§°" |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | | prop="storg_name" |
| | | label="æå±ç»ç»" |
| | | sortable="custom" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.storg_name">{{ row.storg_name }}</div> |
| | | <div v-else>/</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="status" |
| | | label="ç¶æ" |
| | | sortable="custom" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <el-tag v-if="row.status==='Y'" size="small" type="success">æ£å¸¸</el-tag> |
| | | <el-tag v-if="row.status==='N'" size="small" type="danger">åç¨</el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="email" |
| | | label="é®ç®±" |
| | | sortable="custom" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | {{ row.email ? row.email : '/' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="mobile" |
| | | label="å·ç " |
| | | sortable="custom" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | {{ row.mobile ? row.mobile : '/' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="postname" |
| | | label="å²ä½" |
| | | sortable="custom" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | {{ row.postname ? row.postname : '/' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="rolename" |
| | | label="è§è²" |
| | | sortable="custom" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | {{ row.rolename ? row.rolename : '/' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="lm_user" |
| | | label="å建人å" |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | | prop="lm_date" |
| | | label="å建æ¶é´" |
| | | width="160" |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | | label="æä½" |
| | | width="120" |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div class="operationClass"> |
| | | <el-tooltip class="item" effect="dark" content="ç¼è¾" placement="top"> |
| | | <i |
| | | v-if="row.usercode!=='9999'" |
| | | class="el-icon-edit-outline" |
| | | :style="{color:$store.state.settings.theme}" |
| | | @click="edit('edit',row)" |
| | | /> |
| | | </el-tooltip> |
| | | <el-tooltip v-del-tab-index class="item" effect="dark" content="å é¤" placement="top"> |
| | | <i |
| | | v-if="row.usercode!=='9999'" |
| | | class="el-icon-delete" |
| | | :style="{color:$store.state.settings.theme}" |
| | | @click="del(row)" |
| | | /> |
| | | </el-tooltip> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | <!--å页--> |
| | | <pagination |
| | | :total="total" |
| | | :page.sync="form.page" |
| | | :limit.sync="form.rows" |
| | | align="right" |
| | | layout="total,prev, pager, next,sizes,jumper" |
| | | popper-class="select_bottom" |
| | | @pagination="getUserData" |
| | | /> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | <el-dialog |
| | | v-el-drag-dialog |
| | | :title="operation==='add'?'æ°å¢':'ç¼è¾'" |
| | | :visible.sync="dialogVisible" |
| | | width="800px" |
| | | :close-on-click-modal="false" |
| | | top="15vh" |
| | | @closed="handleClose" |
| | | @close="handleClose" |
| | | > |
| | | <el-form ref="dialogForm" inline :rules="dialogFormRules" :model="dialogForm" label-width="80px"> |
| | | <el-form-item label="ç¨æ·ç¼ç " prop="usercode"> |
| | | <el-input v-model="dialogForm.usercode" :disabled="operation!=='add'" style="width: 200px" /> |
| | | </el-form-item> |
| | | <el-form-item label="ç¨æ·åç§°" prop="username"> |
| | | <el-input v-model="dialogForm.username" style="width: 200px" /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="ç¨æ·å¯ç " prop="password"> |
| | | <el-input v-model="dialogForm.password" style="width: 200px" /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="æå±ç»ç»" prop="storg_code"> |
| | | <el-cascader |
| | | ref="cascader" |
| | | v-model="dialogForm.storg_code" |
| | | :options="cascaderOptions" |
| | | filterable |
| | | :props="defaultProps" |
| | | :show-all-levels="false" |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="ææºå·" prop="mobile"> |
| | | <el-input v-model="dialogForm.mobile" style="width: 200px" /> |
| | | </el-form-item> |
| | | <el-form-item label="é®ç®±" prop="email"> |
| | | <el-input v-model="dialogForm.email" style="width: 200px" /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item required label="ç¨æ·ç¶æ"> |
| | | <el-radio-group v-model="dialogForm.status" style="width: 200px;"> |
| | | <el-radio label="Y">æ£å¸¸</el-radio> |
| | | <el-radio label="N">åç¨</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | |
| | | <el-form-item prop="post_code" label="å²ä½"> |
| | | <el-select |
| | | v-model="dialogForm.post_code" |
| | | style="width:490px" |
| | | placeholder="è¯·éæ©" |
| | | multiple |
| | | filterable |
| | | clearable |
| | | collapse-tags |
| | | :popper-append-to-body="false" |
| | | > |
| | | <el-option |
| | | v-for="item in postArr" |
| | | :key="item.postcode" |
| | | :label="item.postname" |
| | | :value="item.postcode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-form-item prop="role_code" label="è§è²"> |
| | | <el-select |
| | | v-model="dialogForm.role_code" |
| | | style="width:490px" |
| | | multiple |
| | | filterable |
| | | clearable |
| | | collapse-tags |
| | | placeholder="è¯·éæ©" |
| | | :popper-append-to-body="false" |
| | | > |
| | | <el-option |
| | | v-for="item in roleArr" |
| | | :key="item.rolecode" |
| | | :label="item.rolename" |
| | | :value="item.rolecode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item prop="group_code" label="çç»"> |
| | | <el-select |
| | | v-model="dialogForm.group_code" |
| | | style="width: 490px" |
| | | placeholder="è¯·éæ©" |
| | | :popper-append-to-body="false" |
| | | multiple |
| | | filterable |
| | | collapse-tags |
| | | clearable |
| | | > |
| | | <el-option |
| | | v-for="item in groupArr" |
| | | :key="item.usergroupcode" |
| | | :label="item.usergroupname" |
| | | :value="item.usergroupcode" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | </el-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <div class="footerButton"> |
| | | <el-button v-waves @click="dialogVisibleCancel">å æ¶</el-button> |
| | | <el-button v-waves type="primary" @click="dialogVisibleConfirm">ç¡® å®</el-button> |
| | | </div> |
| | | </span> |
| | | </el-dialog> |
| | | |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import Pagination from '@/components/Pagination' |
| | | import { |
| | | AddUpdateUserSave, |
| | | DeleteUserSave, UserData |
| | | } from '@/api/basicSettings' |
| | | import { validateCode } from '@/utils/global' |
| | | import elDragDialog from '@/directive/el-drag-dialog' |
| | | import waves from '@/directive/waves' |
| | | import arrayToTree from 'array-to-tree' |
| | | import { GroupsPermissions, PostPermissions, PrentOrganization, RolePermissions } from '@/api/GeneralBasicData' |
| | | |
| | | export default { |
| | | name: 'PersonList' |
| | | name: 'Zzjg', |
| | | components: { |
| | | Pagination |
| | | }, |
| | | directives: { elDragDialog, waves }, |
| | | data() { |
| | | const validateMobile = (rule, value, callback) => { |
| | | if (!value) { |
| | | callback() |
| | | // return callback(new Error('请è¾å
¥çµè¯å·ç ')) |
| | | } else { |
| | | const mobile = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/ // é¿å· |
| | | const mobile2 = /^[0-9]{6}$/ // çå· |
| | | if (mobile.test(value) || mobile2.test(value)) { |
| | | callback() |
| | | // return callback(new Error('çµè¯å·ç ä¸ç¬¦åè§å')) |
| | | } else { |
| | | return callback(new Error('çµè¯å·ç ä¸ç¬¦åè§å')) |
| | | // callback() |
| | | } |
| | | } |
| | | } |
| | | const validateEmail = (rule, value, callback) => { |
| | | if (!value) { |
| | | callback() |
| | | // return callback(new Error('请è¾å
¥çµåé®ç®±')) |
| | | } else { |
| | | const email = /^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(.[a-zA-Z0-9_-]+)+$/ |
| | | if (email.test(value)) { |
| | | callback() |
| | | } else { |
| | | return callback(new Error('çµåé®ç®±ä¸ç¬¦åè§å')) |
| | | } |
| | | } |
| | | } |
| | | return { |
| | | mainHeight: 0, |
| | | tableHeight: 0, |
| | | form: { |
| | | usercode: '', |
| | | username: '', |
| | | storgcode: '', // ç»ç»ç¼ç |
| | | prop: 'lm_date', // æåºå段 |
| | | order: 'desc', // æåºå段 |
| | | page: 1, // 第å 页 |
| | | rows: 20 // æ¯é¡µå¤å°æ¡ |
| | | }, |
| | | total: 10, |
| | | tableData: [], |
| | | dialogVisible: false, |
| | | dialogForm: { |
| | | usercode: '', // ç¨æ·ç¼ç |
| | | username: '', // ç¨æ·åç§° |
| | | post_code: [], // å²ä½ |
| | | role_code: [], // è§è² |
| | | group_code: [], // çç» |
| | | password: '123456', // å¯ç |
| | | storg_code: '', // æå±ç»ç» |
| | | mobile: '', // å·ç |
| | | email: '', // é®ç®± |
| | | status: 'Y'// ç¶æ |
| | | }, |
| | | operation: '', |
| | | dialogFormRules: { |
| | | usercode: [ |
| | | { required: true, validator: validateCode, trigger: ['blur', 'change'] } |
| | | ], |
| | | username: [ |
| | | { required: true, message: '请è¾å
¥ç»ç»åç§°', trigger: ['blur', 'change'] } |
| | | ], |
| | | password: [ |
| | | { required: true, message: '请è¾å
¥ç¨æ·å¯ç ', trigger: ['blur', 'change'] } |
| | | ], |
| | | mobile: [ |
| | | { required: false, validator: validateMobile, trigger: ['blur', 'change'] } |
| | | ], |
| | | email: [ |
| | | { required: false, validator: validateEmail, trigger: ['blur', 'change'] } |
| | | ], |
| | | storg_code: [ |
| | | { required: true, message: 'è¯·éæ©æå±ç»ç»', trigger: ['blur', 'change'] } |
| | | ] |
| | | }, |
| | | defaultProps: { |
| | | checkStrictly: true, |
| | | expandTrigger: 'hover', |
| | | value: 'torg_code', |
| | | label: 'torg_name' |
| | | }, |
| | | Options: [], |
| | | cascaderOptions: [], |
| | | |
| | | postArr: [], |
| | | roleArr: [], |
| | | groupArr: [], |
| | | |
| | | defaultPropsLeft: { |
| | | children: 'children', |
| | | label: 'torg_name' |
| | | }, |
| | | treeLeft: [] |
| | | |
| | | } |
| | | }, |
| | | created() { |
| | | this.getUserData() |
| | | }, |
| | | mounted() { |
| | | window.addEventListener('resize', this.getHeight) |
| | | this.getHeight() |
| | | |
| | | this.getPrentOrganization() |
| | | this.getAllSelectData() |
| | | }, |
| | | methods: { |
| | | // ç»ç»æ¶æå¤§å表æ¥è¯¢ |
| | | async getUserData() { |
| | | const res = await UserData(this.form) |
| | | this.tableData = res.data |
| | | this.total = res.count |
| | | }, |
| | | // ç»ç»æ¶æçº§èéæ©å¨ |
| | | async getPrentOrganization() { |
| | | const { data: res } = await PrentOrganization() |
| | | this.Options = res |
| | | this.cascaderOptions = arrayToTree(res, { |
| | | parentProperty: 'parent_id', |
| | | customID: 'torg_code', |
| | | childrenProperty: 'children' |
| | | }) |
| | | |
| | | this.treeLeft = this.cascaderOptions |
| | | }, |
| | | // å²ä½ è§è² çç» |
| | | async getAllSelectData() { |
| | | const { data: res1 } = await PostPermissions() |
| | | this.postArr = res1 |
| | | |
| | | const { data: res2 } = await RolePermissions() |
| | | this.roleArr = res2 |
| | | |
| | | const { data: res3 } = await GroupsPermissions() |
| | | this.groupArr = res3 |
| | | }, |
| | | |
| | | // æåºæ¹åæ¶ |
| | | sortChange({ column, prop, order }) { |
| | | if (order === 'descending') { |
| | | order = 'desc' |
| | | } else if (order === 'ascending') { |
| | | order = 'asc' |
| | | } else { |
| | | order = 'desc' |
| | | } |
| | | this.form.order = order |
| | | this.form.prop = prop |
| | | this.getUserData() |
| | | }, |
| | | nodeClick(obj, Node, VueComponent) { |
| | | this.form.storgcode = obj.torg_code |
| | | this.getUserData() |
| | | }, |
| | | // éç½® |
| | | reset() { |
| | | this.form.usercode = '' |
| | | this.form.username = '' |
| | | this.form.storgcode = '' |
| | | this.$refs.treeLeftRef.setCurrentKey(null) |
| | | this.getUserData() |
| | | }, |
| | | // æ°å¢æé® |
| | | add(operation) { |
| | | this.operation = operation |
| | | this.dialogVisible = true |
| | | this.dialogForm.OperType = 'Add' |
| | | }, |
| | | // ä¿®æ¹æé® |
| | | async edit(operation, row) { |
| | | this.operation = operation |
| | | this.dialogVisible = true |
| | | this.dialogForm.OperType = 'Update' |
| | | |
| | | // this.cascaderOptions = this.filterChildren(this.cascaderOptions, row.storg_code) |
| | | this.$nextTick(() => { |
| | | this.dialogForm.usercode = row.usercode |
| | | this.dialogForm.username = row.username |
| | | this.dialogForm.password = row.password |
| | | this.dialogForm.mobile = row.mobile |
| | | this.dialogForm.email = row.email |
| | | this.dialogForm.status = row.status |
| | | this.dialogForm.storg_code = this.findParent([], row.storg_code, this.cascaderOptions).reverse() |
| | | |
| | | this.dialogForm.post_code = row.post_code ? row.post_code.split(',') : [] |
| | | this.dialogForm.role_code = row.role_code ? row.role_code.split(',') : [] |
| | | this.dialogForm.group_code = row.group_code ? row.group_code.split(',') : [] |
| | | }) |
| | | }, |
| | | filterChildren(treeData, code) { |
| | | treeData.forEach(item => { |
| | | if (code.split(',').includes(item.torg_code)) { |
| | | item.disabled = true |
| | | if (item.children && item.children.length > 0) { |
| | | this.filterChildren(item.children, item.children.map(it => it.torg_code).join(',')) |
| | | } |
| | | } else { |
| | | if (item.children && item.children.length > 0) { |
| | | this.filterChildren(item.children, code) |
| | | } |
| | | } |
| | | }) |
| | | return treeData |
| | | }, |
| | | // parents:ç¨äºè¿åçæ°ç»ï¼childNode:è¦æ¥è¯¢çèç¹ï¼treeDataï¼jsonæ å½¢æ°æ® |
| | | findParent(parents, childNode, treeData) { |
| | | // console.log(parents, childNode, treeData, 2) |
| | | |
| | | for (let i = 0; i < treeData.length; i++) { |
| | | // ç¶èç¹æ¥è¯¢æ¡ä»¶ |
| | | if (treeData[i].torg_code === childNode) { |
| | | // 妿æ¾å°ç»æ,ä¿åå½åèç¹ |
| | | parents.push(treeData[i].torg_code) |
| | | // ç¨å½åèç¹åå»åæ°æ®æ¥æ¾å½åèç¹çç¶èç¹ |
| | | this.findParent(parents, treeData[i].parent_id, this.cascaderOptions) |
| | | break |
| | | } else { |
| | | if (treeData[i].children instanceof Array) { |
| | | // 没æ¾å°ï¼éå该èç¹çåèç¹ |
| | | this.findParent(parents, childNode, treeData[i].children) |
| | | } |
| | | } |
| | | } |
| | | return parents |
| | | }, |
| | | // å é¤æé® |
| | | async del(row) { |
| | | this.$confirm('æ¯å¦ç¡®è®¤å é¤?', 'æç¤º', { |
| | | confirmButtonText: 'ç¡®å®', |
| | | cancelButtonText: 'åæ¶', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | DeleteUserSave({ usercode: row.usercode }).then(res => { |
| | | if (res.code === '200') { |
| | | this.$notify.success('å 餿å!') |
| | | if (this.form.page > 1 && this.tableData.length === 1) { |
| | | this.form.page-- |
| | | } |
| | | this.getUserData() |
| | | } |
| | | }) |
| | | }).catch(() => { |
| | | this.$notify.info('已忶å é¤') |
| | | }) |
| | | }, |
| | | // å¯¹è¯æ¡å
³éäºä»¶ |
| | | handleClose() { |
| | | this.dialogForm.usercode = '' |
| | | this.dialogForm.username = '' |
| | | this.dialogForm.storg_code = '' |
| | | this.dialogForm.status = 'Y' |
| | | |
| | | this.dialogForm.post_code = [] |
| | | this.dialogForm.role_code = [] |
| | | this.dialogForm.group_code = [] |
| | | this.dialogForm.password = '123456' |
| | | this.dialogForm.mobile = '' |
| | | this.dialogForm.email = '' |
| | | |
| | | this.$refs.cascader.checkedValue = '' |
| | | this.$refs.dialogForm.clearValidate() |
| | | }, |
| | | // å¯¹è¯æ¡åæ¶ |
| | | dialogVisibleCancel() { |
| | | this.dialogVisible = false |
| | | }, |
| | | // å¯¹è¯æ¡ç¡®è®¤ |
| | | dialogVisibleConfirm() { |
| | | this.$refs.dialogForm.validate(valid => { |
| | | if (valid) { |
| | | this.dialogForm.group_code = this.dialogForm.group_code.join(',') |
| | | this.dialogForm.post_code = this.dialogForm.post_code.join(',') |
| | | this.dialogForm.role_code = this.dialogForm.role_code.join(',') |
| | | this.dialogForm.storg_code = this.dialogForm.storg_code[this.dialogForm.storg_code.length - 1] |
| | | |
| | | console.log(JSON.parse(JSON.stringify(this.dialogForm))) |
| | | AddUpdateUserSave(this.dialogForm).then(res => { |
| | | if (res.code === '200') { |
| | | this.$notify.success(this.operation === 'add' ? 'æ·»å æåï¼' : 'ä¿®æ¹æåï¼') |
| | | this.dialogVisible = false |
| | | this.getUserData() |
| | | } else { |
| | | this.$notify.error(this.operation === 'add' ? 'æ·»å 失败ï¼' : 'ä¿®æ¹å¤±è´¥ï¼') |
| | | } |
| | | }) |
| | | } |
| | | }) |
| | | }, |
| | | // è·å页é¢é«åº¦ |
| | | getHeight() { |
| | | this.$nextTick(() => { |
| | | this.mainHeight = window.innerHeight - 85 |
| | | this.tableHeight = this.mainHeight - 200 |
| | | this.$refs.tableDataRef.doLayout() |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | |
| | | </style> |