| | |
| | | <template slot-scope="scope"> |
| | | <span style="color:blue;cursor:pointer" |
| | | @click="downloadHandle(scope.row.fileurl)" |
| | | >{{ scope.row.fileurl }}</span> |
| | | >{{ uploadUrl + scope.row.fileurl }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="版本号" prop="version" align="center" sortable="custom"> |
| | |
| | | data() { |
| | | return { |
| | | baseUrl: process.env.IMG_API + 'contract/', |
| | | uploadUrl: process.env.IMG_API, |
| | | pageSize: 10, |
| | | recordTotal: 0, |
| | | currentPage: 1, |
| | |
| | | this.currentPage = 1 |
| | | this.getAppFileListList() |
| | | }, |
| | | |
| | | handleCurrentChange: function (val) { |
| | | this.currentPage = val |
| | | this.getAppFileListList() |
| | | }, |
| | | |
| | | getBtnPermission(btnType) { |
| | | return checkBtnPermission(this.userType, btnType) |
| | | }, |
| | | |
| | | sortChange(param){ |
| | | this.sort = param.prop; |
| | | this.order = param.order; |
| | | this.getAppFileListList(); |
| | | }, |
| | | |
| | | showProductHandle(){ |
| | | this.productDialogFormVisible = true; |
| | | }, |
| | | |
| | | showEnterprise(){ |
| | | this.enterpriseDialogFormVisible = true; |
| | | }, |
| | | |
| | | downloadHandle(fileurl){ |
| | | window.open(fileurl, '_blank') |
| | | ; |
| | | window.open(this.uploadUrl + fileurl, '_blank'); |
| | | }, |
| | | |
| | | } |