Bladeren bron

修复人员管理bug

凉纪 2 jaren geleden
bovenliggende
commit
1db1eb70a0
2 gewijzigde bestanden met toevoegingen van 9 en 9 verwijderingen
  1. 2 2
      src/views/system/workTimeSet/dialog.template.vue
  2. 7 7
      src/views/system/workTimeSet/json.js

+ 2 - 2
src/views/system/workTimeSet/dialog.template.vue

@@ -47,8 +47,8 @@
                     <el-radio-group
                         v-model="r.row.isWorkday"
                         @change="onEnableChange(r.row)">
-                      <el-radio text-color="#48bb78" :label="1">营业</el-radio>
-                      <el-radio text-color="#f56565" :label="0">歇业</el-radio>
+                      <el-radio text-color="#48bb78" label="1">营业</el-radio>
+                      <el-radio text-color="#f56565" label="0">歇业</el-radio>
                     </el-radio-group>
                   </template>
                 </el-table-column>

+ 7 - 7
src/views/system/workTimeSet/json.js

@@ -2,7 +2,7 @@ export let json = [
   {
     "id": null,
     "workTimeSetId": null,
-    "isWorkday": 1,
+    "isWorkday": '1',
     "dayOfWeek": 2,
     "dayOfWeekText": "星期一",
     "workTime": "07:00",
@@ -15,7 +15,7 @@ export let json = [
   {
     "id": null,
     "workTimeSetId": null,
-    "isWorkday": 1,
+    "isWorkday": '1',
     "dayOfWeek": 3,
     "dayOfWeekText": "星期二",
     "workTime": "07:00",
@@ -28,7 +28,7 @@ export let json = [
   {
     "id": null,
     "workTimeSetId": null,
-    "isWorkday": 1,
+    "isWorkday": '1',
     "dayOfWeek": 4,
     "dayOfWeekText": "星期三",
     "workTime": "07:00",
@@ -41,7 +41,7 @@ export let json = [
   {
     "id": null,
     "workTimeSetId": null,
-    "isWorkday": 1,
+    "isWorkday": '1',
     "dayOfWeek": 5,
     "dayOfWeekText": "星期四",
     "workTime": "07:00",
@@ -54,7 +54,7 @@ export let json = [
   {
     "id": null,
     "workTimeSetId": null,
-    "isWorkday": 1,
+    "isWorkday": '1',
     "dayOfWeek": 6,
     "dayOfWeekText": "星期五",
     "workTime": "07:00",
@@ -67,7 +67,7 @@ export let json = [
   {
     "id": null,
     "workTimeSetId": null,
-    "isWorkday": 0,
+    "isWorkday": '0',
     "dayOfWeek": 7,
     "dayOfWeekText": "星期六",
     "workTime": null,
@@ -80,7 +80,7 @@ export let json = [
   {
     "id": null,
     "workTimeSetId": null,
-    "isWorkday": 0,
+    "isWorkday": '0',
     "dayOfWeek": 1,
     "dayOfWeekText": "星期日",
     "workTime": null,