Compare commits

...

2 Commits

  1. 20
      src/views/allot/list.vue
  2. 2
      src/views/bjd/dt_list.vue
  3. 2
      src/views/bjd/jj_list.vue
  4. 2
      src/views/bjd/qy_list.vue

20
src/views/allot/list.vue

@ -148,6 +148,7 @@
sortable sortable
/> />
<el-table-column <el-table-column
:formatter="formatter.getChineseName"
align="center" align="center"
label="受理人" label="受理人"
prop="shouliren" prop="shouliren"
@ -528,12 +529,8 @@ export default {
shigongdanweiDianhua: this.multipleSelection[0].shigongdanweiDianhua, shigongdanweiDianhua: this.multipleSelection[0].shigongdanweiDianhua,
xiadariqi: this.formatter.dateFormat('YYYY-MM-dd') xiadariqi: this.formatter.dateFormat('YYYY-MM-dd')
} }
if ( if (this.multipleSelection[0].shebeileixing) {
this.multipleSelection[0].shebeileixing !== undefined && this.title = '任务分配(' + this.multipleSelection[0].shebeileixing + ')'
this.multipleSelection[0].shebeileixing !== null
) {
this.title =
'任务分配(' + this.multipleSelection[0].shebeileixing + ')'
} }
this.dialogVisible = true this.dialogVisible = true
this.$nextTick(() => { this.$nextTick(() => {
@ -736,7 +733,9 @@ export default {
}, },
selectDepartmentUser(val) { selectDepartmentUser(val) {
this.renlingren = [] this.renlingren = []
this.renwudan.teamId = undefined
this.getTeamList(val) this.getTeamList(val)
this.getUserList(val)
}, },
getUserList(val) { getUserList(val) {
this.api({ this.api({
@ -746,7 +745,12 @@ export default {
departmentId: val departmentId: val
} }
}).then((data) => { }).then((data) => {
this.users = data this.users = data.map(row => {
return {
id: row.id,
name: row.nickname
}
})
}) })
}, },
openZhongjian() { openZhongjian() {
@ -928,7 +932,7 @@ export default {
}) })
}, },
selectTeamUser(val) { selectTeamUser(val) {
console.log(this.teams) this.renlingren = []
const _this = this const _this = this
for (let i = 0; i < this.teams.length; i++) { for (let i = 0; i < this.teams.length; i++) {
if (this.teams[i].id === val) { if (this.teams[i].id === val) {

2
src/views/bjd/dt_list.vue

@ -132,7 +132,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="设备台数" prop="totalNum" min-width="50" /> <el-table-column align="center" label="设备台数" prop="totalNum" min-width="50" />
<el-table-column align="center" label="受理人员" prop="shouliren" min-width="50" /> <el-table-column :formatter="formatter.getChineseName" align="center" label="受理人员" prop="shouliren" min-width="50" />
<el-table-column align="center" label="操作" min-width="60" fixed="right"> <el-table-column align="center" label="操作" min-width="60" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" size="small" circle icon="el-icon-edit" title="编辑" @click="editBjd(scope.$index)" /> <el-button type="primary" size="small" circle icon="el-icon-edit" title="编辑" @click="editBjd(scope.$index)" />

2
src/views/bjd/jj_list.vue

@ -145,7 +145,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="设备台数" prop="totalNum" min-width="50" /> <el-table-column align="center" label="设备台数" prop="totalNum" min-width="50" />
<el-table-column align="center" label="受理人员" prop="shouliren" min-width="50" /> <el-table-column :formatter="formatter.getChineseName" align="center" label="受理人员" prop="shouliren" min-width="50" />
<el-table-column align="center" label="报检渠道" prop="dataSource" min-width="50"> <el-table-column align="center" label="报检渠道" prop="dataSource" min-width="50">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="scope.row.dataSource===0" type="info"> <el-tag v-if="scope.row.dataSource===0" type="info">

2
src/views/bjd/qy_list.vue

@ -114,7 +114,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="设备台数" prop="totalNum" min-width="50" /> <el-table-column align="center" label="设备台数" prop="totalNum" min-width="50" />
<el-table-column align="center" label="受理人员" prop="shouliren" min-width="50" /> <el-table-column :formatter="formatter.getChineseName" align="center" label="受理人员" prop="shouliren" min-width="50" />
<el-table-column align="center" label="操作" min-width="60"> <el-table-column align="center" label="操作" min-width="60">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" size="mini" circle icon="el-icon-edit" title="编辑" @click="editBjd(scope.$index)" /> <el-button type="primary" size="mini" circle icon="el-icon-edit" title="编辑" @click="editBjd(scope.$index)" />

Loading…
Cancel
Save