dev
This commit is contained in:
parent
480a84c6cc
commit
535bac0edf
|
|
@ -34,8 +34,8 @@
|
||||||
v-model:current-page="searchResult.pageNum" @current-change="changePage"/>
|
v-model:current-page="searchResult.pageNum" @current-change="changePage"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn">
|
<div class="btn">
|
||||||
<span class="small-btn" @click="confirm">确认</span>
|
<span class="default-btn default-close-btn" @click="close">关闭</span>
|
||||||
<span class="small-btn" @click="close">关闭</span>
|
<span class="default-btn" @click="confirm">确认</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -53,7 +53,7 @@ const show = ref(false);
|
||||||
|
|
||||||
const emit = defineEmits(["confirm"])
|
const emit = defineEmits(["confirm"])
|
||||||
|
|
||||||
let searchResult = ref({
|
let searchResult = ref<any>({
|
||||||
totalPage: 0,
|
totalPage: 0,
|
||||||
list: [],
|
list: [],
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
|
|
@ -95,8 +95,6 @@ function initSearchData() {
|
||||||
let confirm = () => {
|
let confirm = () => {
|
||||||
emit('confirm', curItem)
|
emit('confirm', curItem)
|
||||||
close()
|
close()
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
let isloading = ref(false);
|
let isloading = ref(false);
|
||||||
let searchSocialItem = () => {
|
let searchSocialItem = () => {
|
||||||
|
|
@ -113,6 +111,9 @@ let searchSocialItem = () => {
|
||||||
}
|
}
|
||||||
const close = () => {
|
const close = () => {
|
||||||
show.value = false;
|
show.value = false;
|
||||||
|
keyword.value = ''
|
||||||
|
curItem = null;
|
||||||
|
searchResult.value = {}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|
@ -137,6 +138,7 @@ const close = () => {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
.input {
|
.input {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
@ -183,14 +185,4 @@ const close = () => {
|
||||||
:deep(.el-input__wrapper) {
|
:deep(.el-input__wrapper) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
|
||||||
.default-btn {
|
|
||||||
margin-right: 24px;
|
|
||||||
|
|
||||||
&:last-child {
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="原价">
|
<el-descriptions-item label="原价">
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-input v-model="form.purchaseUnitPrice" readonly>
|
<el-input v-model="form.purchaseUnitPrice" readonly disabled>
|
||||||
<template #prefix>
|
<template #prefix>
|
||||||
¥
|
¥
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -38,7 +38,7 @@
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="售价">
|
<el-descriptions-item label="售价">
|
||||||
<el-form-item prop="unitPrice">
|
<el-form-item prop="unitPrice">
|
||||||
<el-input v-model="form.unitPrice" readonly>
|
<el-input v-model="form.unitPrice" readonly disabled>
|
||||||
<template #prefix>¥</template>
|
<template #prefix>¥</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
@ -89,8 +89,11 @@
|
||||||
<el-pagination background layout="prev, pager, next" v-model:page-count="pageNum"
|
<el-pagination background layout="prev, pager, next" v-model:page-count="pageNum"
|
||||||
:page-size="pageSize" :total="total" @current-change="changePage"/>
|
:page-size="pageSize" :total="total" @current-change="changePage"/>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<span class="default-btn default-close-btn" @click="close">取消</span>
|
||||||
<span class="default-btn" @click="save">保存</span>
|
<span class="default-btn" @click="save">保存</span>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</Mask>
|
</Mask>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -225,5 +228,10 @@ defineExpose({init})
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0 24px;
|
padding: 0 24px;
|
||||||
}
|
}
|
||||||
|
.default-btn{
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
.default-close-btn{
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<el-table border style="height: 100%" :data="tableList" :header-cell-style="{ backgroundColor: '#F1F5FB' }">
|
<el-table border style="height: 100%" :data="tableList" :header-cell-style="{ backgroundColor: '#F1F5FB' }">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemName"
|
prop="name"
|
||||||
label="组套名称">
|
label="组套名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
|
@ -204,4 +204,7 @@ const handleCurrentChange = (val: any) => {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: #ff0000;
|
color: #ff0000;
|
||||||
}
|
}
|
||||||
|
.default-btn{
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,12 @@
|
||||||
end-placeholder="结束时间"
|
end-placeholder="结束时间"
|
||||||
unlink-panels
|
unlink-panels
|
||||||
/>
|
/>
|
||||||
<el-input placeholder="请输入内容" v-model="searchModel.managerName" style="width: 180px;"></el-input>
|
<el-input placeholder="姓名" v-model="searchModel.managerName" style="width: 180px;"></el-input>
|
||||||
<el-input placeholder="请输入内容" v-model="searchModel.message" style="width: 180px;"></el-input>
|
<el-input placeholder="操作" v-model="searchModel.message" style="width: 180px;"></el-input>
|
||||||
|
<span class="default-btn default-close-btn" @click="colse">
|
||||||
|
<span class="iconfont icon-RectangleCopy1"></span>
|
||||||
|
重置
|
||||||
|
</span>
|
||||||
<span class="default-btn" @click="getData">
|
<span class="default-btn" @click="getData">
|
||||||
<span class="iconfont icon-RectangleCopy"></span>
|
<span class="iconfont icon-RectangleCopy"></span>
|
||||||
查询
|
查询
|
||||||
|
|
@ -26,7 +30,7 @@
|
||||||
:header-cell-style="{backgroundColor: '#F1F5FB'}"
|
:header-cell-style="{backgroundColor: '#F1F5FB'}"
|
||||||
|
|
||||||
>
|
>
|
||||||
<el-table-column prop="managerName" label="用户名" width="150" show-overflow-tooltip></el-table-column>
|
<el-table-column prop="managerName" label="姓名" width="150" show-overflow-tooltip></el-table-column>
|
||||||
<el-table-column prop="managerUsername" label="用户名" width="150" show-overflow-tooltip></el-table-column>
|
<el-table-column prop="managerUsername" label="用户名" width="150" show-overflow-tooltip></el-table-column>
|
||||||
<el-table-column prop="message" label="操作" width="200" show-overflow-tooltip></el-table-column>
|
<el-table-column prop="message" label="操作" width="200" show-overflow-tooltip></el-table-column>
|
||||||
<el-table-column prop="createDatetime" label="时间" width="200" show-overflow-tooltip></el-table-column>
|
<el-table-column prop="createDatetime" label="时间" width="200" show-overflow-tooltip></el-table-column>
|
||||||
|
|
@ -99,12 +103,18 @@ const handleDateChange = (date: any[]) => {
|
||||||
selectedDate.value = formatDateArray(date)
|
selectedDate.value = formatDateArray(date)
|
||||||
selectedDate.value[1] = getEndOfDay(selectedDate.value[1]); // 输出今天 23:59
|
selectedDate.value[1] = getEndOfDay(selectedDate.value[1]); // 输出今天 23:59
|
||||||
}
|
}
|
||||||
|
getData()
|
||||||
}
|
}
|
||||||
|
|
||||||
const copy = (text: any) => {
|
const copy = (text: any) => {
|
||||||
ElMessage.success('复制成功')
|
ElMessage.success('复制成功')
|
||||||
navigator.clipboard.writeText(text)
|
navigator.clipboard.writeText(text)
|
||||||
}
|
}
|
||||||
|
const colse=() => {
|
||||||
|
selectedDate.value = []
|
||||||
|
searchModel.value = {}
|
||||||
|
getData()
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.container-wrapper {
|
.container-wrapper {
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
<el-input v-model="search.resperName" placeholder="负责人姓名" style="width: 200px"></el-input>
|
<el-input v-model="search.resperName" placeholder="负责人姓名" style="width: 200px"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-cascader :props="{ checkStrictly: true }" v-model="search.caty" :options="options"
|
<el-cascader :props="{ emitPath: false }" :show-all-levels="false" v-model="search.caty" :options="options"
|
||||||
placeholder="科室类别"/>
|
placeholder="科室类别"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue