fix:作品、教学环境模块修改
This commit is contained in:
parent
9bd7f0ceae
commit
94cb2cbcfa
@ -64,7 +64,7 @@ import { useLoginStore } from "~/store";
|
|||||||
// --业务方法
|
// --业务方法
|
||||||
const dataList = ref();
|
const dataList = ref();
|
||||||
async function getList() {
|
async function getList() {
|
||||||
getTeachingEnvirTypeList().then((res) => {
|
getTeachingEnvirTypeList({ limit: 10000 }).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
dataList.value = res.data
|
dataList.value = res.data
|
||||||
}
|
}
|
||||||
|
@ -56,7 +56,7 @@ import { isEmptyObject } from "~/utils/index";
|
|||||||
// --业务方法
|
// --业务方法
|
||||||
const dataList = ref();
|
const dataList = ref();
|
||||||
async function getList() {
|
async function getList() {
|
||||||
getTeachingEnvirTypeList().then((res) => {
|
getTeachingEnvirTypeList({ limit: 10000 }).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
dataList.value = res.data
|
dataList.value = res.data
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,7 @@ import { useLoginStore } from "~/store";
|
|||||||
// --业务方法
|
// --业务方法
|
||||||
const dataList = ref();
|
const dataList = ref();
|
||||||
async function getList() {
|
async function getList() {
|
||||||
getTeachingEnvirTypeList().then((res) => {
|
getTeachingEnvirTypeList({ limit: 10000 }).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
dataList.value = res.data
|
dataList.value = res.data
|
||||||
}
|
}
|
||||||
|
@ -126,7 +126,7 @@ const headers = {
|
|||||||
|
|
||||||
const dataList = ref();
|
const dataList = ref();
|
||||||
async function getList() {
|
async function getList() {
|
||||||
getTeachingEnvirTypeList().then((res) => {
|
getTeachingEnvirTypeList({ limit: 10000 }).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
dataList.value = res.data
|
dataList.value = res.data
|
||||||
}
|
}
|
||||||
|
@ -89,7 +89,7 @@ import { getClassesList } from '~/service/classes';
|
|||||||
//作品类型
|
//作品类型
|
||||||
const dataList = ref();
|
const dataList = ref();
|
||||||
async function getList() {
|
async function getList() {
|
||||||
getWorksTypeList().then((res) => {
|
getWorksTypeList({ limit: 10000 }).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
dataList.value = res.data
|
dataList.value = res.data
|
||||||
}
|
}
|
||||||
|
@ -81,7 +81,7 @@ import { getClassesList } from '~/service/classes';
|
|||||||
//作品类型
|
//作品类型
|
||||||
const dataList = ref();
|
const dataList = ref();
|
||||||
async function getList() {
|
async function getList() {
|
||||||
getWorksTypeList().then((res) => {
|
getWorksTypeList({ limit: 10000 }).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
dataList.value = res.data
|
dataList.value = res.data
|
||||||
}
|
}
|
||||||
|
@ -87,7 +87,7 @@ import { getClassesList } from '~/service/classes';
|
|||||||
//作品类型
|
//作品类型
|
||||||
const dataList = ref();
|
const dataList = ref();
|
||||||
async function getList() {
|
async function getList() {
|
||||||
getWorksTypeList().then((res) => {
|
getWorksTypeList({ limit: 10000 }).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
dataList.value = res.data
|
dataList.value = res.data
|
||||||
}
|
}
|
||||||
|
@ -215,7 +215,7 @@ const column = [
|
|||||||
const dataList = ref();
|
const dataList = ref();
|
||||||
getList()
|
getList()
|
||||||
async function getList() {
|
async function getList() {
|
||||||
getWorksTypeList().then((res) => {
|
getWorksTypeList({ limit: 10000 }).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
dataList.value = res.data
|
dataList.value = res.data
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog v-model="props.modelValue" title="作品类型详情" width="900px" @closed="closeDialog" @open="openDialog">
|
<el-dialog v-model="props.modelValue" title="作品类型详情" width="900px" @closed="closeDialog" @open="openDialog">
|
||||||
<el-form ref="formRef" :model="formData" :disabled="true">
|
<el-form ref="formRef" :model="formData" :disabled="true">
|
||||||
<el-row>
|
<!-- <el-row>
|
||||||
<el-col :lg="24">
|
<el-col :lg="24">
|
||||||
<el-form-item :label-width="labelWidth" label="上级类型" prop="works_type_parent_guid">
|
<el-form-item :label-width="labelWidth" label="上级类型" prop="works_type_parent_guid">
|
||||||
<el-cascader class="w100" filterable :options="dataList"
|
<el-cascader class="w100" filterable :options="dataList"
|
||||||
@ -14,7 +14,7 @@
|
|||||||
</el-cascader>
|
</el-cascader>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row> -->
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item :label-width="labelWidth" label="作品类型名称" prop="works_type_name">
|
<el-form-item :label-width="labelWidth" label="作品类型名称" prop="works_type_name">
|
||||||
|
Loading…
Reference in New Issue
Block a user