提交 3f39ca17 编写于 作者: lyf's avatar lyf

修改备注状态

上级 5c18dbf2
......@@ -17,20 +17,29 @@
style="width: 100%"
>
<el-form-item
label="备注"
label="状态备注"
class="required-label"
prop="repatternRemark"
prop="statusRemark"
>
<el-col :span="15">
<el-input
<!-- <el-input
type="textarea"
v-model="model.repatternRemark"
v-model="model.statusRemark"
style="width: 135%"
size="small"
minlength="2"
maxlength="500"
placeholder="请输入备注信息"
></el-input>
></el-input> -->
<el-select style="width: 135%" size="small" v-model="model.statusRemark" placeholder="请选择备注信息">
<el-option
v-for="item in rematchingOptions"
:key="item"
:label="item"
:value="item">
</el-option>
</el-select>
</el-col>
</el-form-item>
</el-form>
......@@ -52,6 +61,10 @@ export default {
type: Boolean,
default: false,
},
rematchingOptions:{
type: Array,
default: null,
},
bizType: {
type: Number,
default: 10,
......@@ -73,16 +86,23 @@ export default {
cancleTxt: "",
_promise: null,
model: {
repatternRemark: "",
statusRemark: "",
},
addRules: {
repatternRemark: [
{ required: true, message: "请输入备注信息", trigger: "blur" },
statusRemark: [
{ required: true, message: "请选择备注信息", trigger: "blur" },
],
},
};
},
watch:{
rematchingOptions(val,oldval){
console.log(val)
this.model.statusRemark=val[0]?val[0]:""
}
},
created() {
vm = this;
},
methods: {
......@@ -92,7 +112,7 @@ export default {
let req = {
id: this.diagnoseLogId,
bizType: this.bizType,
repatternRemark: this.model.repatternRemark,
statusRemark: this.model.statusRemark,
};
updateDiagnosis(req)
.then(function (res) {
......@@ -110,7 +130,7 @@ export default {
});
},
cancel() {
this.model.repatternRemark = "";
this.model.statusRemark = "";
this.$emit("update:rematchingVisible", false);
},
},
......
......@@ -305,6 +305,7 @@
></diagnosis-time>
<rematching-doctor
@search="search"
:rematchingOptions="rematchingOptions"
:rematchingVisible.sync="rematchingVisible"
:diagnoseLogId="diagnoseLogId"
:bizType="bizType"
......@@ -396,6 +397,7 @@ export default {
fllowList: IS_FLLOW,
sourceList: SOURCE_LIST,
tabpaneList: [],
rematchingOptions:[], // 备注信息
Raw_tabpaneList: [],
tableData: [],
totalRows: 0,
......@@ -879,6 +881,15 @@ export default {
//重新匹配医生
reMatchDot(row, type) {
console.log(row, type);
// console.log("type",type)
if(type==10){
this.rematchingOptions=["接诊医生爽约"]
}
else{
this.rematchingOptions=["助诊医生爽约"]
}
// this.rematchingOptions=
// this.options=
this.rematchingVisible = true;
this.diagnoseLogId = row.diagnoseLogId;
this.bizType = type;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册