|
@@ -165,6 +165,7 @@
|
165
|
165
|
<span v-else></span>
|
166
|
166
|
</template>
|
167
|
167
|
</el-table-column>
|
|
168
|
+
|
168
|
169
|
<el-table-column
|
169
|
170
|
label="医嘱内容"
|
170
|
171
|
property="advice_name"
|
|
@@ -191,6 +192,7 @@
|
191
|
192
|
@click.native="openStop(scope.$index, scope.row)"
|
192
|
193
|
>停止医嘱
|
193
|
194
|
</el-dropdown-item>
|
|
195
|
+
|
194
|
196
|
<el-dropdown-item
|
195
|
197
|
v-if="scope.row.advice_type == 3"
|
196
|
198
|
:disabled="
|
|
@@ -246,6 +248,7 @@
|
246
|
248
|
</el-dropdown-menu>
|
247
|
249
|
</el-dropdown>
|
248
|
250
|
</template>
|
|
251
|
+
|
249
|
252
|
</el-table-column>
|
250
|
253
|
<!-- <el-table-column label="药品规格*数量" width="180" property="drug_spec" align="center">
|
251
|
254
|
<template slot-scope="scope" >
|
|
@@ -3169,7 +3172,6 @@ export default {
|
3169
|
3172
|
});
|
3170
|
3173
|
},
|
3171
|
3174
|
changeAdvice(selection) {
|
3172
|
|
- console.log("溶剂", selection);
|
3173
|
3175
|
// if (this.adviceType == 3) {
|
3174
|
3176
|
// this.lstableData = selection
|
3175
|
3177
|
// } else if (this.adviceType == 1) {
|
|
@@ -3190,15 +3192,12 @@ export default {
|
3190
|
3192
|
this.groupSelectRow = row;
|
3191
|
3193
|
},
|
3192
|
3194
|
selectAdvice(selection, row) {
|
3193
|
|
- console.log("row", row);
|
3194
|
|
- console.log("selection");
|
3195
|
3195
|
if (this.adviceType == 3) {
|
3196
|
3196
|
this.lstableData = selection;
|
3197
|
3197
|
} else if (this.adviceType == 1) {
|
3198
|
3198
|
this.cqtableData = selection;
|
3199
|
3199
|
}
|
3200
|
3200
|
if (this.adviceType != 3) {
|
3201
|
|
-
|
3202
|
3201
|
this.lstableData = [];
|
3203
|
3202
|
} else if (this.adviceType != 1) {
|
3204
|
3203
|
this.cqtableData = [];
|
|
@@ -3232,6 +3231,7 @@ export default {
|
3232
|
3231
|
},
|
3233
|
3232
|
printThisInfo() {
|
3234
|
3233
|
if (this.adviceType == 1) {
|
|
3234
|
+ console.log("长度", this.cqtableData.length);
|
3235
|
3235
|
if (this.cqtableData.length == 0) {
|
3236
|
3236
|
this.$message.error("请勾选需要打印的医嘱!");
|
3237
|
3237
|
return false;
|