Browse Source

优化UI

master
小久哥 3 years ago
parent
commit
beb44f8aa5
  1. 2
      src/views/farm/area/index.vue
  2. 2
      src/views/farm/project/index.vue
  3. 10
      src/views/farm/task/index.vue
  4. 8
      src/views/system/cpUser/index.vue

2
src/views/farm/area/index.vue

@ -105,7 +105,7 @@ export default {
//
queryParams: {
pageNo: 1,
pageSize: 10,
pageSize: 400,
name: null,
},
//

2
src/views/farm/project/index.vue

@ -136,7 +136,7 @@
</el-select>
</el-form-item>
<el-form-item label="成员选择" prop="members">
<el-select v-model="form.members" multiple placeholder="请选择">
<el-select v-model="form.members" filterable multiple placeholder="请选择">
<el-option v-for="item in membersList" :key="item.id" :label="item.name" :value="item.id"> {{item.name}}
</el-option>
</el-select>

10
src/views/farm/task/index.vue

@ -46,8 +46,8 @@
<!-- 列表 -->
<el-table v-loading="loading" stripe :data="list">
<el-table-column label="任务ID" align="center" prop="id" />
<el-table-column label="任务状态" align="center" prop="status" >
<el-table-column label="任务ID" fixed align="center" prop="id" />
<el-table-column label="任务状态" fixed align="center" prop="status" >
<template slot-scope="scope">
<el-button type="success" v-if="scope.row.status == 0">计划中</el-button>
<el-button type="success" v-if="scope.row.status == 1">准备中</el-button>
@ -58,7 +58,7 @@
<el-button type="danger" v-if="scope.row.status == 6">任务关闭</el-button>
</template>
</el-table-column>
<el-table-column label="项目名" align="center" prop="projectName">
<el-table-column label="项目名" fixed align="center" prop="projectName">
<template slot-scope="scope">
<span>{{scope.row.projectName}}</span>
</template>
@ -148,14 +148,14 @@
</el-select>
</el-form-item>
<el-form-item label="负责人" prop="mainPerson">
<el-select v-model="form.mainPerson" placeholder="请选择">
<el-select v-model="form.mainPerson" filterable placeholder="请选择">
<el-option v-for="item in cpUserList" :key="item.id" :label="item.name" :value="item.id">
{{ item.name }}
</el-option>
</el-select>
</el-form-item>
<el-form-item label="执行人" prop="executorPerson">
<el-select v-model="form.executorPerson" multiple placeholder="请选择">
<el-select v-model="form.executorPerson" filterable multiple placeholder="请选择">
<el-option v-for="item in cpUserList" :key="item.id" :label="item.name" :value="item.id">
{{ item.name }}
</el-option>

8
src/views/system/cpUser/index.vue

@ -54,7 +54,7 @@
<el-table v-loading="loading" :data="list">
<el-table-column label="编号" align="center" prop="id" />
<el-table-column label="姓名" align="center" prop="name" />
<el-table-column label="用户昵称" align="center" prop="nickname" />
<!-- <el-table-column label="用户昵称" align="center" prop="nickname" /> -->
<el-table-column label="头像" align="center" prop="avatar" >
<template slot-scope="scope">
<el-avatar :src="scope.row.avatar"/>
@ -68,10 +68,10 @@
</template>
</el-table-column>
<el-table-column label="部门" align="center" prop="department" />
<!-- <el-table-column label="部门" align="center" prop="department" /> -->
<el-table-column label="职位" align="center" prop="position" />
<el-table-column label="邮件" align="center" prop="email" />
<el-table-column label="企业邮件" align="center" prop="bizMail" />
<!-- <el-table-column label="邮件" align="center" prop="email" /> -->
<!-- <el-table-column label="企业邮件" align="center" prop="bizMail" /> -->
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"

Loading…
Cancel
Save