疗休养

This commit is contained in:
Paidax
2025-06-19 04:17:25 +08:00
parent afbed150b2
commit c4fb40a959
5 changed files with 58 additions and 17 deletions
+5 -3
View File
@@ -15,9 +15,9 @@ jetty.staticPathLocal=G:/zhgh/zhgh_hmc/src/main/resources/static
nutz.mvc.ignore=^(.+[.])(jsp|png|gif|jpg|js|css|jspx|jpeg|html|mp3|mp4|ico|svg)$
nutz.mvc.exclusions=/favicon/*,/assets/*,/druid/*,/upload/*
ftp.enabled=true
ftp.host=192.168.21.203
ftp.port=9090
ftp.username=ftpuser
ftp.host=127.0.0.1
ftp.port=21
ftp.username=ftp_user
ftp.password=123456
ftp.timeout=100
redis.host=127.0.0.1
@@ -35,10 +35,12 @@ redis.pool.minIdle=10
redis.mode=normal
#redis.nodes=192.168.6.31:6377,192.168.6.31:6378,192.168.6.28:6377,192.168.6.28:6378,192.168.6.34:6377,192.168.6.34:6378
jdbc.url=jdbc:mysql://127.0.0.1:3306/zhgh_hmc?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
#jdbc.url=jdbc:mysql://10.112.101.15:3306/zhgh_hmc?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
#jdbc.driver=dm.jdbc.driver.DmDriver
#jdbc.url=jdbc:dm://127.0.0.1:5236?databaseProductName=dm mysql&compatibleMode=mysql
jdbc.username=root
jdbc.password=123456
#jdbc.password=mysql_Cb5XrP
jdbc.validationQuery=select 1
jdbc.maxActive=500
jdbc.testWhileIdle=true
@@ -271,13 +271,14 @@ layout("/layouts/platform.html"){
</div>
</div>
<div class="route-footer">
<!-- <el-button-->
<!-- type="text"-->
<!-- size="small"-->
<!-- @click="viewDetails(item)">-->
<!-- <i class="el-icon-view"></i> 查看详情-->
<!-- </el-button>-->
<el-button
type="text"
size="small"
@click="viewDetails(item)">
<i class="el-icon-view"></i> 查看详情
</el-button>
<el-button
style="margin-left: auto"
class="route-signup-btn"
type="primary"
size="mini"
@@ -330,7 +331,7 @@ layout("/layouts/platform.html"){
<el-button
type="text"
size="small"
@click="viewDetails(item)">
@click="openLine(item)">
<i class="el-icon-view"></i> 查看详情
</el-button>
<el-button
@@ -349,23 +350,35 @@ layout("/layouts/platform.html"){
</div>
</guava>
<line-sign-up ref="lineSignUpRef"></line-sign-up>
<line-sign-up ref="lineSignUpRef" @view-line="openLine"></line-sign-up>
<el-dialog :title="baseName + '报名'" width="60%" :visible.sync="baseVisible" :close-on-click-modal="false" :close-on-press-escape="false">
<base-sign-up ref="baseRef" :config_data="config" @success="baseSuccess"></base-sign-up>
</el-dialog>
<el-dialog
title="详情"
:visible.sync="lineDialogVisible"
width="50%">
<info ref="lineRef" :index="pageForm.theRapyRecuperationType"></info>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="lineDialogVisible = false">关 闭</el-button>
</span>
</el-dialog>
</div>
<script>
<!--#include('lineSignUp.js'){}#-->
<!--#include('base.js'){}#-->
<!--#include('info.js'){}#-->
new Vue({
el: '#app',
mixins: [initTableMixins],
components: {
'line-sign-up': LineSignUp,
'base-sign-up': BASE
'base-sign-up': BASE,
'info': INFO
},
data() {
return {
@@ -384,7 +397,10 @@ layout("/layouts/platform.html"){
// 定点报名相关
baseName: '',
baseVisible: false
baseVisible: false,
// 查看详情
lineDialogVisible: false,
}
},
methods: {
@@ -487,7 +503,15 @@ layout("/layouts/platform.html"){
baseSuccess() {
this.baseVisible = false
this.pageData();
}
},
// 查看线路详情
openLine(row) {
this.lineDialogVisible = true
this.$nextTick(() => {
this.$refs.lineRef.openInit(row.usId, row.id)
})
},
},
created() {
this.pageData();
@@ -2,7 +2,7 @@ const INFO = {
template: /*language=HTML*/ `
<div>
<!-- 省内或省外 -->
<template v-if="[0, 1].includes(index)">
<template v-if="index == 0 || index == 1">
<el-descriptions :column="2" border class="descriptions-form">
<el-descriptions-item label="线路名称" :span="2">
<el-tag>{{lineData.lotName}}</el-tag>
@@ -114,6 +114,7 @@ const INFO = {
async getLineData(takePartInLineId) {
if (takePartInLineId == null){
this.lineData={}
return
}
const resp = await $.get("/platform/theRapyRecuperation/line/enroll/selectLineAllInfo", {
usId: takePartInLineId
@@ -125,6 +126,7 @@ const INFO = {
async getBaseData(takePartInBaseManagementId) {
if (takePartInBaseManagementId == null){
this.baseData={}
return
}
const res = await $.get('/platform/theRapyRecuperation/baseManagement/selectBaseAllInfo', {
id: takePartInBaseManagementId
@@ -80,15 +80,18 @@ const LineSignUp = {
</el-tag>
</template>
</el-table-column>
<el-table-column label="操作" width="300px">
<el-table-column label="操作" width="350px">
<template slot-scope="scope">
<el-button size="mini"
:type="selectedTime && selectedTime.usId === scope.row.usId ? 'success' : 'primary'"
@click="handleCurrentChange(scope.row)">
{{ selectedTime && selectedTime.usId === scope.row.usId ? '已选择' : '选择' }}
</el-button>
<el-button size="mini" type="primary" @click="$emit('view-line', scope.row)">
查看线路
</el-button>
<el-button size="mini" type="primary" @click="viewSignUpUser(scope.row)">
查看报名人员
报名人员
</el-button>
</template>
</el-table-column>