src/views/doctor/check/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/hosp/harmType/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/hosp/project/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
vue.config.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/doctor/check/index.vue
@@ -500,6 +500,7 @@ info: {}, allList: [], autorule: [], vals:{}, form: { createTime: new Date() }, @@ -799,6 +800,7 @@ }, checkboxchange(val) { this.vals = val this.project = val.project this.formIn.tjNumber = this.tableAll.tjNumber this.formIn.cusId = this.tableAll.cusId @@ -814,6 +816,8 @@ }) if (val.isPositive == "1") { this.checkval = true; this.formIn.flag = "0" this.formIn.level="" } else { this.formIn.flag = "0" addBigPositive(this.formIn).then(res => { @@ -831,7 +835,7 @@ }, cancell() { this.checkval = false; this.vals.isPositive = "0" }, Hzlog(val) { src/views/hosp/harmType/index.vue
@@ -50,7 +50,7 @@ <el-table-column label="职业病编码" align="center" prop="harmCode" /> <el-table-column label="职业病名称" align="center" prop="harmType" /> <el-table-column label="职业病拼音码" align="center" prop="harmPinYin" /> <el-table-column label="信息" align="center" prop="harmInfo" /> <el-table-column label="描述" align="center" prop="harmInfo" /> <el-table-column label="防护措施" align="center" prop="protection" /> <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <template slot-scope="scope"> @@ -85,11 +85,11 @@ <el-input v-model="form.harmPinYin" placeholder="请输入拼音码" /> </el-form-item> <el-form-item label="名称" prop="harmType"> <el-input v-model="form.harmType" placeholder="请输入拼音码" /> <el-input v-model="form.harmType" placeholder="请输入名称" /> </el-form-item> <el-form-item label="信息" prop="harmInfo"> <el-input v-model="form.harmInfo" type="textarea" placeholder="请输入内容" /> <el-form-item label="描述" prop="harmInfo"> <el-input v-model="form.harmInfo" type="textarea" placeholder="请输入描述" /> </el-form-item> @@ -255,7 +255,7 @@ getHarmType(aid).then(response => { this.form = response.data; this.open = true; this.title = "修改职业病"; this.title = "有害因素"; }); }, /** 提交按钮 */ @@ -269,11 +269,16 @@ this.getList(); }); } else { if(this.form.harmPinYin && this.form.harmType && this.form.harmCode){ addHarmType(this.form).then((response) => { this.$modal.msgSuccess("新增成功"); this.open = false; this.getList(); }); }else{ this.$modal.msgError("请填写必填项信息"); } } } }); src/views/hosp/project/index.vue
@@ -54,8 +54,9 @@ <el-table-column label="项目名称" prop="proName" fixed="left" :width="flexColumnWidth('rwdtypeName')" /> <el-table-column label="项目价格(单位/元)" align="center" prop="proPrice" width="75px" :show-overflow-tooltip="true"></el-table-column> <el-table-column label="科室名称" align="center" prop="deptName" width="110px" :show-overflow-tooltip="true" /> <!-- <el-table-column label="科室名称" align="center" prop="deptName" width="110px" :show-overflow-tooltip="true" /> --> <el-table-column label="检查类别" align="center" prop="proCheckType" width="110px" :show-overflow-tooltip="true" /> <el-table-column label="默认值" align="center" prop="proDefault" width="110px" :show-overflow-tooltip="true" /> <el-table-column label="临床意义" align="center" prop="proMeaning" width="350px" :show-overflow-tooltip="true" /> <!-- <el-table-column label="检查方式" align="center" prop="proCheckMethod" :show-overflow-tooltip="true" width="110px" /> --> @@ -356,7 +357,6 @@ components: { Treeselect, IconSelect }, data() { let checkPhoneNum = (rule, value, callback) => { console.log(value) let patter = new RegExp(/^1\s*[3456789]\s*(\d\s*){9}$/); if (value == "" && value == undefined && !value) { return callback(''); @@ -563,17 +563,15 @@ // 打开input弹框 getDetailed() { if (this.form.proParentId) { if (this.selectList.proName === "主类目") { if (this.form.proParentId == 0) { this.dialogTableVisible = false; } else { } else if (this.form.proParentId != 0) { this.dialogTableVisible = true; this.getlistSfxm() } } else { this.$message.error("请选择主项名称"); } }, @@ -802,7 +800,6 @@ //英文字母 8 像素 flexWidth += 8; } else if (char >= '\u4e00' && char <= '\u9fa5') { console.log(22222) //中文文字 15 像素 flexWidth += 15; } else { @@ -909,6 +906,13 @@ const proId = row.proId || this.ids; getProject(proId).then((response) => { this.form = response.data; if (this.form.proParentId === "0") { this.showPrise = true; this.showRentPrise = false; } else { this.showPrise = false; this.showRentPrise = true; } this.form.deptId = Number(this.form.deptId) if (this.form.proStatus === 0) { this.form.proStatus = "启用"; vue.config.js
@@ -36,7 +36,7 @@ // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { //target: `https://ltpeis.xaltjdkj.cn:5501/prod-api/getInfo`, target: `http://192.168.0.111:5011`, target: `http://192.168.0.104:5011`, // // target: `http://192.168.0.99:8080/ltkj-admin`, // target: `https://ltpeis.xaltjdkj.cn:5011/ltkj-admin`, // target: `http://10.168.0.9:5011`,