Commit e056b84f authored by huangjie's avatar huangjie

*

parent f4b85b14
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
prop="address" prop="address"
label="企业母公司" width="268"> label="企业母公司" width="268">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="wordprimary">{{scope.row.superCompany || '--'}}</div> <div class="">{{scope.row.superCompany || '--'}}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :key="keys" <el-table-column :key="keys"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:data="tableData" :data="tableData"
stripe border stripe border
style="width: 100%" style="width: 100%"
:default-sort = "{prop: 'role', order: 'descending'}" :default-sort = "{prop: 'role'}"
> >
<template slot="empty"> <template slot="empty">
<div class="empty"> <div class="empty">
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<el-table <el-table
:data="tableData.rows" :data="tableData.rows"
style="width: 100%" style="width: 100%"
:default-sort = "{prop: 'depth', order: 'descending'}" :default-sort = "{prop: 'depth'}"
> >
<template slot="empty"> <template slot="empty">
<div class="empty"> <div class="empty">
......
...@@ -10,7 +10,8 @@ ...@@ -10,7 +10,8 @@
<div class="btn" @click="handleCurrentChange(1)">搜索</div> <div class="btn" @click="handleCurrentChange(1)">搜索</div>
</div> </div>
<!--<div class="btn btn_primary h32 b2" @click="getUP" v-if="fileDatas.total>0"><div class="img img2"></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" class="upload-demo"
:action="action" :action="action"
:on-change="handleFileListChange" :on-change="handleFileListChange"
...@@ -20,9 +21,9 @@ ...@@ -20,9 +21,9 @@
accept=".word,.pdf.excel,.xlsx,.doc,.docx" accept=".word,.pdf.excel,.xlsx,.doc,.docx"
:headers="headers" :headers="headers"
:show-file-list="false" :show-file-list="false"
:on-success="onSuccess"> :on-success="onSuccess"
<div class="btn btn_primary h32 b2" v-if="fileDatas.total>0"><div class="img img2"></div>上传</div> :key='keys'>上传</el-upload></div>
</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="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"> <div class="uploadbox" v-if="isupload">
...@@ -60,7 +61,7 @@ ...@@ -60,7 +61,7 @@
<el-table <el-table
:data="fileDatas.rows" :data="fileDatas.rows"
style="width: 100%" style="width: 100%"
:default-sort = "{prop: 'creatTime', order: 'descending'}" :default-sort = "{prop: 'creatTime'}"
> >
<template slot="empty"> <template slot="empty">
<div class="empty"> <div class="empty">
...@@ -179,6 +180,7 @@ ...@@ -179,6 +180,7 @@
filename:'', filename:'',
ondel:"", ondel:"",
isDisabled:this.isDisabled, isDisabled:this.isDisabled,
keys:1,
} }
}, },
created(){ created(){
...@@ -261,6 +263,7 @@ ...@@ -261,6 +263,7 @@
_this.getList() _this.getList()
_this.$message.success('上传成功!') _this.$message.success('上传成功!')
_this.isupload = false _this.isupload = false
_this.keys++;
},3000) },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