罗斌杰 2 years ago
parent
commit
bcd17f4691
  1. 39
      src/views/common-settings/ItemType.vue
  2. 6
      src/views/user-list/UserList.vue

39
src/views/common-settings/ItemType.vue

@ -151,8 +151,12 @@
width="40%" width="40%"
:close-on-click-modal="false" :close-on-click-modal="false"
> >
<span v-if="title == 2 ? true : false">上级部门</span>
<el-cascader
<el-form :model="form" label-width="80px" :rules="rules" ref="ruleForm">
<el-row v-if="title == 2 ? true : false">
<el-col :span="12">
<el-form-item label="上级部门">
<el-cascader
v-if="title == 2" v-if="title == 2"
ref="depref" ref="depref"
@change="cascaderchang" @change="cascaderchang"
@ -169,7 +173,9 @@
clearable clearable
size="small" size="small"
></el-cascader> ></el-cascader>
<el-form :model="form" label-width="80px" :rules="rules" ref="ruleForm">
</el-form-item>
</el-col>
</el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="名称" prop="displayName"> <el-form-item label="名称" prop="displayName">
@ -235,7 +241,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-col :span="8">
<el-form-item label="合并组合" prop="isMergeAsbitem"> <el-form-item label="合并组合" prop="isMergeAsbitem">
<!-- <el-select v-model="form.isMergeAsbitem" placeholder="请选择" style="width: 100%" size="small"> <!-- <el-select v-model="form.isMergeAsbitem" placeholder="请选择" style="width: 100%" size="small">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value"> <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
@ -248,7 +254,7 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-col :span="8">
<el-form-item <el-form-item
label="结果是否换行" label="结果是否换行"
prop="isWrap" prop="isWrap"
@ -261,6 +267,19 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8">
<el-form-item
label="支持检查申请"
prop="isCheckRequest"
label-width="100px"
>
<el-checkbox
v-model="form.isCheckRequest"
true-label="Y"
false-label="N"
/>
</el-form-item>
</el-col>
</el-row> </el-row>
</el-form> </el-form>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
@ -302,6 +321,9 @@ export default {
isWrap: [ isWrap: [
{ required: true, message: "请选择结果是否换行", trigger: "blur" }, { required: true, message: "请选择结果是否换行", trigger: "blur" },
], ],
isCheckRequest: [
{ required: true, message: "请选择是否支持检查申请", trigger: "blur" },
],
checkTypeFlag: [ checkTypeFlag: [
{ required: true, message: "请选择检查类别", trigger: "blur" }, { required: true, message: "请选择检查类别", trigger: "blur" },
], ],
@ -360,6 +382,7 @@ export default {
medicalReportTypeId: "", medicalReportTypeId: "",
isWrap: "N", // isWrap: "N", //
lineModeFlagBox: false, // box lineModeFlagBox: false, // box
isCheckRequest:"N"
}, },
value: "", // value: "", //
dialogVisible: false, dialogVisible: false,
@ -658,10 +681,12 @@ export default {
guidTypeId: this.form.guidTypeId, guidTypeId: this.form.guidTypeId,
medicalReportTypeId: this.form.medicalReportTypeId, medicalReportTypeId: this.form.medicalReportTypeId,
isWrap: this.form.isWrap, isWrap: this.form.isWrap,
isCheckRequest:this.form.isCheckRequest
}).then((res) => { }).then((res) => {
if (res.code != -1) { if (res.code != -1) {
//this.$message.success(""); //this.$message.success("");
this.getlist(); this.getlist();
this.$refs["tableData"].setCurrentRow("");
this.dialogVisible = false; this.dialogVisible = false;
this.isshow = true; this.isshow = true;
} }
@ -675,10 +700,12 @@ export default {
guidTypeId: this.form.guidTypeId, guidTypeId: this.form.guidTypeId,
medicalReportTypeId: this.form.medicalReportTypeId, medicalReportTypeId: this.form.medicalReportTypeId,
isWrap: this.form.isWrap, isWrap: this.form.isWrap,
isCheckRequest:this.form.isCheckRequest
}).then((res) => { }).then((res) => {
if (res.code != -1) { if (res.code != -1) {
//this.$message.success(""); //this.$message.success("");
this.getlist(); this.getlist();
this.$refs["tableData"].setCurrentRow("");
this.dialogVisible = false; this.dialogVisible = false;
this.isshow = true; this.isshow = true;
} }
@ -695,10 +722,12 @@ export default {
guidTypeId: this.form.guidTypeId, guidTypeId: this.form.guidTypeId,
medicalReportTypeId: this.form.medicalReportTypeId, medicalReportTypeId: this.form.medicalReportTypeId,
isWrap: this.form.isWrap, isWrap: this.form.isWrap,
isCheckRequest:this.form.isCheckRequest
}).then((res) => { }).then((res) => {
if (res.code != -1) { if (res.code != -1) {
//this.$message.success(""); //this.$message.success("");
this.getlist(); this.getlist();
this.$refs["tableData"].setCurrentRow("");
this.dialogVisible = false; this.dialogVisible = false;
this.isshow = true; this.isshow = true;
} }

6
src/views/user-list/UserList.vue

@ -539,7 +539,7 @@
</el-dialog> </el-dialog>
<!-- 修改密码弹框 --> <!-- 修改密码弹框 -->
<el-dialog <el-dialog
:title="'修改密码' + '用户' + usersName"
:title="`修改用户${usersName}密码`"
:visible.sync="editpassworddialogVisible" :visible.sync="editpassworddialogVisible"
width="30%" width="30%"
:close-on-click-modal="false" :close-on-click-modal="false"
@ -888,8 +888,8 @@ export default {
this.$message.warning("请选择操作的数据"); this.$message.warning("请选择操作的数据");
} else { } else {
this.editpassworddialogVisible = true; this.editpassworddialogVisible = true;
this.passwordid = curRow.id;
this.usersName = curRow.userName;
this.passwordid = this.curRow.id;
this.usersName = this.curRow.surname;
} }
}, },
// //

Loading…
Cancel
Save