|
@@ -4,6 +4,31 @@
|
|
<el-form :inline="true" :model="form" ref="form">
|
|
<el-form :inline="true" :model="form" ref="form">
|
|
<el-alert
|
|
<el-alert
|
|
style="margin: 10px 0"
|
|
style="margin: 10px 0"
|
|
|
|
+ title="财务规则"
|
|
|
|
+ :closable="false"
|
|
|
|
+ type="info"
|
|
|
|
+ >
|
|
|
|
+ </el-alert>
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-form-item
|
|
|
|
+ prop="123"
|
|
|
|
+ :rules="[
|
|
|
|
+ {
|
|
|
|
+ required: false,
|
|
|
|
+ pattern:
|
|
|
|
+ /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,
|
|
|
|
+ message: '请输入正确的人数',
|
|
|
|
+ },
|
|
|
|
+ ]"
|
|
|
|
+ >
|
|
|
|
+ 基本课酬:
|
|
|
|
+ <el-input v-model="form['123']" placeholder="请输入金额">
|
|
|
|
+ <template slot="append">元</template>
|
|
|
|
+ </el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-alert
|
|
|
|
+ style="margin: 10px 0"
|
|
title="学员请假规则设置"
|
|
title="学员请假规则设置"
|
|
:closable="false"
|
|
:closable="false"
|
|
type="info"
|
|
type="info"
|
|
@@ -21,7 +46,7 @@
|
|
]"
|
|
]"
|
|
>
|
|
>
|
|
课程开始前
|
|
课程开始前
|
|
- <el-input v-model="form['7']" placeholder="请输入时间" >
|
|
|
|
|
|
+ <el-input v-model="form['7']" placeholder="请输入时间">
|
|
<template slot="append">
|
|
<template slot="append">
|
|
<!-- class="chiose" <el-select class="append" v-model.trim="form.organId">
|
|
<!-- class="chiose" <el-select class="append" v-model.trim="form.organId">
|
|
<el-option label="天" value="yuan"> </el-option>
|
|
<el-option label="天" value="yuan"> </el-option>
|
|
@@ -55,34 +80,79 @@
|
|
]"
|
|
]"
|
|
>
|
|
>
|
|
老师可在开课
|
|
老师可在开课
|
|
- <el-input v-model="form['41']" placeholder="请输入时间" >
|
|
|
|
|
|
+ <el-input v-model="form['41']" placeholder="请输入时间">
|
|
<template slot="append">小时</template>
|
|
<template slot="append">小时</template>
|
|
</el-input>
|
|
</el-input>
|
|
前调整VIP、网管课程。
|
|
前调整VIP、网管课程。
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-row>
|
|
</el-row>
|
|
|
|
+
|
|
|
|
+ <el-alert
|
|
|
|
+ style="margin: 20px 0"
|
|
|
|
+ title="学员练习参数"
|
|
|
|
+ :closable="false"
|
|
|
|
+ type="info"
|
|
|
|
+ >
|
|
|
|
+ </el-alert>
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-form-item
|
|
|
|
+ prop="106"
|
|
|
|
+ :rules="[
|
|
|
|
+ {
|
|
|
|
+ required: false,
|
|
|
|
+ pattern: /^[1-9][0-9]*$/,
|
|
|
|
+ message: '请输入正确的分钟数',
|
|
|
|
+ },
|
|
|
|
+ ]"
|
|
|
|
+ >
|
|
|
|
+ 学员每周使用团练宝时长小于
|
|
|
|
+ <el-input v-model="form['106']" placeholder="请输入分钟数">
|
|
|
|
+ <template slot="append">分钟</template> </el-input
|
|
|
|
+ >时需要回访。
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-form-item
|
|
|
|
+ prop="107"
|
|
|
|
+ :rules="[
|
|
|
|
+ {
|
|
|
|
+ required: false,
|
|
|
|
+ pattern: /^[1-9][0-9]*$/,
|
|
|
|
+ message: '请输入正确的次数',
|
|
|
|
+ },
|
|
|
|
+ ]"
|
|
|
|
+ >
|
|
|
|
+ 学员每周使用团练宝练习次数小于
|
|
|
|
+ <el-input v-model="form['107']" placeholder="请输入次数">
|
|
|
|
+ <template slot="append">次</template> </el-input
|
|
|
|
+ >时需要回访。
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-row>
|
|
</el-form>
|
|
</el-form>
|
|
</div>
|
|
</div>
|
|
- <el-button type="primary" @click="save" class="saveBtn"
|
|
|
|
|
|
+ <el-button
|
|
|
|
+ type="primary"
|
|
|
|
+ @click="save"
|
|
|
|
+ class="saveBtn"
|
|
v-if="!isPlatform"
|
|
v-if="!isPlatform"
|
|
- v-permission="'sysTenantConfig/batchUpSet_studentAttRules'"
|
|
|
|
|
|
+ v-permission="'sysTenantConfig/batchUpSet_studentAttRules'"
|
|
>保存</el-button
|
|
>保存</el-button
|
|
>
|
|
>
|
|
- <el-button type="primary" @click="save" class="saveBtn"
|
|
|
|
|
|
+ <el-button
|
|
|
|
+ type="primary"
|
|
|
|
+ @click="save"
|
|
|
|
+ class="saveBtn"
|
|
v-else
|
|
v-else
|
|
- v-permission="'sysConfig/batchUpdate_studentAttRules'"
|
|
|
|
|
|
+ v-permission="'sysConfig/batchUpdate_studentAttRules'"
|
|
>保存</el-button
|
|
>保存</el-button
|
|
>
|
|
>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
-import {
|
|
|
|
- getSysTenantConfig,
|
|
|
|
- setSysTenantConfig,
|
|
|
|
-} from "../api";
|
|
|
|
|
|
+import { getSysTenantConfig, setSysTenantConfig } from "../api";
|
|
import { sysConfigList, sysConfigUpdate } from "@/api/generalSettings"; // 平台的修改和查
|
|
import { sysConfigList, sysConfigUpdate } from "@/api/generalSettings"; // 平台的修改和查
|
|
export default {
|
|
export default {
|
|
- props: ["isPlatform"],
|
|
|
|
|
|
+ props: ["isPlatform"],
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
form: {},
|
|
form: {},
|
|
@@ -93,7 +163,7 @@ export default {
|
|
async mounted() {
|
|
async mounted() {
|
|
this.getRules();
|
|
this.getRules();
|
|
},
|
|
},
|
|
- methods: {
|
|
|
|
|
|
+ methods: {
|
|
getRules() {
|
|
getRules() {
|
|
if (this.isPlatform) {
|
|
if (this.isPlatform) {
|
|
this.getPlatformRules();
|
|
this.getPlatformRules();
|
|
@@ -168,7 +238,7 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
save() {
|
|
save() {
|
|
- if (this.isPlatform) {
|
|
|
|
|
|
+ if (this.isPlatform) {
|
|
this.savePlatform();
|
|
this.savePlatform();
|
|
} else {
|
|
} else {
|
|
this.saveInstitution();
|
|
this.saveInstitution();
|