fix: update message json
This commit is contained in:
@@ -329,14 +329,13 @@ let modalState: ModalStateType = reactive({
|
||||
serialNumProfile: {
|
||||
displayMode: 'normal',
|
||||
geoScope: 'PLMNwide',
|
||||
messageCode: '',
|
||||
},
|
||||
|
||||
//warningTypeProfile
|
||||
warningTypeProfile: {
|
||||
warningType: '',
|
||||
emergencyUserAlert: 'false',
|
||||
activatePopup: 'true',
|
||||
emergencyUserAlert: false,
|
||||
activatePopup: true,
|
||||
},
|
||||
warningMessageProfile: {
|
||||
language: 'English',
|
||||
@@ -755,14 +754,14 @@ function pwsTypeChange(value: any) {
|
||||
modalState.from.warningTypeProfile.warningType = 'TEST';
|
||||
modalState.from.eventName = 'etws_';
|
||||
modalState.from.serialNumProfile.displayMode = 'immediate';
|
||||
modalState.from.warningTypeProfile.emergencyUserAlert = 'true';
|
||||
modalState.from.warningTypeProfile.activatePopup = 'true';
|
||||
modalState.from.warningTypeProfile.emergencyUserAlert = true;
|
||||
modalState.from.warningTypeProfile.activatePopup = true;
|
||||
} else if (value === 'CMAS') {
|
||||
modalState.from.warningTypeProfile.warningType = '';
|
||||
modalState.from.eventName = 'cmas_';
|
||||
modalState.from.serialNumProfile.displayMode = 'normal';
|
||||
modalState.from.warningTypeProfile.emergencyUserAlert = 'false';
|
||||
modalState.from.warningTypeProfile.activatePopup = 'true';
|
||||
modalState.from.warningTypeProfile.emergencyUserAlert = false;
|
||||
modalState.from.warningTypeProfile.activatePopup = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1215,8 +1214,8 @@ onMounted(() => {
|
||||
modalState.from.warningTypeProfile.emergencyUserAlert
|
||||
"
|
||||
>
|
||||
<a-select-option value="true">true</a-select-option>
|
||||
<a-select-option value="false">false</a-select-option>
|
||||
<a-select-option :value="true">true</a-select-option>
|
||||
<a-select-option :value="false">false</a-select-option>
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
@@ -1231,8 +1230,8 @@ onMounted(() => {
|
||||
:disabled="modalState.from.id"
|
||||
v-model:value="modalState.from.warningTypeProfile.activatePopup"
|
||||
>
|
||||
<a-select-option value="true">true</a-select-option>
|
||||
<a-select-option value="false">false</a-select-option>
|
||||
<a-select-option :value="true">true</a-select-option>
|
||||
<a-select-option :value="false">false</a-select-option>
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
Reference in New Issue
Block a user