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

修改备注状态

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