Commit 80f449b2 authored by renjintao's avatar renjintao

getgroupUser

parent a74751f2
...@@ -1912,7 +1912,7 @@ export default { ...@@ -1912,7 +1912,7 @@ export default {
groupName: '项目组名称', groupName: '项目组名称',
groupId: '项目组Id', groupId: '项目组Id',
authority:'权限', authority:'权限',
wHour:'可用工日', whour:'可用工日',
wHourPD:'可用工时/天' whourpd:'可用工时/天'
} }
} }
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
<state v-if="edit != index" code="project.group.status" :value="row.status" type="text"></state> <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> <Dictionary v-else code="project.group.status" v-model="cur.status"></Dictionary>
</template> </template>
<template slot-scope="{ row, index }" slot="wHour"> <template slot-scope="{ row, index }" slot="whour">
<span v-if="edit != index" v-text="row.wHour"></span> <span v-if="edit != index" v-text="row.whour"></span>
<InputNumber v-else type="text" v-model.trim="cur.wHour" /> <InputNumber v-else type="text" v-model.trim="cur.whour" />
</template> </template>
<template slot-scope="{ row, index }" slot="wHourPD"> <template slot-scope="{ row, index }" slot="whourpd">
<span v-if="edit != index" v-text="row.wHourPD"></span> <span v-if="edit != index" v-text="row.whourpd"></span>
<InputNumber v-else type="text" v-model.trim="cur.wHourPD" /> <InputNumber v-else type="text" v-model.trim="cur.whourpd" />
</template> </template>
<template slot-scope="{ row, index }" slot="authority"> <template slot-scope="{ row, index }" slot="authority">
<state v-if="edit != index" code="project.group.authority" :value="row.authority" type="text"></state> <state v-if="edit != index" code="project.group.authority" :value="row.authority" type="text"></state>
...@@ -72,8 +72,8 @@ export default { ...@@ -72,8 +72,8 @@ export default {
userId: null, userId: null,
role: null, role: null,
status: null, status: null,
wHour: 14, whour: 14,
wHourPD: 7.0, whourpd: 7.0,
authority: null, authority: null,
note: '' note: ''
}, },
...@@ -101,17 +101,18 @@ export default { ...@@ -101,17 +101,18 @@ export default {
slot: 'status' slot: 'status'
}, },
{ {
key: "wHour", key: "whour",
title: this.l("wHour"), title: this.l("whour"),
align: "center", align: "right",
slot: 'wHour' width: 200,
slot: 'whour'
}, },
{ {
key: "wHourPD", key: "whourpd",
title: this.l("wHourPD"), title: this.l("whourpd"),
align: "right", align: "right",
slot: 'wHourPD' width: 200,
slot: 'whourpd'
}, },
{ {
key: "authority", key: "authority",
...@@ -203,8 +204,8 @@ export default { ...@@ -203,8 +204,8 @@ export default {
userId: null, userId: null,
role: null, role: null,
status: null, status: null,
wHour: 14, whour: 14,
wHourPD: 7.0, whourpd: 7.0,
authority: null, authority: null,
note: '' note: ''
}; };
...@@ -240,8 +241,8 @@ export default { ...@@ -240,8 +241,8 @@ export default {
this.cur.role = row.role this.cur.role = row.role
this.cur.status = row.status this.cur.status = row.status
this.cur.authority = row.authority this.cur.authority = row.authority
this.cur.wHour = row.wHour this.cur.whour = row.whour ? row.whour : 14
this.cur.wHourPD = row.wHourPD this.cur.whourpd = row.whourpd ? row.whourpd : 7.0
this.cur.note = row.note this.cur.note = row.note
this.authorityCur = row.authority this.authorityCur = row.authority
this.edit = index 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