|
@@ -18,15 +18,16 @@
|
|
|
:rules="[
|
|
|
{
|
|
|
required: false,
|
|
|
- pattern:
|
|
|
- /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,
|
|
|
- message: '请输入正确的人数',
|
|
|
- },
|
|
|
+ pattern: /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,
|
|
|
+ message: '请输入正确的人数'
|
|
|
+ }
|
|
|
]"
|
|
|
>
|
|
|
基本课酬:
|
|
|
<el-input v-model="form['91']" placeholder="请输入金额">
|
|
|
- <template slot="append">元</template>
|
|
|
+ <template slot="append"
|
|
|
+ >元</template
|
|
|
+ >
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-row>
|
|
@@ -36,15 +37,16 @@
|
|
|
:rules="[
|
|
|
{
|
|
|
required: false,
|
|
|
- pattern:
|
|
|
- /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,
|
|
|
- message: '请输入正确的人数',
|
|
|
- },
|
|
|
+ pattern: /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,
|
|
|
+ message: '请输入正确的人数'
|
|
|
+ }
|
|
|
]"
|
|
|
>
|
|
|
全职资源公摊金额:
|
|
|
<el-input v-model="form['73']" placeholder="请输入金额">
|
|
|
- <template slot="append">元</template>
|
|
|
+ <template slot="append"
|
|
|
+ >元</template
|
|
|
+ >
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-row>
|
|
@@ -111,7 +113,7 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-row> -->
|
|
|
- <el-row>
|
|
|
+ <!-- <el-row>
|
|
|
<el-form-item prop="115">
|
|
|
支持考级活动报名的分部编号
|
|
|
<el-input
|
|
@@ -149,7 +151,7 @@
|
|
|
>
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
- </el-row>
|
|
|
+ </el-row> -->
|
|
|
<!-- <el-row>
|
|
|
<el-form-item
|
|
|
prop="203"
|
|
@@ -178,13 +180,15 @@
|
|
|
{
|
|
|
required: false,
|
|
|
pattern: /^[1-9][0-9]*$/,
|
|
|
- message: '请输入正确的分钟数',
|
|
|
- },
|
|
|
+ message: '请输入正确的分钟数'
|
|
|
+ }
|
|
|
]"
|
|
|
>
|
|
|
云教室可提前:
|
|
|
<el-input v-model="form['61']" placeholder="请输入分钟数">
|
|
|
- <template slot="append">分钟</template>
|
|
|
+ <template slot="append"
|
|
|
+ >分钟</template
|
|
|
+ >
|
|
|
</el-input>
|
|
|
进入教室。
|
|
|
</el-form-item>
|
|
@@ -196,33 +200,38 @@
|
|
|
{
|
|
|
required: false,
|
|
|
pattern: /^[1-9][0-9]*$/,
|
|
|
- message: '请输入正确的分钟数',
|
|
|
- },
|
|
|
+ message: '请输入正确的分钟数'
|
|
|
+ }
|
|
|
]"
|
|
|
>
|
|
|
课程结束后:
|
|
|
<el-input v-model="form['60']" placeholder="请输入分钟数">
|
|
|
- <template slot="append">分钟</template>
|
|
|
+ <template slot="append"
|
|
|
+ >分钟</template
|
|
|
+ >
|
|
|
</el-input>
|
|
|
网络教室自动关闭。
|
|
|
</el-form-item>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
-
|
|
|
<el-form-item
|
|
|
prop="232"
|
|
|
:rules="[
|
|
|
{
|
|
|
required: true,
|
|
|
- message: '请输入系统消息用户编号',
|
|
|
- },
|
|
|
+ message: '请输入系统消息用户编号'
|
|
|
+ }
|
|
|
]"
|
|
|
>
|
|
|
- 系统消息用户编号:
|
|
|
- <el-input class="marginLR5" style="width: 180px" v-model="form['232']" placeholder="请输入系统消息用户编号">
|
|
|
-
|
|
|
- </el-input>。
|
|
|
-
|
|
|
+ 系统消息用户编号:
|
|
|
+ <el-input
|
|
|
+ class="marginLR5"
|
|
|
+ style="width: 180px"
|
|
|
+ v-model="form['232']"
|
|
|
+ placeholder="请输入系统消息用户编号"
|
|
|
+ >
|
|
|
+ </el-input
|
|
|
+ >。
|
|
|
</el-form-item>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
@@ -249,7 +258,7 @@
|
|
|
import {
|
|
|
getSysTenantConfig,
|
|
|
questionnaireTopicQueryPage,
|
|
|
- setSysTenantConfig,
|
|
|
+ setSysTenantConfig
|
|
|
} from "@/views/courseRulersManager/api";
|
|
|
import { sysConfigList, sysConfigUpdate } from "@/api/generalSettings"; // 平台的修改和查
|
|
|
export default {
|
|
@@ -258,17 +267,17 @@ export default {
|
|
|
return {
|
|
|
form: {},
|
|
|
questionList: [],
|
|
|
- rulesVisiable: false,
|
|
|
+ rulesVisiable: false
|
|
|
};
|
|
|
},
|
|
|
async mounted() {
|
|
|
this.getRules();
|
|
|
try {
|
|
|
const res = await questionnaireTopicQueryPage({ page: 1, rows: 999 });
|
|
|
- this.questionList = res.data.rows.map((item) => {
|
|
|
+ this.questionList = res.data.rows.map(item => {
|
|
|
return {
|
|
|
label: item.title,
|
|
|
- value: String(item.id),
|
|
|
+ value: String(item.id)
|
|
|
};
|
|
|
});
|
|
|
} catch (e) {
|
|
@@ -286,7 +295,7 @@ export default {
|
|
|
async getPlatformRules() {
|
|
|
try {
|
|
|
const res = await sysConfigList({ group: "DAYA_BASIC" });
|
|
|
- res.data.forEach((item) => {
|
|
|
+ res.data.forEach(item => {
|
|
|
// this.form[item.paramName] = item.paranValue
|
|
|
this.$set(this.form, item.id, item.paranValue);
|
|
|
});
|
|
@@ -299,7 +308,7 @@ export default {
|
|
|
async getInstitutionRules() {
|
|
|
try {
|
|
|
const res = await getSysTenantConfig({ group: "DAYA_BASIC" });
|
|
|
- res.data.forEach((item) => {
|
|
|
+ res.data.forEach(item => {
|
|
|
// this.form[item.paramName] = item.paranValue
|
|
|
this.$set(this.form, item.id, item.paranValue);
|
|
|
});
|
|
@@ -310,13 +319,13 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
savePlatform() {
|
|
|
- this.$refs.form.validate(async (valid) => {
|
|
|
+ this.$refs.form.validate(async valid => {
|
|
|
if (valid) {
|
|
|
let param = [];
|
|
|
for (let i in this.form) {
|
|
|
param.push({
|
|
|
id: i,
|
|
|
- paranValue: this.form[i],
|
|
|
+ paranValue: this.form[i]
|
|
|
});
|
|
|
}
|
|
|
try {
|
|
@@ -330,13 +339,13 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
saveInstitution() {
|
|
|
- this.$refs.form.validate(async (valid) => {
|
|
|
+ this.$refs.form.validate(async valid => {
|
|
|
if (valid) {
|
|
|
let param = [];
|
|
|
for (let i in this.form) {
|
|
|
param.push({
|
|
|
id: i,
|
|
|
- paranValue: this.form[i],
|
|
|
+ paranValue: this.form[i]
|
|
|
});
|
|
|
}
|
|
|
try {
|
|
@@ -355,8 +364,8 @@ export default {
|
|
|
} else {
|
|
|
this.saveInstitution();
|
|
|
}
|
|
|
- },
|
|
|
- },
|
|
|
+ }
|
|
|
+ }
|
|
|
};
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|