项目列表

dev_202304
yujialong 2 years ago
parent d093a008f9
commit 5d1f3e98b1
  1. 9
      src/views/serve/projectList.vue

@ -14,7 +14,7 @@
<div> <div>
<el-form label-width="80px"> <el-form label-width="80px">
<el-col :span="4"> <el-col :span="4">
<el-form-item label="创建人"> <el-form-item label="来源">
<el-select v-model="queryData.founder" clearable placeholder="请选择创建人" <el-select v-model="queryData.founder" clearable placeholder="请选择创建人"
@change="initData"> @change="initData">
<el-option v-for="(item,index) in founderList" :key="index" :label="item.label" <el-option v-for="(item,index) in founderList" :key="index" :label="item.label"
@ -71,11 +71,12 @@
</el-table-column> </el-table-column>
<el-table-column prop="projectName" label="实验项目名称" min-width="400" align="center"></el-table-column> <el-table-column prop="projectName" label="实验项目名称" min-width="400" align="center"></el-table-column>
<el-table-column v-if='queryData.founder == 1' prop="schoolName" label="学校名字" min-width="100" align="center"></el-table-column> <el-table-column v-if='queryData.founder == 1' prop="schoolName" label="学校名字" min-width="100" align="center"></el-table-column>
<el-table-column prop="founder" label="创建人" min-width="150" align="center"> <el-table-column prop="founder" label="来源" min-width="150" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ founderKeys[scope.row.founder] }} {{ founderKeys[scope.row.founder] }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="creator" label="创建人" min-width="140" align="center"></el-table-column>
<el-table-column label="权限" min-width="120" align="center"> <el-table-column label="权限" min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ permissionsKeys[scope.row.permissions] }} {{ permissionsKeys[scope.row.permissions] }}
@ -175,12 +176,12 @@ export default {
label: '系统' label: '系统'
}, { }, {
value: 1, value: 1,
label: '老师' label: '院校'
} }
], ],
founderKeys: { founderKeys: {
0: '系统', 0: '系统',
1: '老师' 1: '院校'
}, },
stateList: [{ stateList: [{
value: '', value: '',

Loading…
Cancel
Save