|
@@ -14,7 +14,7 @@
|
|
|
<span>注射时间t<sub>0</sub></span>
|
|
<span>注射时间t<sub>0</sub></span>
|
|
|
</div>
|
|
</div>
|
|
|
<mt-field label="基础活性%" placeholder="请输入2位小数" v-model="form.jchx"></mt-field>
|
|
<mt-field label="基础活性%" placeholder="请输入2位小数" v-model="form.jchx"></mt-field>
|
|
|
- <mt-field label="注射后半小时内活性%" placeholder="请输入2位小数" v-model="form.zs30hx"></mt-field>
|
|
|
|
|
|
|
+ <mt-field label="注射后半小时内活性%" placeholder="请输入2位小数" type="number" v-model="form.zs30hx"></mt-field>
|
|
|
<div class="numSubTitle">
|
|
<div class="numSubTitle">
|
|
|
<mt-field class="inputDisable" disabled placeholder="请选择时间" v-model="form.cxsjt1"
|
|
<mt-field class="inputDisable" disabled placeholder="请选择时间" v-model="form.cxsjt1"
|
|
|
@click.native="$refs.t1Picker.open()">
|
|
@click.native="$refs.t1Picker.open()">
|
|
@@ -23,7 +23,7 @@
|
|
|
<span>采血时间t<sub>1</sub></span>
|
|
<span>采血时间t<sub>1</sub></span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="numSubTitle">
|
|
<div class="numSubTitle">
|
|
|
- <mt-field placeholder="请输入2位小数" v-model="form.t1hx"></mt-field>
|
|
|
|
|
|
|
+ <mt-field placeholder="请输入2位小数" v-model="form.t1hx" type="number"></mt-field>
|
|
|
<span>t<sub>1</sub>点活性%</span>
|
|
<span>t<sub>1</sub>点活性%</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="numSubTitle">
|
|
<div class="numSubTitle">
|
|
@@ -34,7 +34,7 @@
|
|
|
<span>采血时间t<sub>2</sub></span>
|
|
<span>采血时间t<sub>2</sub></span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="numSubTitle">
|
|
<div class="numSubTitle">
|
|
|
- <mt-field placeholder="请输入2位小数" v-model="form.t2hx"></mt-field>
|
|
|
|
|
|
|
+ <mt-field placeholder="请输入2位小数" v-model="form.t2hx" type="number"></mt-field>
|
|
|
<span>t<sub>2</sub>点活性%</span>
|
|
<span>t<sub>2</sub>点活性%</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="numSubTitle">
|
|
<div class="numSubTitle">
|
|
@@ -45,13 +45,13 @@
|
|
|
<span>采血时间t<sub>3</sub></span>
|
|
<span>采血时间t<sub>3</sub></span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="numSubTitle">
|
|
<div class="numSubTitle">
|
|
|
- <mt-field placeholder="请输入2位小数" v-model="form.t3hx"></mt-field>
|
|
|
|
|
|
|
+ <mt-field placeholder="请输入2位小数" v-model="form.t3hx" type="number"></mt-field>
|
|
|
<span>t<sub>3</sub>点活性%</span>
|
|
<span>t<sub>3</sub>点活性%</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="diagForm">
|
|
<div class="diagForm">
|
|
|
<div class="formTitle">血友病治疗方案</div>
|
|
<div class="formTitle">血友病治疗方案</div>
|
|
|
- <mt-field label="预防谷活性" type="number" placeholder="请输入2位小数" v-model="form.yfghx"></mt-field>
|
|
|
|
|
|
|
+ <mt-field label="预防谷活性" type="number" placeholder="请输入整数" v-model="form.yfghx"></mt-field>
|
|
|
<mt-field class="inputDisable" disabled label="注射频次" placeholder="请选择" v-model="form.zspc"
|
|
<mt-field class="inputDisable" disabled label="注射频次" placeholder="请选择" v-model="form.zspc"
|
|
|
@click.native="mfreqFlag=true">
|
|
@click.native="mfreqFlag=true">
|
|
|
<img src="../assets/images/down.png" alt="" width="16px">
|
|
<img src="../assets/images/down.png" alt="" width="16px">
|
|
@@ -63,19 +63,19 @@
|
|
|
</div>
|
|
</div>
|
|
|
<!-- 注射时间t0 -->
|
|
<!-- 注射时间t0 -->
|
|
|
<mt-datetime-picker ref="t0Picker" type="datetime" year-format="{value} 年" month-format="{value} 月"
|
|
<mt-datetime-picker ref="t0Picker" type="datetime" year-format="{value} 年" month-format="{value} 月"
|
|
|
- date-format="{value} 日" @confirm='changeTime0' :endDate='endDate'>
|
|
|
|
|
|
|
+ date-format="{value} 日" hourFormat="{value}时" minuteFormat="{value}分" @confirm='changeTime0' :endDate='endDate'>
|
|
|
</mt-datetime-picker>
|
|
</mt-datetime-picker>
|
|
|
<!-- 采血时间t1 -->
|
|
<!-- 采血时间t1 -->
|
|
|
<mt-datetime-picker ref="t1Picker" type="datetime" year-format="{value} 年" month-format="{value} 月"
|
|
<mt-datetime-picker ref="t1Picker" type="datetime" year-format="{value} 年" month-format="{value} 月"
|
|
|
- date-format="{value} 日" @confirm='changeTime1' :endDate='endDate'>
|
|
|
|
|
|
|
+ date-format="{value} 日" hourFormat="{value}时" minuteFormat="{value}分" @confirm='changeTime1' :endDate='endDate'>
|
|
|
</mt-datetime-picker>
|
|
</mt-datetime-picker>
|
|
|
<!-- 采血时间t2 -->
|
|
<!-- 采血时间t2 -->
|
|
|
<mt-datetime-picker ref="t2Picker" type="datetime" year-format="{value} 年" month-format="{value} 月"
|
|
<mt-datetime-picker ref="t2Picker" type="datetime" year-format="{value} 年" month-format="{value} 月"
|
|
|
- date-format="{value} 日" @confirm='changeTime2' :endDate='endDate'>
|
|
|
|
|
|
|
+ date-format="{value} 日" hourFormat="{value}时" minuteFormat="{value}分" @confirm='changeTime2' :endDate='endDate'>
|
|
|
</mt-datetime-picker>
|
|
</mt-datetime-picker>
|
|
|
<!-- 采血时间t3 -->
|
|
<!-- 采血时间t3 -->
|
|
|
<mt-datetime-picker ref="t3Picker" type="datetime" year-format="{value} 年" month-format="{value} 月"
|
|
<mt-datetime-picker ref="t3Picker" type="datetime" year-format="{value} 年" month-format="{value} 月"
|
|
|
- date-format="{value} 日" @confirm='changeTime3' :endDate='endDate'>
|
|
|
|
|
|
|
+ date-format="{value} 日" hourFormat="{value}时" minuteFormat="{value}分" @confirm='changeTime3' :endDate='endDate'>
|
|
|
</mt-datetime-picker>
|
|
</mt-datetime-picker>
|
|
|
<!-- 注射频次 -->
|
|
<!-- 注射频次 -->
|
|
|
<mt-picker @change="onValuesChange1" v-if="mfreqFlag" :slots="slots1" ref="sexPicker1" class="sexPicker"
|
|
<mt-picker @change="onValuesChange1" v-if="mfreqFlag" :slots="slots1" ref="sexPicker1" class="sexPicker"
|
|
@@ -139,7 +139,7 @@
|
|
|
if (picker.getSlotValue(0)) {
|
|
if (picker.getSlotValue(0)) {
|
|
|
this.form.zspc = picker.getSlotValue(0)
|
|
this.form.zspc = picker.getSlotValue(0)
|
|
|
} else {
|
|
} else {
|
|
|
- this.form.zspc = "每周2次"
|
|
|
|
|
|
|
+ this.form.zspc = this.$const.zspc[0]
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
submit() {
|
|
submit() {
|
|
@@ -176,7 +176,7 @@
|
|
|
if (!this.form.zssjt0) {
|
|
if (!this.form.zssjt0) {
|
|
|
MessageBox({
|
|
MessageBox({
|
|
|
title: '提示',
|
|
title: '提示',
|
|
|
- message: '请选择注射时间t0?'
|
|
|
|
|
|
|
+ message: '请选择注射时间t<sub>0</sub>'
|
|
|
})
|
|
})
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
@@ -190,7 +190,7 @@
|
|
|
if (!this.form.zs30hx) {
|
|
if (!this.form.zs30hx) {
|
|
|
MessageBox({
|
|
MessageBox({
|
|
|
title: '提示',
|
|
title: '提示',
|
|
|
- message: '请输入注射后半小时内活性?'
|
|
|
|
|
|
|
+ message: '请输入注射后半小时内活性'
|
|
|
})
|
|
})
|
|
|
return
|
|
return
|
|
|
} else {
|
|
} else {
|
|
@@ -205,21 +205,21 @@
|
|
|
if (!this.form.cxsjt1) {
|
|
if (!this.form.cxsjt1) {
|
|
|
MessageBox({
|
|
MessageBox({
|
|
|
title: '提示',
|
|
title: '提示',
|
|
|
- message: '请选择采血时间t1'
|
|
|
|
|
|
|
+ message: '请选择采血时间t<sub>1</sub>'
|
|
|
})
|
|
})
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
if (!this.form.t1hx) {
|
|
if (!this.form.t1hx) {
|
|
|
MessageBox({
|
|
MessageBox({
|
|
|
title: '提示',
|
|
title: '提示',
|
|
|
- message: '请输入t1点活性'
|
|
|
|
|
|
|
+ message: '请输入t<sub>1</sub>点活性'
|
|
|
})
|
|
})
|
|
|
return
|
|
return
|
|
|
} else {
|
|
} else {
|
|
|
if (!this.$recheck.checkIntFloat12(this.form.t1hx)) {
|
|
if (!this.$recheck.checkIntFloat12(this.form.t1hx)) {
|
|
|
MessageBox({
|
|
MessageBox({
|
|
|
title: '提示',
|
|
title: '提示',
|
|
|
- message: 't1点活性请输入整数或2位小数'
|
|
|
|
|
|
|
+ message: 't<sub>1</sub>点活性请输入整数或2位小数'
|
|
|
})
|
|
})
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
@@ -227,21 +227,21 @@
|
|
|
if (!this.form.cxsjt2) {
|
|
if (!this.form.cxsjt2) {
|
|
|
MessageBox({
|
|
MessageBox({
|
|
|
title: '提示',
|
|
title: '提示',
|
|
|
- message: '请选择采血时间t2'
|
|
|
|
|
|
|
+ message: '请选择采血时间t<sub>2</sub>'
|
|
|
})
|
|
})
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
if (!this.form.t2hx) {
|
|
if (!this.form.t2hx) {
|
|
|
MessageBox({
|
|
MessageBox({
|
|
|
title: '提示',
|
|
title: '提示',
|
|
|
- message: '请输入t2点活性'
|
|
|
|
|
|
|
+ message: '请输入t<sub>2</sub>点活性'
|
|
|
})
|
|
})
|
|
|
return
|
|
return
|
|
|
} else {
|
|
} else {
|
|
|
if (!this.$recheck.checkIntFloat12(this.form.t2hx)) {
|
|
if (!this.$recheck.checkIntFloat12(this.form.t2hx)) {
|
|
|
MessageBox({
|
|
MessageBox({
|
|
|
title: '提示',
|
|
title: '提示',
|
|
|
- message: 't2点活性请输入整数或2位小数'
|
|
|
|
|
|
|
+ message: 't<sub>2</sub>点活性请输入整数或2位小数'
|
|
|
})
|
|
})
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
@@ -249,21 +249,21 @@
|
|
|
if (!this.form.cxsjt3) {
|
|
if (!this.form.cxsjt3) {
|
|
|
MessageBox({
|
|
MessageBox({
|
|
|
title: '提示',
|
|
title: '提示',
|
|
|
- message: '请选择采血时间t3'
|
|
|
|
|
|
|
+ message: '请选择采血时间t<sub>3</sub>'
|
|
|
})
|
|
})
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
if (!this.form.t3hx) {
|
|
if (!this.form.t3hx) {
|
|
|
MessageBox({
|
|
MessageBox({
|
|
|
title: '提示',
|
|
title: '提示',
|
|
|
- message: '请输入t3点活性'
|
|
|
|
|
|
|
+ message: '请输入t<sub>3</sub>点活性'
|
|
|
})
|
|
})
|
|
|
return
|
|
return
|
|
|
} else {
|
|
} else {
|
|
|
if (!this.$recheck.checkIntFloat12(this.form.t3hx)) {
|
|
if (!this.$recheck.checkIntFloat12(this.form.t3hx)) {
|
|
|
MessageBox({
|
|
MessageBox({
|
|
|
title: '提示',
|
|
title: '提示',
|
|
|
- message: 't3点活性请输入整数或2位小数'
|
|
|
|
|
|
|
+ message: 't<sub>3</sub>点活性请输入整数或2位小数'
|
|
|
})
|
|
})
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
@@ -275,10 +275,10 @@
|
|
|
})
|
|
})
|
|
|
return
|
|
return
|
|
|
} else {
|
|
} else {
|
|
|
- if (!this.$recheck.checkIntFloat12(this.form.yfghx)) {
|
|
|
|
|
|
|
+ if (!this.$recheck.checkInt(this.form.yfghx)) {
|
|
|
MessageBox({
|
|
MessageBox({
|
|
|
title: '提示',
|
|
title: '提示',
|
|
|
- message: '预防谷活性请输入整数或2位小数'
|
|
|
|
|
|
|
+ message: '预防谷活性请输入整数'
|
|
|
})
|
|
})
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
@@ -357,10 +357,10 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
.container {
|
|
|
- height: 100%;
|
|
|
|
|
|
|
+ height: 100vh;
|
|
|
|
|
|
|
|
.content {
|
|
.content {
|
|
|
- height: 90%;
|
|
|
|
|
|
|
+ height: 100vh;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|