|
107 | 107 | <ElSwitch v-model="config.STORAGE_SDCARD_PUBLISH" active-value="on" inactive-value="off" />
|
108 | 108 | </ElCol>
|
109 | 109 | </ElRow>
|
110 |
| - <ElRow> |
| 110 | + <ElRow v-if="config.STORAGE_SDCARD==='on'"> |
111 | 111 | <ElCol :offset="2" :span="7">
|
112 | 112 | <ElTooltip :tabindex="-1" placement="top" content="録画するPATHをstrftimeの書式指定で記述します。最後に拡張子が付加されます。alarm_recordのみに有効。" effect="light" :open-delay="500">
|
113 | 113 | <h4>保存するPATH</h4>
|
|
117 | 117 | <ElInput type="text" v-model="config.STORAGE_SDCARD_PATH" @input="FixPath('STORAGE_SDCARD_PATH')" />
|
118 | 118 | </ElCol>
|
119 | 119 | </ElRow>
|
120 |
| - <ElRow> |
| 120 | + <ElRow v-if="config.STORAGE_SDCARD==='on'"> |
121 | 121 | <ElCol :offset="2" :span="7">
|
122 | 122 | <ElTooltip :tabindex="-1" placement="top" content="SD-Cardに録画したファイルを自動的に削除します" effect="light" :open-delay="500">
|
123 | 123 | <h4>ファイルの自動削除</h4>
|
|
127 | 127 | <ElSwitch v-model="config.STORAGE_SDCARD_REMOVE" active-value="on" inactive-value="off" />
|
128 | 128 | </ElCol>
|
129 | 129 | </ElRow>
|
130 |
| - <ElRow v-if="config.STORAGE_SDCARD_REMOVE === 'on'"> |
| 130 | + <ElRow v-if="config.STORAGE_SDCARD==='on' && config.STORAGE_SDCARD_REMOVE === 'on'"> |
131 | 131 | <ElCol :offset="2" :span="7">
|
132 | 132 | <ElTooltip :tabindex="-1" placement="top" content="指定日数後に削除します" effect="light" :open-delay="500">
|
133 | 133 | <h4>保存日数</h4>
|
|
179 | 179 | <ElInput type="text" name="password" v-model="config.STORAGE_CIFSPASSWD" show-password />
|
180 | 180 | </ElCol>
|
181 | 181 | </ElRow>
|
182 |
| - <ElRow> |
| 182 | + <ElRow v-if="config.STORAGE_CIFS === 'on'"> |
183 | 183 | <ElCol :offset="2" :span="7">
|
184 | 184 | <ElTooltip :tabindex="-1" placement="top" content="録画するPATHをstrftimeの書式指定で記述します。最後に拡張子が付加されます。" effect="light" :open-delay="500">
|
185 | 185 | <h4>保存するPATH</h4>
|
|
189 | 189 | <ElInput type="text" v-model="config.STORAGE_CIFS_PATH" @input="FixPath('STORAGE_CIFS_PATH')" />
|
190 | 190 | </ElCol>
|
191 | 191 | </ElRow>
|
192 |
| - <ElRow> |
| 192 | + <ElRow v-if="config.STORAGE_CIFS === 'on'"> |
193 | 193 | <ElCol :offset="2" :span="7">
|
194 | 194 | <ElTooltip :tabindex="-1" placement="top" content="CIFS Serverに録画したファイルを自動的に削除します" effect="light" :open-delay="500">
|
195 | 195 | <h4>ファイルの自動削除</h4>
|
|
199 | 199 | <ElSwitch v-model="config.STORAGE_CIFS_REMOVE" active-value="on" inactive-value="off" />
|
200 | 200 | </ElCol>
|
201 | 201 | </ElRow>
|
202 |
| - <ElRow v-if="config.STORAGE_CIFS_REMOVE === 'on'"> |
| 202 | + <ElRow v-if="config.STORAGE_CIFS === 'on' && config.STORAGE_CIFS_REMOVE === 'on'"> |
203 | 203 | <ElCol :offset="2" :span="7">
|
204 | 204 | <ElTooltip :tabindex="-1" placement="top" content="指定日数後に削除します" effect="light" :open-delay="500">
|
205 | 205 | <h4>保存日数</h4>
|
|
0 commit comments