| | |
| | | 性别: |
| | | </td> |
| | | <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> |
| | | {{ tableAll.cusSex }} |
| | | {{ tableAll.cusSex == 0? "男" :tableAll.cusSex == 1?"女":"未知"}} |
| | | </td> |
| | | </tr> |
| | | <tr style="border: 1px solid #dfe6ec; border-collapse: collapse"> |
| | |
| | | </td> |
| | | </tr> |
| | | </table> |
| | | <el-radio-group v-model="proposal" @input="proposalChange" style="margin-left: 20px;margin-bottom: 20px"> |
| | | <el-radio-button label="0">快捷建议</el-radio-button> |
| | | <el-radio-button label="1">常用建议</el-radio-button> |
| | | <el-radio-button label="2">一键生成</el-radio-button> |
| | | </el-radio-group> |
| | | <el-form ref="numberValidateForm" label-width="80px" class="demo-ruleForm"> |
| | | <el-form-item label="总检建议"> |
| | | <el-input type="textarea" placeholder="请输入内容" v-model="textarea1" :rows="3" style="width: 96%"> |
| | |
| | | </span> |
| | | </el-dialog> |
| | | <Packages ref="bbb" :baogao="baogao" /> |
| | | |
| | | <el-dialog title="常用建议维护" :visible.sync="propdialog" width="500px" append-to-body> |
| | | <el-form ref="form" :model="propform" label-width="80px"> |
| | | <el-form-item label="建议标题" prop="title"> |
| | | <el-input v-model="propform.title" placeholder="请输入名称标题" /> |
| | | </el-form-item> |
| | | <el-form-item label="快捷标签" prop="title"> |
| | | <el-input v-model="propform.title" placeholder="请输入名称标题" /> |
| | | </el-form-item> |
| | | <el-form-item label="建议内容" prop="advice"> |
| | | <el-input |
| | | type="textarea" |
| | | v-model="propform.advice" |
| | | :autosize="{ minRows: 9, maxRows: 10 }" |
| | | placeholder="请输入建议" |
| | | /> |
| | | </el-form-item> |
| | | </el-form> |
| | | <!-- <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="submitForm">确 定</el-button> |
| | | <el-button @click="cancel">取 消</el-button> |
| | | </div> --> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import { |
| | | getTjYxjcList |
| | | } from "@/api/system/package"; |
| | | import { getNewDateList } from "@/api/hosp/order"; |
| | | import moment from "moment"; |
| | | export default { |
| | | components: { |
| | | ViewPdf, |
| | |
| | | hosproy: true, |
| | | remarks: "", |
| | | remark: "", |
| | | proposal:"0", |
| | | propdialog:false, |
| | | propform:{}, |
| | | proIds: "", |
| | | xiaojie: "", |
| | | isdisabled: false, |
| | |
| | | }, |
| | | |
| | | created() { |
| | | this.getNowTime(); |
| | | this.getList(); |
| | | // this.getNowTime(); |
| | | |
| | | this.getdate(); |
| | | }, |
| | | |
| | | mounted() { |
| | |
| | | }); |
| | | }, |
| | | methods: { |
| | | getdate() { |
| | | getNewDateList().then((res) => { |
| | | this.startTime = [ |
| | | moment(res.data).format("YYYY-MM-DD 00:00:00"), |
| | | moment(res.data).format("YYYY-MM-DD 23:59:00"), |
| | | ]; |
| | | this.getList(); |
| | | }); |
| | | }, |
| | | // / 处理默认选中当前日期 |
| | | getNowTime() { |
| | | var curDate = new Date().getTime(); |
| | |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | proposalChange(){ |
| | | if(this.proposal == "2"){ |
| | | this.propdialog = true |
| | | } |
| | | }, |
| | | radiotjprojectChange() { |
| | | if (this.tjproject == "0") { |
| | | getupdateCheckType(this.tjNumber).then((response) => { |
| | |
| | | }, |
| | | // 重置 |
| | | resetQuery() { |
| | | this.startTime=[] |
| | | this.resetForm("tableList"); |
| | | this.submitForm(); |
| | | }, |
| | | |
| | | // 点击详情 |
| | | handleClick(row) { |
| | | |
| | | this.tableAll = row; |
| | | this.tjproject = "0" |
| | | if (this.tableAll.cusSex === 0) { |
| | | this.tableAll.cusSex = "男"; |
| | | } |
| | | if (this.tableAll.cusSex === 1) { |
| | | this.tableAll.cusSex = "女"; |
| | | } |
| | | if (this.tableAll.cusSex === 2) { |
| | | this.tableAll.cusSex = "未知"; |
| | | } |
| | | // if (this.tableAll.cusSex === 0) { |
| | | // this.tableAll.cusSex = "男"; |
| | | // } |
| | | // if (this.tableAll.cusSex === 1) { |
| | | // this.tableAll.cusSex = "女"; |
| | | // } |
| | | // if (this.tableAll.cusSex === 2) { |
| | | // this.tableAll.cusSex = "未知"; |
| | | // } |
| | | this.tjNumber = this.tableAll.tjNumber; |
| | | getState(this.tjNumber).then((res) => { |
| | | this.status = res.data; |
| | |
| | | this.drawer = true; |
| | | getupdateCheckType(this.tjNumber).then((response) => { |
| | | this.changedate = response.data; |
| | | this.changedate.forEach((item) => { |
| | | if (this.changedate) { |
| | | this.changedate.forEach((item) => { |
| | | this.textarea1 = item.checkAdvice; |
| | | }); |
| | | if (this.changedate) { |
| | | for (let i = 0; i < this.changedate.length; i++) { |
| | | this.remark = this.changedate[i].remark; |
| | | } |
| | |
| | | }); |
| | | }); |
| | | this.drawer = false; |
| | | |
| | | } |
| | | }); |
| | | |