Commit aebf082d authored by 黄奎's avatar 黄奎
parents d138a3a5 25d4a075
<style>
.edit_stem{
font-size: 14px;
color: #646873;
line-height: 34px;
margin-bottom: 16px;
overflow: hidden;
padding: 4px 0;
cursor: default;
}
</style>
<template> <template>
<q-dialog v-model="persistent" persistent content-class="bg-grey-1" transition-show="scale" transition-hide="scale"> <q-dialog v-model="persistent" persistent content-class="bg-grey-1" transition-show="scale" transition-hide="scale">
<q-card style="width: 800px;max-width:900px;"> <q-card style="width: 1400px;max-width:900px;">
<q-card-section> <q-card-section>
<div class="text-h6">{{objOption.CourseId==0?'新增问题信息':'修改问题信息'}}</div> <div class="text-h6">{{objOption.CourseId==0?'新增问题信息':'修改问题信息'}}</div>
</q-card-section> </q-card-section>
<q-card-section class="q-pt-none scroll" style="max-height: 70vh"> <q-card-section class="q-pt-none scroll" style="max-height: 70vh">
<div class="text-caption q-mb-lg q-px-md text-grey-6">问题信息</div> <!-- <div class="text-caption q-mb-lg q-px-md text-grey-6">问题信息</div> -->
<div class="row wrap"> <div class="row wrap">
<div class="col-12" v-if="objOption.QuestionId==0"> <div class="col-12" v-if="objOption.QuestionId==0">
题型 题型
...@@ -24,7 +35,7 @@ ...@@ -24,7 +35,7 @@
</q-list> </q-list>
</q-btn-dropdown> </q-btn-dropdown>
</div> </div>
<div class="col-12" style="color:blue;font-weight:800;"> <div class="edit_stem">
{{questionName}} {{questionName}}
</div> </div>
<br /> <br />
......
<!--单选题--> <!--单选题-->
<style>
</style>
<template> <template>
<div class="singleQuestion"> <div class="singleQuestion">
<table v-if="data&&data.length>0"> <table v-if="data&&data.length>0">
<tr v-for="(item,index) in data"> <tr v-for="(item,index) in data">
<td> <td>
<el-checkbox v-model="item.IsAnswer" @change="ChangeItem(item)">{{item.Name}}</el-checkbox> <!-- <el-checkbox v-model="item.IsAnswer" @change="ChangeItem(item)">{{item.Name}}</el-checkbox> -->
<div class="Answer_List" @click="ChangeItem(item)" :class="{'Is_Answer':item.IsAnswer}">
{{item.Name}}
</div>
</td> </td>
<td> <td>
<UeEditor v-model="item.Content" :config="config"></UeEditor> <UeEditor v-model="item.Content" :config="config"></UeEditor>
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
}, },
created() { created() {
this.initConfig(); this.initConfig();
console.log(this.data,'dataaa');
}, },
methods: { methods: {
initConfig() { initConfig() {
......
...@@ -182,6 +182,14 @@ ...@@ -182,6 +182,14 @@
}, },
//保存校区 //保存校区
saveSchool() { saveSchool() {
if(this.objOption.ManagerId==0){
this.$q.notify({
type: 'negative',
position: "top",
message: `请选择校区联系人`
})
return;
}
this.saveLoading = true; this.saveLoading = true;
this.$refs.SName.validate() this.$refs.SName.validate()
this.$refs.SAddress.validate() this.$refs.SAddress.validate()
......
...@@ -289,6 +289,7 @@ ...@@ -289,6 +289,7 @@
</script> </script>
<style> <style>
@import url('~assets/css/common.css');
.full-width { .full-width {
height: 100%; height: 100%;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment