Browse Source

新增默认名称选中

master
mch 3 years ago
parent
commit
835dc95bc5
  1. 11
      src/views/common-settings/ItemType.vue
  2. 75
      src/views/common-settings/SampleGroup.vue
  3. 5
      src/views/fee-settings/Asbitem.vue
  4. 4
      src/views/fee-settings/Diagnosis.vue
  5. 5
      src/views/fee-settings/DiagnosisTemplate.vue
  6. 5
      src/views/fee-settings/Item.vue
  7. 4
      src/views/fee-settings/ItemTemplate.vue
  8. 6
      src/views/fee-settings/MedicalPackage.vue

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

@ -72,7 +72,10 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="名称" prop="displayName"> <el-form-item label="名称" prop="displayName">
<el-input v-model="form.displayName" ref="refinput"></el-input>
<el-input
v-model="form.displayName"
ref="refinput"
></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -291,6 +294,9 @@ export default {
this.form = {}; this.form = {};
this.form.parentId = data.id; this.form.parentId = data.id;
this.dialogVisible = true; this.dialogVisible = true;
this.$nextTick(()=>{
this.$refs.refinput.focus()
})
basicsetings().then((res) => { basicsetings().then((res) => {
this.guideoptions = res.data.items; this.guideoptions = res.data.items;
}); });
@ -303,6 +309,9 @@ export default {
this.form = {}; this.form = {};
this.dialogVisible = true; this.dialogVisible = true;
this.title = 1; this.title = 1;
this.$nextTick(()=>{
this.$refs.refinput.focus()
})
basicsetings().then((res) => { basicsetings().then((res) => {
console.log(res); console.log(res);
this.guideoptions = res.data.items; this.guideoptions = res.data.items;

75
src/views/common-settings/SampleGroup.vue

@ -64,7 +64,10 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="名称" prop="displayName"> <el-form-item label="名称" prop="displayName">
<el-input v-model="form.displayName"></el-input>
<el-input
v-model="form.displayName"
ref="refinput"
></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
@ -128,40 +131,40 @@
<el-button type="primary" @click="addoredit"> </el-button> <el-button type="primary" @click="addoredit"> </el-button>
</span> </span>
</el-dialog> </el-dialog>
<div style="margin-top:20px">
<span style="margin-top: 10px; padding: 5px; margin-left: 15%"
>项目类别</span
>
<el-select
v-model="values"
placeholder="请选择"
@change="ischangs"
style="margin-top: 5px"
>
<el-option
v-for="item in projectid"
:key="item.id"
:label="item.displayName"
:value="item.id"
<div style="margin-top: 20px">
<span style="margin-top: 10px; padding: 5px; margin-left: 15%"
>项目类别</span
> >
</el-option>
</el-select>
<!-- -->
<span style="margin-left: 10%; padding: 5px">搜索选择</span>
<el-select
filterable
v-model="flitvalues"
placeholder="请选择"
style="margin-top: 5px"
>
<el-option
v-for="item in filetelists"
:key="item.id"
:label="item.displayName"
:value="item.id"
<el-select
v-model="values"
placeholder="请选择"
@change="ischangs"
style="margin-top: 5px"
> >
</el-option>
</el-select>
<el-option
v-for="item in projectid"
:key="item.id"
:label="item.displayName"
:value="item.id"
>
</el-option>
</el-select>
<!-- -->
<span style="margin-left: 10%; padding: 5px">搜索选择</span>
<el-select
filterable
v-model="flitvalues"
placeholder="请选择"
style="margin-top: 5px"
>
<el-option
v-for="item in filetelists"
:key="item.id"
:label="item.displayName"
:value="item.id"
>
</el-option>
</el-select>
</div> </div>
<!-- 111 --> <!-- 111 -->
<div style="display: flex; padding: 10px"> <div style="display: flex; padding: 10px">
@ -236,7 +239,7 @@
</el-card> </el-card>
</div> </div>
<!-- 按钮区域 --> <!-- 按钮区域 -->
<div style="margin-left: 10px;margin-top:4rem">
<div style="margin-left: 10px; margin-top: 4rem">
<el-button type="primary" @click="addll">新增</el-button> <el-button type="primary" @click="addll">新增</el-button>
<div style="margin-top: 10px"> <div style="margin-top: 10px">
<el-button type="primary" @click="editreport">编辑</el-button> <el-button type="primary" @click="editreport">编辑</el-button>
@ -647,6 +650,10 @@ export default {
this.dialogVisible = true; this.dialogVisible = true;
this.title = 1; this.title = 1;
this.form = {}; this.form = {};
this.$nextTick(() => {
this.$refs.refinput.focus();
});
//id //id
specimenlist(this.pages).then((res) => { specimenlist(this.pages).then((res) => {
this.sampleTypeId = res.data.items; this.sampleTypeId = res.data.items;

5
src/views/fee-settings/Asbitem.vue

@ -65,7 +65,7 @@
<el-row> <el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="名称" prop="displayName"> <el-form-item label="名称" prop="displayName">
<el-input v-model="form.displayName"></el-input>
<el-input v-model="form.displayName" ref="refinput"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
@ -925,6 +925,9 @@ export default {
addll() { addll() {
this.dialogVisible = true; this.dialogVisible = true;
this.title = 1; this.title = 1;
this.$nextTick(()=>{
this.$refs.refinput.focus()
})
// //
examinationgender().then((res) => { examinationgender().then((res) => {

4
src/views/fee-settings/Diagnosis.vue

@ -146,6 +146,7 @@
<el-col :span="8"> <el-col :span="8">
<el-form-item label="名称" prop="displayName"> <el-form-item label="名称" prop="displayName">
<el-input <el-input
ref="refinput"
v-model="form.displayName" v-model="form.displayName"
style="width: 100%" style="width: 100%"
></el-input> </el-form-item ></el-input> </el-form-item
@ -606,6 +607,9 @@ export default {
this.dialogVisible = true; this.dialogVisible = true;
this.title = 1; this.title = 1;
this.form = {}; this.form = {};
this.$nextTick(()=>{
this.$refs.refinput.focus()
})
// //
projectlist().then((res) => { projectlist().then((res) => {
this.itemTypeId = res.data; this.itemTypeId = res.data;

5
src/views/fee-settings/DiagnosisTemplate.vue

@ -146,6 +146,7 @@
<el-col :span="8"> <el-col :span="8">
<el-form-item label="名称" prop="displayName"> <el-form-item label="名称" prop="displayName">
<el-input <el-input
ref="refinput"
v-model="form.displayName" v-model="form.displayName"
style="width: 100%" style="width: 100%"
maxlength="1" maxlength="1"
@ -540,6 +541,10 @@ export default {
this.dialogVisible = true; this.dialogVisible = true;
this.title = 1; this.title = 1;
this.form = {}; this.form = {};
this.$nextTick(()=>{
this.$refs.refinput.focus()
})
// //
projectlist().then((res) => { projectlist().then((res) => {
this.itemTypeId = res.data.items; this.itemTypeId = res.data.items;

5
src/views/fee-settings/Item.vue

@ -113,7 +113,7 @@
<el-row> <el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="名称" prop="displayName"> <el-form-item label="名称" prop="displayName">
<el-input v-model="form.displayName"></el-input>
<el-input v-model="form.displayName" ref="refinput"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
@ -1706,6 +1706,9 @@ export default {
this.title = 1; this.title = 1;
this.dialogVisible = true; this.dialogVisible = true;
this.form = {}; this.form = {};
this.$nextTick(()=>{
this.$refs.refinput.focus()
})
this.addorgropdata(); this.addorgropdata();
}, },
// //

4
src/views/fee-settings/ItemTemplate.vue

@ -155,6 +155,7 @@
<el-col :span="8"> <el-col :span="8">
<el-form-item label="名称" prop="displayName"> <el-form-item label="名称" prop="displayName">
<el-input <el-input
ref="refinput"
v-model="form.displayName" v-model="form.displayName"
style="width: 80%" style="width: 80%"
></el-input> ></el-input>
@ -586,6 +587,9 @@ export default {
this.dialogVisible = true; this.dialogVisible = true;
this.title = 1; this.title = 1;
this.form = {}; this.form = {};
this.$nextTick(()=>{
this.$refs.refinput.focus()
})
}, },
getlist() { getlist() {
getapi("/api/app/item-template/in-filter", this.pages).then((res) => { getapi("/api/app/item-template/in-filter", this.pages).then((res) => {

6
src/views/fee-settings/MedicalPackage.vue

@ -67,6 +67,7 @@
<el-col :span="8"> <el-col :span="8">
<el-form-item label="名称" prop="displayName"> <el-form-item label="名称" prop="displayName">
<el-input <el-input
ref="refinput"
v-model="form.displayName" v-model="form.displayName"
style="width: 80%" style="width: 80%"
></el-input> ></el-input>
@ -148,7 +149,7 @@
</span> </span>
</el-dialog> </el-dialog>
<!-- --> <!-- -->
<span style="margin-top: 10px; padding: 5px; margin-left: 20.5%"
<span style="margin-top: 10px; padding: 5px; margin-left: 28.5%"
>项目类别</span >项目类别</span
> >
<el-select <el-select
@ -662,6 +663,9 @@ export default {
this.dialogVisible = true; this.dialogVisible = true;
this.title = 1; this.title = 1;
this.form = {}; this.form = {};
this.$nextTick(()=>{
this.$refs.refinput.focus()
})
}, },
getlist() { getlist() {
getapi("/api/app/medical-package/in-filter", this.pages).then((res) => { getapi("/api/app/medical-package/in-filter", this.pages).then((res) => {

Loading…
Cancel
Save