Commit 75f9a562 authored by 康振飞's avatar 康振飞

公休日

parent 0af018b8
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<template slot="buttons"> <template slot="buttons">
<span>公休日设置:</span> <span>公休日设置:</span>
<RadioGroup v-model="weekType" @on-change="radioChange"> <RadioGroup v-model="weekType" @on-change="radioChange">
<Radio v-for="(item,index) in weekTypeList" :key="index" :label="item.title" border></Radio> <Radio v-for="(item,index) in weekTypeList" :key="index" :label="item.weekendTypeName" border></Radio>
</RadioGroup> </RadioGroup>
</template> </template>
<template slot="buttons"> <template slot="buttons">
...@@ -187,7 +187,7 @@ export default { ...@@ -187,7 +187,7 @@ export default {
Api.getsetweek().then((res) => { Api.getsetweek().then((res) => {
if (res.success) { if (res.success) {
this.getweekList() this.getweekList()
this.weekType = res.result.title this.weekType = res.result.weekendTypeName
} else { } else {
let parmse = { let parmse = {
conditions: [], conditions: [],
...@@ -198,7 +198,7 @@ export default { ...@@ -198,7 +198,7 @@ export default {
this.weekTypeList = res.result this.weekTypeList = res.result
this.weekTypeList.map((v) => { this.weekTypeList.map((v) => {
if ((v.isvalid = 1)) { if ((v.isvalid = 1)) {
this.weekType = v.title this.weekType = v.weekendTypeName
} else { } else {
this.weekType = 0 this.weekType = 0
} }
......
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