|
|
|
|
@ -2189,29 +2189,50 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
/* 仪器类型切换 */
|
|
|
|
|
typeChange() {
|
|
|
|
|
// 非IOT仪器
|
|
|
|
|
if (this.form.type == 1) {
|
|
|
|
|
this.form.model = null
|
|
|
|
|
this.form.nursingTime = null
|
|
|
|
|
this.form.iotVersion = null
|
|
|
|
|
this.form.iotUpgradeData = null
|
|
|
|
|
this.form.bluetoothConnecting = null
|
|
|
|
|
this.form.bluetoothConnectingTitle = null
|
|
|
|
|
this.form.bluetoothConnectingContent = null
|
|
|
|
|
this.form.bluetoothConnectFail = null
|
|
|
|
|
this.form.bluetoothConnectFailTitle = null
|
|
|
|
|
this.form.bluetoothConnectFailContent = null
|
|
|
|
|
this.form.bluetoothClosed = null
|
|
|
|
|
this.form.bluetoothClosedTitle = null
|
|
|
|
|
this.form.bluetoothClosedContent = null
|
|
|
|
|
this.form.iotVersionUpgrade = null
|
|
|
|
|
this.form.modeIdsValue = []
|
|
|
|
|
} else {
|
|
|
|
|
this.form.model = 'WL200'
|
|
|
|
|
this.form.modeIdsValue = []
|
|
|
|
|
/**
|
|
|
|
|
* 两个都有,但需要根据仪器 仪器类型和仪器型号来查询数据
|
|
|
|
|
* 模式,带new标识模式
|
|
|
|
|
*/
|
|
|
|
|
/**
|
|
|
|
|
* IOT 特有
|
|
|
|
|
* 仪器型号(默认WL200)
|
|
|
|
|
* 生成护理记录最短时间
|
|
|
|
|
*
|
|
|
|
|
* 蓝牙连接中图片
|
|
|
|
|
* 蓝牙连接中标题
|
|
|
|
|
* 蓝牙连接中文案
|
|
|
|
|
*
|
|
|
|
|
* 蓝牙连接失败图片
|
|
|
|
|
* 蓝牙连接失败标题
|
|
|
|
|
* 蓝牙连接失败文案
|
|
|
|
|
*
|
|
|
|
|
* 蓝牙连断开接图片
|
|
|
|
|
* 蓝牙断开连接标题
|
|
|
|
|
* 蓝牙断开连接文案
|
|
|
|
|
*
|
|
|
|
|
* we200蓝牙连接中图片(WL200仪器特有)
|
|
|
|
|
* we200蓝牙连接中标题(WL200仪器特有)
|
|
|
|
|
* we200蓝牙连接中文案(WL200仪器特有)
|
|
|
|
|
*
|
|
|
|
|
* IOT版本
|
|
|
|
|
* IOT升级数据文件
|
|
|
|
|
* IOT版本升级介绍
|
|
|
|
|
*
|
|
|
|
|
* we200IOT版本(WL200仪器特有)
|
|
|
|
|
* we200IOT升级数据文件(WL200仪器特有)
|
|
|
|
|
* we200IOT版本升级介绍(WL200仪器特有)
|
|
|
|
|
*/
|
|
|
|
|
// IOT仪器,模型默认 WL200
|
|
|
|
|
if (this.form.type == 2) {
|
|
|
|
|
this.form.model = 'WL200';
|
|
|
|
|
}
|
|
|
|
|
/* 模式选项 */
|
|
|
|
|
this.mode.modeIdsOptions = []
|
|
|
|
|
/* 模式选项 */
|
|
|
|
|
// 模式清空
|
|
|
|
|
this.form.modeIdsValue = [];
|
|
|
|
|
this.modeIdsOptions = [];
|
|
|
|
|
// 带 new 标识模式清空
|
|
|
|
|
this.form.newModeIdList = [];
|
|
|
|
|
this.newModeOptionList = [];
|
|
|
|
|
listAllMode({
|
|
|
|
|
instrumentType: this.form.type,
|
|
|
|
|
instrumentModel: this.form.model,
|
|
|
|
|
@ -2221,6 +2242,22 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
this.mode.modeIdsOptions = response.data
|
|
|
|
|
})
|
|
|
|
|
// 仪器数据清空
|
|
|
|
|
this.form.model = null
|
|
|
|
|
this.form.nursingTime = null
|
|
|
|
|
this.form.bluetoothConnecting = null
|
|
|
|
|
this.form.bluetoothConnectingTitle = null
|
|
|
|
|
this.form.bluetoothConnectingContent = null
|
|
|
|
|
this.form.bluetoothConnectFail = null
|
|
|
|
|
this.form.bluetoothConnectFailTitle = null
|
|
|
|
|
this.form.bluetoothConnectFailContent = null
|
|
|
|
|
this.form.bluetoothClosed = null
|
|
|
|
|
this.form.bluetoothClosedTitle = null
|
|
|
|
|
this.form.bluetoothClosedContent = null
|
|
|
|
|
this.form.iotVersion = null
|
|
|
|
|
this.form.iotUpgradeData = null
|
|
|
|
|
this.form.iotVersionUpgrade = null
|
|
|
|
|
/* we200数据清空 */
|
|
|
|
|
this.form.we200IotVersion = null;
|
|
|
|
|
this.form.we200IotUpgradeData = null;
|
|
|
|
|
this.form.we200IotVersionUpgrade = null;
|
|
|
|
|
@ -2235,6 +2272,14 @@ export default {
|
|
|
|
|
modelChange() {
|
|
|
|
|
/* 模式选项 */
|
|
|
|
|
this.mode.modeIdsOptions = []
|
|
|
|
|
// 清空模式和带new标识模式
|
|
|
|
|
// 模式清空
|
|
|
|
|
this.form.modeIdsValue = [];
|
|
|
|
|
this.modeIdsOptions = [];
|
|
|
|
|
// 带 new 标识模式清空
|
|
|
|
|
this.form.newModeIdList = [];
|
|
|
|
|
this.newModeOptionList = [];
|
|
|
|
|
// 获取对应模式
|
|
|
|
|
listAllMode({
|
|
|
|
|
instrumentType: this.form.type,
|
|
|
|
|
instrumentModel: this.form.model,
|
|
|
|
|
@ -2244,7 +2289,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
this.mode.modeIdsOptions = response.data
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
/* 清空we200 对应的数据 */
|
|
|
|
|
this.form.we200IotVersion = null;
|
|
|
|
|
this.form.we200IotUpgradeData = null;
|
|
|
|
|
this.form.we200IotVersionUpgrade = null;
|
|
|
|
|
|