93 lines
2.2 KiB
Vue
93 lines
2.2 KiB
Vue
<template>
|
|
<div class="dialog-content dialog-remark-batch">
|
|
<div class="p-16">
|
|
<el-input type="textarea" :rows="4" placeholder="请输入个人备注内容" v-model="ObjectInfo.remark" @change="handleSubmit()" maxlength="200"></el-input>
|
|
</div>
|
|
<span class="dialog-footer">
|
|
<el-button size="small" @click="handleRes()">清空</el-button>
|
|
</span>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import api from "@/services/caseManagement";
|
|
export default {
|
|
components: {
|
|
},
|
|
props: {
|
|
caseId: {
|
|
type: String,
|
|
default: () => {},
|
|
},
|
|
caseRemark: {
|
|
type: String,
|
|
default: () => {},
|
|
},
|
|
},
|
|
data() {
|
|
return {
|
|
ObjectInfo:{
|
|
remark: '',
|
|
caseId:this.caseId,
|
|
},
|
|
};
|
|
},
|
|
|
|
mounted () {
|
|
this.ObjectInfo.remark = this.caseRemark
|
|
},
|
|
methods: {
|
|
handleSubmit(){
|
|
api.mediateRemark(this.ObjectInfo).then((res) => {
|
|
this.$emit('handleSubmit',23213)
|
|
});
|
|
},
|
|
handleRes(){
|
|
this.ObjectInfo.remark = ''
|
|
this.handleSubmit()
|
|
},
|
|
handleClose() {
|
|
this.$emit('update:singleremarkvisible', false)
|
|
},
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.dialog-remark-batch {
|
|
width: 395px;
|
|
max-height: 500px;
|
|
|
|
.tabs__search-criteria-title {
|
|
width: 100%;
|
|
}
|
|
|
|
.case-batch-num {
|
|
background-color: rgba(236, 238, 241, 0.8196078431);
|
|
padding: 15px 20px;
|
|
border-radius: 4px;
|
|
|
|
a {
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
color: #C66A5B;
|
|
}
|
|
}
|
|
|
|
.officelist {
|
|
background-color: rgba(236, 238, 241, 0.8196078431);
|
|
padding: 20px 20px;
|
|
|
|
.el-checkbox {
|
|
width: 180px;
|
|
margin: 10px;
|
|
}
|
|
}
|
|
.dialog-footer{
|
|
display: inline-block;
|
|
width: 400px;
|
|
text-align: right;
|
|
border-top: solid 1px #E5E6EB;
|
|
padding: 10px;
|
|
}
|
|
}
|
|
</style> |