qx
qx
2025-05-19 709ca6571c3817c3ec27c0368f5582ef65391cb9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<template>
    <div class="app-container">
 
        <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px">
            <el-form-item label="项目名称" prop="tjh">
                <el-input v-model="queryParams.tjh" placeholder="请输入项目名称" clearable />
            </el-form-item>
            <el-form-item>
                <el-button type="primary" size="mini" @click="handleManual">查询</el-button>
                <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
            </el-form-item>
        </el-form>
        <el-table border v-loading="loading" :data="partList" height="350">
            <el-table-column type="selection" width="40px" align="center" />
            <el-table-column label="序号" align="center" prop="newID" width="50px" />
            <el-table-column label="项目名称" align="center" prop="groupingName" />
        </el-table>
 
 
        <el-dialog :title="title" :visible.sync="openOne" width="1400px" append-to-body :close-on-click-modal="false">
            <el-row :gutter="24">
                <el-col :span="15" :xs="24">
                    <el-form :model="form" ref="queryForm" size="small" :inline="true" label-width="46px"
                        style="height: 35px" @submit.native.prevent>
                        <el-form-item label="标本类型">
                            <el-input ref="inputName" v-model="form.price" placeholder="标本类型" clearable
                                style="width: 140px" />
                        </el-form-item>
                        <el-form-item>
                            <el-button icon="el-icon-refresh" size="mini" @click="resetQuerys">重置</el-button>
                        </el-form-item>
                    </el-form>
                    <el-table border v-loading="loading" :data="OnenewpacName" :row-class-name="tableRowClassName"
                        height="478">
                        <el-table-column label="原价" align="center" prop="proPrice" width="85"></el-table-column>
                        <el-table-column label="操作" align="center" width="85">
                            <template slot-scope="scope">
                                <el-button size="mini" type="text" icon="el-icon-delete"
                                    @click="handledbelete(scope.row)">删除</el-button>
                            </template>
                        </el-table-column>
                    </el-table>
                </el-col>
 
                <el-col :span="7" :xs="24">
                    <el-form :model="queryParams1" ref="queryForm" size="small" :inline="true" v-show="showSearch"
                        label-width="68px" @submit.native.prevent>
 
 
                        <el-form-item label="项目名称" prop="proName">
                            <el-input ref="inputName" v-model="queryParams1.proName" placeholder="请输入项目名称" clearable
                                @keyup.enter.native="handleSearchFor" style="width: 140px" />
                        </el-form-item>
                        <el-form-item>
                            <el-button type="primary" icon="el-icon-search" size="mini"
                                @click="handleSearchFor">搜索</el-button>
                        </el-form-item>
                    </el-form>
                    <el-table border v-loading="loading" ref="tre" :data="Treedata"
                        @selection-change="handleChangesingle" height="478" style="width: 100%">
                        <el-table-column type="selection" width="40px" align="center" />
                        <el-table-column label="项目名称" align="center" prop="proName" width="230px" />
                        <el-table-column label="项目价格/元" align="center" prop="proPrice" width="100px" />
                    </el-table>
                </el-col>
            </el-row>
            <div slot="footer" class="dialog-footer1">
                <el-button type="primary" @click="submitrighr">确认并保存</el-button>
                <el-button @click="cancell">取 消</el-button>
            </div>
        </el-dialog>
    </div>
</template>
 
<script>
// import {  } from "@/api/system/menu";
export default {
    name: "Part",
    //   dicts: [
    //     "",
    //   ],
    data() {
        return {
            loading: false,
            openOne: false,
            partList: [],
            Treedata: [],
            queryParams: {
 
            },
            queryParams1: {
 
            },
            form: {
 
            },
 
        }
    },
    created() {
    },
    methods: {
        getList() {
 
        },
        resetQuery() {
            this.resetForm("queryForm");
        },
        handleManual() {
 
        },
        handleChangesingle(selection) {
 
        },
        cancell() {
            this.openOne = false
        },
        submitrighr() {
 
        },
    }
};
</script>