|
|
@ -22,21 +22,21 @@ |
|
|
|
</template> |
|
|
|
<template v-if="editData.deviceType == '10'"> |
|
|
|
<div class="center"> |
|
|
|
<p>{{ gzmsDic[editData.params.SETMD] }}</p> |
|
|
|
<p>时长:{{ editData.params.SETTM }}</p> |
|
|
|
<p>{{ awakerModeDic[editData.params.SETMD] }}</p> |
|
|
|
<p>时长:{{ editData.params.SETTM }}分钟</p> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<template v-if="editData.deviceType == '12'"> |
|
|
|
<div class="center"> |
|
|
|
<p>{{ gzmsDic[editData.params.SETMD] }}</p> |
|
|
|
<p>时长:{{ editData.params.SETTM }}</p> |
|
|
|
<p>{{ induceModeDic[editData.params.SETMD] }}</p> |
|
|
|
<p>时长:{{ editData.params.SETTM }}分钟</p> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<template v-if="editData.deviceType == '13'"> |
|
|
|
<div class="center"> |
|
|
|
<p>{{ gzmsDic[editData.params.SETMD] }}</p> |
|
|
|
<p>时长:{{ editData.params.SETTM }}</p> |
|
|
|
<p>{{ awakerModeDic[editData.params.SETMD] }}</p> |
|
|
|
<p>时长:{{ editData.params.SETTM }}分钟</p> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
@ -55,7 +55,7 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import request from "@/utils/request"; |
|
|
|
import { deviceTypeDic, gzmsMap } from "@screen/utils/enum.js" |
|
|
|
import { deviceTypeDic, gzmsMap, gzztMap } from "@screen/utils/enum.js" |
|
|
|
import { getDeviceList } from "@screen/utils/api/device.js" |
|
|
|
import taskEditDialog from "./taskEditDialog.vue"; |
|
|
|
import BoardRecordPreview from '@screen/components/infoBoard/BoardRecordPreview.vue' |
|
|
@ -76,7 +76,8 @@ export default { |
|
|
|
isEditingTask: false, |
|
|
|
selectedType:"", |
|
|
|
deviceTypeDic:"", |
|
|
|
gzmsMap:"", |
|
|
|
awakerModeDic:"", |
|
|
|
induceModeDic:"", |
|
|
|
deviceDic:{}, |
|
|
|
deviceList:[] |
|
|
|
}; |
|
|
@ -89,7 +90,8 @@ export default { |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
this.deviceTypeDic = deviceTypeDic; |
|
|
|
this.gzmsDic = gzmsMap; |
|
|
|
this.awakerModeDic = gzmsMap; |
|
|
|
this.induceModeDic = gzztMap; |
|
|
|
this.isCompReady = true; |
|
|
|
console.log(JSON.parse(this.propData.callParameter || '[{}]')[0], "++++=====######"); |
|
|
|
this.initBasicData().then(res=>{ |
|
|
|