Commit 80f449b2 authored by renjintao's avatar renjintao

getgroupUser

parent a74751f2
......@@ -1912,7 +1912,7 @@ export default {
groupName: '项目组名称',
groupId: '项目组Id',
authority:'权限',
wHour:'可用工日',
wHourPD:'可用工时/天'
whour:'可用工日',
whourpd:'可用工时/天'
}
}
......@@ -13,13 +13,13 @@
<state v-if="edit != index" code="project.group.status" :value="row.status" type="text"></state>
<Dictionary v-else code="project.group.status" v-model="cur.status"></Dictionary>
</template>
<template slot-scope="{ row, index }" slot="wHour">
<span v-if="edit != index" v-text="row.wHour"></span>
<InputNumber v-else type="text" v-model.trim="cur.wHour" />
<template slot-scope="{ row, index }" slot="whour">
<span v-if="edit != index" v-text="row.whour"></span>
<InputNumber v-else type="text" v-model.trim="cur.whour" />
</template>
<template slot-scope="{ row, index }" slot="wHourPD">
<span v-if="edit != index" v-text="row.wHourPD"></span>
<InputNumber v-else type="text" v-model.trim="cur.wHourPD" />
<template slot-scope="{ row, index }" slot="whourpd">
<span v-if="edit != index" v-text="row.whourpd"></span>
<InputNumber v-else type="text" v-model.trim="cur.whourpd" />
</template>
<template slot-scope="{ row, index }" slot="authority">
<state v-if="edit != index" code="project.group.authority" :value="row.authority" type="text"></state>
......@@ -72,8 +72,8 @@ export default {
userId: null,
role: null,
status: null,
wHour: 14,
wHourPD: 7.0,
whour: 14,
whourpd: 7.0,
authority: null,
note: ''
},
......@@ -101,17 +101,18 @@ export default {
slot: 'status'
},
{
key: "wHour",
title: this.l("wHour"),
align: "center",
slot: 'wHour'
key: "whour",
title: this.l("whour"),
align: "right",
width: 200,
slot: 'whour'
},
{
key: "wHourPD",
title: this.l("wHourPD"),
key: "whourpd",
title: this.l("whourpd"),
align: "right",
slot: 'wHourPD'
width: 200,
slot: 'whourpd'
},
{
key: "authority",
......@@ -203,8 +204,8 @@ export default {
userId: null,
role: null,
status: null,
wHour: 14,
wHourPD: 7.0,
whour: 14,
whourpd: 7.0,
authority: null,
note: ''
};
......@@ -240,8 +241,8 @@ export default {
this.cur.role = row.role
this.cur.status = row.status
this.cur.authority = row.authority
this.cur.wHour = row.wHour
this.cur.wHourPD = row.wHourPD
this.cur.whour = row.whour ? row.whour : 14
this.cur.whourpd = row.whourpd ? row.whourpd : 7.0
this.cur.note = row.note
this.authorityCur = row.authority
this.edit = index
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment