|
@@ -99,14 +99,14 @@
|
|
|
|
|
|
<el-table border v-loading="loading" :data="questionnairetemplateList" @selection-change="handleSelectionChange">
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
- <el-table-column label="章节" align="center" prop="chapterName" />
|
|
|
- <el-table-column label="问卷类型" align="center" prop="type">
|
|
|
+ <el-table-column label="目录" align="center" prop="directory" width="120" />
|
|
|
+ <el-table-column label="章节" align="center" prop="chapterName" width="240" />
|
|
|
+ <el-table-column label="问卷类型" align="center" prop="type"width="120" >
|
|
|
<template slot-scope="scope">
|
|
|
<dict-tag :options="dict.type.t_sec_sub_chap_type" :value="scope.row.type"/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="目录" align="center" prop="directory" />
|
|
|
- <el-table-column label="序号" align="center" prop="code" />
|
|
|
+ <el-table-column label="序号" align="center" prop="code" width="120" />
|
|
|
<el-table-column label="名称" align="center" prop="name" />
|
|
|
<el-table-column label="操作" align="center" width="120" fixed="right" class-name="small-padding fixed-width">
|
|
|
<template slot-scope="scope">
|
|
@@ -247,7 +247,8 @@ export default {
|
|
|
listAllChaptertemplate().then(response => {
|
|
|
let data = response.data;
|
|
|
for (let i = 0; i < data.length; i++) {
|
|
|
- this.chapterTemplateOptions.push({"dictLabel": data[i].name, "dictValue": data[i].id + ""});
|
|
|
+ console.log(data[i])
|
|
|
+ this.chapterTemplateOptions.push({"dictLabel": data[i].name, "dictValue": data[i].id});
|
|
|
}
|
|
|
});
|
|
|
},
|