|
@@ -2185,65 +2185,65 @@ export default {
|
2185
|
2185
|
for (let index = 0; index < this.doctor_advices.length; index++) {
|
2186
|
2186
|
this.doctor_advices[index]['isShow'] = 2
|
2187
|
2187
|
}
|
2188
|
|
- if (this.doctor_advices.length === 0) {
|
2189
|
|
- var obj = { advice_name: '', start_time: '' }
|
2190
|
|
- var obj1 = { advice_name: '', start_time: '' }
|
2191
|
|
- var obj2 = { advice_name: '', start_time: '' }
|
2192
|
|
- var obj3 = { advice_name: '', start_time: '' }
|
2193
|
|
- this.doctor_advices.push(obj)
|
2194
|
|
- this.doctor_advices.push(obj1)
|
2195
|
|
- this.doctor_advices.push(obj2)
|
2196
|
|
- this.doctor_advices.push(obj3)
|
2197
|
|
- this.doctor_advices.push(obj3)
|
2198
|
|
- this.doctor_advices.push(obj3)
|
2199
|
|
- this.doctor_advices.push(obj3)
|
2200
|
|
- }
|
2201
|
|
- if (this.doctor_advices.length === 1) {
|
2202
|
|
- var obj = { advice_name: '', start_time: '' }
|
2203
|
|
- var obj1 = { advice_name: '', start_time: '' }
|
2204
|
|
- var obj2 = { advice_name: '', start_time: '' }
|
2205
|
|
- this.doctor_advices.push(obj)
|
2206
|
|
- this.doctor_advices.push(obj1)
|
2207
|
|
- this.doctor_advices.push(obj2)
|
2208
|
|
- this.doctor_advices.push(obj2)
|
2209
|
|
- this.doctor_advices.push(obj2)
|
2210
|
|
- this.doctor_advices.push(obj2)
|
2211
|
|
- }
|
2212
|
|
- if (this.doctor_advices.length === 2) {
|
2213
|
|
- var obj = { advice_name: '', start_time: '' }
|
2214
|
|
- var obj1 = { advice_name: '', start_time: '' }
|
2215
|
|
- this.doctor_advices.push(obj)
|
2216
|
|
- this.doctor_advices.push(obj1)
|
2217
|
|
- this.doctor_advices.push(obj1)
|
2218
|
|
- this.doctor_advices.push(obj1)
|
2219
|
|
- this.doctor_advices.push(obj1)
|
2220
|
|
- }
|
2221
|
|
- if (this.doctor_advices.length === 3) {
|
2222
|
|
- // eslint-disable-next-line no-redeclare
|
2223
|
|
- var obj = { advice_name: '', start_time: '' }
|
2224
|
|
- this.doctor_advices.push(obj)
|
2225
|
|
- this.doctor_advices.push(obj)
|
2226
|
|
- this.doctor_advices.push(obj)
|
2227
|
|
- this.doctor_advices.push(obj)
|
2228
|
|
- }
|
2229
|
|
- if (this.doctor_advices.length === 4) {
|
2230
|
|
- // eslint-disable-next-line no-redeclare
|
2231
|
|
- var obj = { advice_name: '', start_time: '' }
|
2232
|
|
- this.doctor_advices.push(obj)
|
2233
|
|
- this.doctor_advices.push(obj)
|
2234
|
|
- this.doctor_advices.push(obj)
|
2235
|
|
- }
|
2236
|
|
- if (this.doctor_advices.length === 5) {
|
2237
|
|
- // eslint-disable-next-line no-redeclare
|
2238
|
|
- var obj = { advice_name: '', start_time: '' }
|
2239
|
|
- this.doctor_advices.push(obj)
|
2240
|
|
- this.doctor_advices.push(obj)
|
2241
|
|
- }
|
2242
|
|
- if (this.doctor_advices.length === 6) {
|
2243
|
|
- // eslint-disable-next-line no-redeclare
|
2244
|
|
- var obj = { advice_name: '', start_time: '' }
|
2245
|
|
- this.doctor_advices.push(obj)
|
2246
|
|
- }
|
|
2188
|
+ // if (this.doctor_advices.length === 0) {
|
|
2189
|
+ // var obj = { advice_name: '', start_time: '' }
|
|
2190
|
+ // var obj1 = { advice_name: '', start_time: '' }
|
|
2191
|
+ // var obj2 = { advice_name: '', start_time: '' }
|
|
2192
|
+ // var obj3 = { advice_name: '', start_time: '' }
|
|
2193
|
+ // this.doctor_advices.push(obj)
|
|
2194
|
+ // this.doctor_advices.push(obj1)
|
|
2195
|
+ // this.doctor_advices.push(obj2)
|
|
2196
|
+ // this.doctor_advices.push(obj3)
|
|
2197
|
+ // this.doctor_advices.push(obj3)
|
|
2198
|
+ // this.doctor_advices.push(obj3)
|
|
2199
|
+ // this.doctor_advices.push(obj3)
|
|
2200
|
+ // }
|
|
2201
|
+ // if (this.doctor_advices.length === 1) {
|
|
2202
|
+ // var obj = { advice_name: '', start_time: '' }
|
|
2203
|
+ // var obj1 = { advice_name: '', start_time: '' }
|
|
2204
|
+ // var obj2 = { advice_name: '', start_time: '' }
|
|
2205
|
+ // this.doctor_advices.push(obj)
|
|
2206
|
+ // this.doctor_advices.push(obj1)
|
|
2207
|
+ // this.doctor_advices.push(obj2)
|
|
2208
|
+ // this.doctor_advices.push(obj2)
|
|
2209
|
+ // this.doctor_advices.push(obj2)
|
|
2210
|
+ // this.doctor_advices.push(obj2)
|
|
2211
|
+ // }
|
|
2212
|
+ // if (this.doctor_advices.length === 2) {
|
|
2213
|
+ // var obj = { advice_name: '', start_time: '' }
|
|
2214
|
+ // var obj1 = { advice_name: '', start_time: '' }
|
|
2215
|
+ // this.doctor_advices.push(obj)
|
|
2216
|
+ // this.doctor_advices.push(obj1)
|
|
2217
|
+ // this.doctor_advices.push(obj1)
|
|
2218
|
+ // this.doctor_advices.push(obj1)
|
|
2219
|
+ // this.doctor_advices.push(obj1)
|
|
2220
|
+ // }
|
|
2221
|
+ // if (this.doctor_advices.length === 3) {
|
|
2222
|
+ // // eslint-disable-next-line no-redeclare
|
|
2223
|
+ // var obj = { advice_name: '', start_time: '' }
|
|
2224
|
+ // this.doctor_advices.push(obj)
|
|
2225
|
+ // this.doctor_advices.push(obj)
|
|
2226
|
+ // this.doctor_advices.push(obj)
|
|
2227
|
+ // this.doctor_advices.push(obj)
|
|
2228
|
+ // }
|
|
2229
|
+ // if (this.doctor_advices.length === 4) {
|
|
2230
|
+ // // eslint-disable-next-line no-redeclare
|
|
2231
|
+ // var obj = { advice_name: '', start_time: '' }
|
|
2232
|
+ // this.doctor_advices.push(obj)
|
|
2233
|
+ // this.doctor_advices.push(obj)
|
|
2234
|
+ // this.doctor_advices.push(obj)
|
|
2235
|
+ // }
|
|
2236
|
+ // if (this.doctor_advices.length === 5) {
|
|
2237
|
+ // // eslint-disable-next-line no-redeclare
|
|
2238
|
+ // var obj = { advice_name: '', start_time: '' }
|
|
2239
|
+ // this.doctor_advices.push(obj)
|
|
2240
|
+ // this.doctor_advices.push(obj)
|
|
2241
|
+ // }
|
|
2242
|
+ // if (this.doctor_advices.length === 6) {
|
|
2243
|
+ // // eslint-disable-next-line no-redeclare
|
|
2244
|
+ // var obj = { advice_name: '', start_time: '' }
|
|
2245
|
+ // this.doctor_advices.push(obj)
|
|
2246
|
+ // }
|
2247
|
2247
|
this.adviceLength = this.doctor_advices.length + 1
|
2248
|
2248
|
|
2249
|
2249
|
if (this.doctor_advices.length > 0) {
|