Merge branch 'main' of https://dd3skj.picp.vip/hongqiwei/zhgh_squ
This commit is contained in:
@@ -131,7 +131,7 @@ const ACTIVITY_CULTURE_APPLY_ACTIVITY = {
|
||||
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
:rules="[{required:[1,2].includes(formData.signUpMethod),message:'请选择报名日期',trigger:['change','blur']}]"
|
||||
:rules="[{required:[1,2,3].includes(formData.signUpMethod),message:'请选择报名日期',trigger:['change','blur']}]"
|
||||
label="报名日期"
|
||||
prop="applyTime2">
|
||||
<el-date-picker
|
||||
|
||||
@@ -220,9 +220,9 @@ layout("/layouts/platform.html"){
|
||||
upload_result_category="interval"
|
||||
></file-upload>
|
||||
</el-form-item>
|
||||
<el-form-item label="配色" prop="activityColor">
|
||||
<!--<el-form-item label="配色" prop="activityColor">
|
||||
<el-color-picker v-model="formData.activityColor" show-alpha></el-color-picker>
|
||||
</el-form-item>
|
||||
</el-form-item>-->
|
||||
<el-form-item prop="enable" label="状态">
|
||||
<el-radio-group v-model="formData.enable" size="small">
|
||||
<el-radio :label="true" border>开启</el-radio>
|
||||
@@ -358,7 +358,7 @@ layout("/layouts/platform.html"){
|
||||
allowFileTypes: [],
|
||||
},
|
||||
settingDialogVisible: false,
|
||||
colorList: ["#081776", "#31cab1", "#e54242", "#ff8939", "#ffb712", "#1dc47b", "#4495f7", "#ff5e8b", "#5d6e7f"],
|
||||
// colorList: ["#081776", "#31cab1", "#e54242", "#ff8939", "#ffb712", "#1dc47b", "#4495f7", "#ff5e8b", "#5d6e7f"],
|
||||
pageForm: {
|
||||
activityTime: []
|
||||
},
|
||||
@@ -417,7 +417,7 @@ layout("/layouts/platform.html"){
|
||||
this.$nextTick(() => {
|
||||
this.formData = {
|
||||
nbCount: 0,
|
||||
activityColor: this.colorList[0],
|
||||
// activityColor: this.colorList[0],
|
||||
subjectTypes: [{worksTypes: [{}]}],
|
||||
enable: true
|
||||
}
|
||||
|
||||
@@ -87,15 +87,32 @@ layout("/layouts/platform.html"){
|
||||
<style>
|
||||
.stats-panel {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.stats-item {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
padding: 18px 16px;
|
||||
border-radius: 8px;
|
||||
background: #f3fafb;
|
||||
box-shadow: 0 6px 18px rgba(0, 78, 100, 0.08);
|
||||
}
|
||||
|
||||
.stats-item:nth-child(2) {
|
||||
background: #fff8ee;
|
||||
}
|
||||
|
||||
.stats-item:nth-child(3) {
|
||||
background: #f1fbf6;
|
||||
}
|
||||
|
||||
.stats-item:nth-child(4) {
|
||||
background: #f7f5ff;
|
||||
}
|
||||
|
||||
.stats-value {
|
||||
font-size: 24px;
|
||||
font-size: 26px;
|
||||
font-weight: 700;
|
||||
color: rgb(0, 78, 100);
|
||||
}
|
||||
|
||||
+1
@@ -298,6 +298,7 @@ layout("/layouts/platform_h5.html"){
|
||||
unionName: union.name,
|
||||
unionId: union.id,
|
||||
mobile: mobile,
|
||||
childrenBirthdayDate: new Date(2000, 0, 1),
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ layout("/layouts/platform_h5.html"){
|
||||
#-->
|
||||
|
||||
<div id="app" v-cloak>
|
||||
<van-nav-bar title="主席信箱" fixed placeholder left-text="返回" left-arrow @click-left="history.go(-1)"></van-nav-bar>
|
||||
<van-nav-bar title="主席信箱" fixed placeholder left-text="返回" left-arrow @click-left="backHome"></van-nav-bar>
|
||||
|
||||
<div class="banner-section">
|
||||
<div class="banner-content">
|
||||
@@ -407,6 +407,9 @@ layout("/layouts/platform_h5.html"){
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
backHome() {
|
||||
this.$pjaxReplace('/platform/h5/home')
|
||||
},
|
||||
goPage(url) {
|
||||
this.$pjaxReplace(url)
|
||||
},
|
||||
|
||||
+19
-2
@@ -24,19 +24,36 @@ layout("/layouts/platform_h5.html"){
|
||||
|
||||
.stats-panel {
|
||||
background-color: var(--card-bg);
|
||||
padding: 16px;
|
||||
padding: 12px;
|
||||
margin-bottom: 10px;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.stats-item {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
padding: 12px 4px;
|
||||
border-radius: 8px;
|
||||
background: #f3fafb;
|
||||
box-shadow: 0 4px 12px rgba(0, 78, 100, 0.08);
|
||||
}
|
||||
|
||||
.stats-item:nth-child(2) {
|
||||
background: #fff8ee;
|
||||
}
|
||||
|
||||
.stats-item:nth-child(3) {
|
||||
background: #f1fbf6;
|
||||
}
|
||||
|
||||
.stats-item:nth-child(4) {
|
||||
background: #f7f5ff;
|
||||
}
|
||||
|
||||
.stats-value {
|
||||
font-size: 20px;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
+18
-5
@@ -173,13 +173,13 @@ layout("/layouts/platform_h5.html"){
|
||||
maxlength="20"
|
||||
clearable
|
||||
name="bankCardNum"
|
||||
placeholder="请填写华夏银行工资卡号"
|
||||
placeholder="请填写国内银行工资卡号"
|
||||
:rules="[{ required: true }]"
|
||||
required
|
||||
></van-field>
|
||||
<div style="margin-left: 10px">
|
||||
<span style="color: #bc2a25">据学校要求,请您填写【<span style="color: red;font-weight: bolder">华夏银行工资卡号</span>】为收款账户</span>
|
||||
</div>
|
||||
<!--<div style="margin-left: 10px">
|
||||
<span style="color: #bc2a25">据学校要求,请您填写【<span style="color: red;font-weight: bolder">银行工资卡号</span>】为收款账户</span>
|
||||
</div>-->
|
||||
|
||||
<van-field
|
||||
v-model="formData.reason"
|
||||
@@ -310,6 +310,7 @@ layout("/layouts/platform_h5.html"){
|
||||
showDialog: false,
|
||||
isEditing: false,
|
||||
editingIndex: null,
|
||||
echoingFormDataFlag: false,
|
||||
|
||||
// 替他人申请相关
|
||||
userSheetShow: false,
|
||||
@@ -496,12 +497,24 @@ layout("/layouts/platform_h5.html"){
|
||||
findOne(id) {
|
||||
this.$axios.post('/platform/difficultHelp/mine/findOne', { id }).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.formData = res.data
|
||||
this.echoingFormDataFlag = true
|
||||
this.formData = Object.assign({
|
||||
familyList: [],
|
||||
files: []
|
||||
}, res.data || {})
|
||||
this.$nextTick(() => {
|
||||
setTimeout(() => {
|
||||
this.echoingFormDataFlag = false
|
||||
})
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
// 申请模式
|
||||
modeChange(val) {
|
||||
if (this.echoingFormDataFlag) {
|
||||
return
|
||||
}
|
||||
const user = this.$store.state.user
|
||||
if (val === "1") {
|
||||
this.$set(this.formData, 'userId', user.id)
|
||||
|
||||
Reference in New Issue
Block a user