gyc
2020-07-14 c1c140f9071044529c4c679fa6b9a28d6cee8e31
课程
1 files added
1 files modified
26 ■■■■■ changed files
debug.log 3 ●●●●● patch | view | raw | blame | history
src/views/goodsCourse/classBox/classBoxList.vue 23 ●●●●● patch | view | raw | blame | history
debug.log
New file
@@ -0,0 +1,3 @@
[0714/170936.467:ERROR:scoped_process_suspend.cc(31)] NtSuspendProcess: 已尝试访问正在退出的过程。 (0xc000010a)
[0714/170936.478:ERROR:process_info.cc(118)] ReadProcessMemory bool __cdecl crashpad::(anonymous namespace)::ReadStruct(HANDLE, crashpad::WinVMAddress, T *) [T = crashpad::process_types::PEB<crashpad::process_types::internal::Traits64>]: 仅完成部分的 ReadProcessMemory 或 WriteProcessMemory 请求。 (0x12B)
[0714/170936.487:ERROR:process_info.cc(551)] ReadProcessData failed
src/views/goodsCourse/classBox/classBoxList.vue
@@ -61,7 +61,7 @@
              <el-table-column label="id" prop="packageId" width="80px"></el-table-column>
              <el-table-column prop="packageTitle" label="课程包名称"></el-table-column>
              <el-table-column prop="classMode" label="上课方式" :formatter="formatter"></el-table-column>
              <el-table-column prop="courseClassify" label="分类"></el-table-column>
              <el-table-column prop="courseClassifyTitle" label="分类"></el-table-column>
              <el-table-column prop="courseCategoryTitle" label="关联课件"></el-table-column>
              <el-table-column prop="status" label="状态">
                <template slot-scope="scope">
@@ -400,6 +400,7 @@
              :key="item.moduleId"
              :label="item.moduleTitle"
              :value="item"
              :disabled="item.status==0"
            ></el-option>
          </el-select>
        </el-form-item>
@@ -452,7 +453,7 @@
            ></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="分类" :label-width="formLabelWidth">
        <el-form-item label="分类" prop='fillValue' :label-width="formLabelWidth">
          <!-- <el-select v-model="dailogFormClass.classCon" class="mode-select">
                
                <el-option
@@ -488,12 +489,12 @@
        <el-form-item
          v-if="dailogFormClass.classType=='2'"
          label="链接地址"
          prop="name"
          prop="add"
          :label-width="formLabelWidth"
        >
          <el-input v-model="dailogFormClass.add" autocomplete="off" style="width:240px"></el-input>
        </el-form-item>
        <el-form-item label="排序" prop="name" :label-width="formLabelWidth">
        <el-form-item label="排序" prop="sort" :label-width="formLabelWidth">
          <el-input v-model="dailogFormClass.sort" autocomplete="off" style="width:240px"></el-input>
        </el-form-item>
@@ -805,7 +806,7 @@
    },
    async classOnceItem() {
      let data={
        packageId:Number(this.className)
        packageId:this.className
      }
      let res=await classOnceItem(data);
      if(Object.is(res.code,1)) {
@@ -840,7 +841,6 @@
      }
    },
    dialogTest() {
      console.log(this.moduleData);
      this.$refs["textForm"].validate(valid => {
        if (valid) {
          if (Object.is(this.dialogFlag, 1)) {
@@ -848,7 +848,7 @@
            this.classBoxStr(-1);
          } else {
            //编辑
            this.addSec(this.editId);
           this.classBoxStr(this.editId);
          }
        } else {
          return false;
@@ -885,6 +885,7 @@
      let res = await classBoxStr(data);
      if (Object.is(res.code, 1)) {
        this.dialogFormVisible = false;
        this.getLittle();
      }
    },
    async classBoxMoudleDelete(row) {
@@ -947,7 +948,7 @@
    },
    forChange() {
      this.getLittle();
      this.classOnceItem(); //课次分类
    },
    classEdit(row) {
      this.$router.push({
@@ -1118,11 +1119,14 @@
        module.forEach(v => {
          arrM.push(v.moduleId);
        });
        this.moduleData=[];
        this.testData.forEach(item => {
          if (arrM.includes(item.moduleId)) {
            this.moduleData.push(item);
          }
        });
        console.log(this.moduleData);
        // this.moduleData=[...new Set(this.moduleData)];
        console.log(this.moduleData);
        this.ruleFormInformation.weekNum = res.data.week;
        this.ruleFormInformation.state = res.data.status;
@@ -1132,7 +1136,7 @@
    handleEditInformation(index, row) {
      //点击小秘书信息编辑
      this.dialogFlag = 2; //判断 编辑
      this.editId = row.moduleId; //编辑 id
      this.editId = row.unitId; //编辑 id
      this.titleName = "编辑单元";
      this.dialogFormVisible = true;
      this.$nextTick(() => {
@@ -1359,6 +1363,7 @@
        this.classNameOption = res.data.packageList;
        this.classOnceData = res.data.unitList;
        this.className=res.data.packageId;
         this.classOnceItem(); //课次分类
      }
    },
    //模块 列表页