+ /> -->
+
+ 当前选择患者的住院号为:{{ hospitalization }}
+
+
提交
@@ -819,12 +897,17 @@ const formItemLayout = {
labelCol: { span: 6 },
wrapperCol: { span: 12 },
};
+const formItemLayout1 = {
+ labelCol: { span: 0 },
+ wrapperCol: { span: 24 },
+};
const tailItemLayout = { wrapperCol: { span: 18, offset: 4 } };
export default {
name: 'PatientInfo',
data() {
return {
formItemLayout,
+ formItemLayout1,
tailItemLayout,
form: this.$form.createForm(this, { name: 'page-add' }),
value: 1,
@@ -850,7 +933,7 @@ export default {
},
computed: {
- ...mapState('home', ['patientId']),
+ ...mapState('home', ['patientId', 'hospitalization']),
// 上传附加请求头
headers() {
const token = sessionStorage.getItem('anyringToken');
@@ -1186,9 +1269,9 @@ export default {
}
},
// 改变提交时间
- changeDate(date) {
- this.subDateTime = this.$moment(date._d).format('YYYY-MM-DD HH:mm:ss');
- },
+ // changeDate(date) {
+ // this.subDateTime = this.$moment(date._d).format('YYYY-MM-DD HH:mm:ss');
+ // },
// 提交表单
async setData() {
try {
@@ -1196,7 +1279,7 @@ export default {
param: {
list: this.contentList,
patientId: this.patientId,
- timeSlot: this.subDateTime ? this.subDateTime : this.$moment(this.dateChoose).format('YYYY-MM-DD HH:mm:ss'),
+ // timeSlot: this.subDateTime ? this.subDateTime : this.$moment(this.dateChoose).format('YYYY-MM-DD HH:mm:ss'),
nums: this.tabNums,
},
};