|
@@ -40,6 +40,7 @@
|
|
<!-- <el-button v-if="hasPermission('sys:post:edit')" type="warning" size="small" icon="el-icon-edit-outline" @click="edit()" :disabled="$refs.projectTable && $refs.projectTable.getCheckboxRecords().length !== 1" plain>修改</el-button>-->
|
|
<!-- <el-button v-if="hasPermission('sys:post:edit')" type="warning" size="small" icon="el-icon-edit-outline" @click="edit()" :disabled="$refs.projectTable && $refs.projectTable.getCheckboxRecords().length !== 1" plain>修改</el-button>-->
|
|
<el-button v-if="hasPermission('sys:project:del')" type="danger" size="small" icon="el-icon-delete" @click="del()" :disabled="$refs.projectTable && $refs.projectTable.getCheckboxRecords().length === 0" plain>删除</el-button>
|
|
<el-button v-if="hasPermission('sys:project:del')" type="danger" size="small" icon="el-icon-delete" @click="del()" :disabled="$refs.projectTable && $refs.projectTable.getCheckboxRecords().length === 0" plain>删除</el-button>
|
|
<el-button v-if="hasPermission('sys:project:import')" type="default" @click="downloadTpl()" size="small">下载模板</el-button>
|
|
<el-button v-if="hasPermission('sys:project:import')" type="default" @click="downloadTpl()" size="small">下载模板</el-button>
|
|
|
|
+ <span style="margin-left:20px">文件上传比例 {{proport}}</span>
|
|
</template>
|
|
</template>
|
|
</vxe-toolbar>
|
|
</vxe-toolbar>
|
|
<div style="height: calc(100% - 80px);">
|
|
<div style="height: calc(100% - 80px);">
|
|
@@ -108,7 +109,11 @@
|
|
{{ $dictUtils.getDictLabel("project_status", scope.row.status, '-') }}
|
|
{{ $dictUtils.getDictLabel("project_status", scope.row.status, '-') }}
|
|
</template>
|
|
</template>
|
|
</vxe-column>
|
|
</vxe-column>
|
|
-
|
|
|
|
|
|
+ <vxe-column width="80px" title="上传状态" field="fileUploadType" >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{ $dictUtils.getDictLabel("file_upload_type", scope.row.fileUploadType, '-') }}
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-column>
|
|
|
|
|
|
|
|
|
|
<!--<vxe-column title="是否可用" field="status" sortable>
|
|
<!--<vxe-column title="是否可用" field="status" sortable>
|
|
@@ -165,7 +170,8 @@
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
orders: []
|
|
orders: []
|
|
},
|
|
},
|
|
- loading: false
|
|
|
|
|
|
+ loading: false,
|
|
|
|
+ proport: ''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
projectService: null,
|
|
projectService: null,
|
|
@@ -184,6 +190,9 @@
|
|
// 获取数据列表
|
|
// 获取数据列表
|
|
refreshList () {
|
|
refreshList () {
|
|
this.loading = true
|
|
this.loading = true
|
|
|
|
+ this.projectService.proportion('1').then(({data}) => {
|
|
|
|
+ this.proport = data
|
|
|
|
+ })
|
|
this.projectService.list({
|
|
this.projectService.list({
|
|
'current': this.tablePage.currentPage,
|
|
'current': this.tablePage.currentPage,
|
|
'size': this.tablePage.pageSize,
|
|
'size': this.tablePage.pageSize,
|