Commit e056b84f authored by huangjie's avatar huangjie

*

parent f4b85b14
......@@ -151,7 +151,7 @@
prop="address"
label="企业母公司" width="268">
<template slot-scope="scope">
<div class="wordprimary">{{scope.row.superCompany || '--'}}</div>
<div class="">{{scope.row.superCompany || '--'}}</div>
</template>
</el-table-column>
<el-table-column :key="keys"
......
......@@ -7,7 +7,7 @@
:data="tableData"
stripe border
style="width: 100%"
:default-sort = "{prop: 'role', order: 'descending'}"
:default-sort = "{prop: 'role'}"
>
<template slot="empty">
<div class="empty">
......
......@@ -17,7 +17,7 @@
<el-table
:data="tableData.rows"
style="width: 100%"
:default-sort = "{prop: 'depth', order: 'descending'}"
:default-sort = "{prop: 'depth'}"
>
<template slot="empty">
<div class="empty">
......
......@@ -10,7 +10,8 @@
<div class="btn" @click="handleCurrentChange(1)">搜索</div>
</div>
<!--<div class="btn btn_primary h32 b2" @click="getUP" v-if="fileDatas.total>0"><div class="img img2"></div>上传</div>-->
<el-upload
<div class="btn btn_primary h32 b2" v-if="fileDatas.total>0"><div class="img img2"></div><el-upload
class="upload-demo"
:action="action"
:on-change="handleFileListChange"
......@@ -20,9 +21,9 @@
accept=".word,.pdf.excel,.xlsx,.doc,.docx"
:headers="headers"
:show-file-list="false"
:on-success="onSuccess">
<div class="btn btn_primary h32 b2" v-if="fileDatas.total>0"><div class="img img2"></div>上传</div>
</el-upload>
:on-success="onSuccess"
:key='keys'>上传</el-upload></div>
</div>
<div class="filepath" v-if="filename"><font @click="getall">全部</font> / <span> <img class="img" src="@/assets/images/folder.png">{{filename}}</span></div>
<div class="uploadbox" v-if="isupload">
......@@ -60,7 +61,7 @@
<el-table
:data="fileDatas.rows"
style="width: 100%"
:default-sort = "{prop: 'creatTime', order: 'descending'}"
:default-sort = "{prop: 'creatTime'}"
>
<template slot="empty">
<div class="empty">
......@@ -179,6 +180,7 @@
filename:'',
ondel:"",
isDisabled:this.isDisabled,
keys:1,
}
},
created(){
......@@ -261,6 +263,7 @@
_this.getList()
_this.$message.success('上传成功!')
_this.isupload = false
_this.keys++;
},3000)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment