|
|
|
@ -181,7 +181,7 @@ export default {
|
|
|
|
placeholder="请选择类型"
|
|
|
|
placeholder="请选择类型"
|
|
|
|
disabled={this.flag.indexOf(row.name) !== -1}
|
|
|
|
disabled={this.flag.indexOf(row.name) !== -1}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
{getConst("templateType", "array").map((item) => {
|
|
|
|
{ getConst("templateType", "array").map((item) => {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<el-option
|
|
|
|
<el-option
|
|
|
|
key={item.id}
|
|
|
|
key={item.id}
|
|
|
|
@ -189,11 +189,29 @@ export default {
|
|
|
|
label={item.value}
|
|
|
|
label={item.value}
|
|
|
|
></el-option>
|
|
|
|
></el-option>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
})}
|
|
|
|
}) }
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
label: "排序",
|
|
|
|
|
|
|
|
width: 120,
|
|
|
|
|
|
|
|
customFn: (row) => {
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
|
|
|
<el-input-number
|
|
|
|
|
|
|
|
style="width:80px;"
|
|
|
|
|
|
|
|
controls={false}
|
|
|
|
|
|
|
|
min={0}
|
|
|
|
|
|
|
|
precision={0}
|
|
|
|
|
|
|
|
v-model={row.sort}
|
|
|
|
|
|
|
|
placeholder="排序"
|
|
|
|
|
|
|
|
size="small"
|
|
|
|
|
|
|
|
disabled={this.flag.indexOf(row.name)!== -1}
|
|
|
|
|
|
|
|
></el-input-number>
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
label: "说明",
|
|
|
|
label: "说明",
|
|
|
|
minWidth: 240,
|
|
|
|
minWidth: 240,
|
|
|
|
@ -296,7 +314,7 @@ export default {
|
|
|
|
"flex-wrap": "wrap",
|
|
|
|
"flex-wrap": "wrap",
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
{this.flag.indexOf(row.name) === -1 ? (
|
|
|
|
{ this.flag.indexOf(row.name) === -1 ? (
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
type="primary"
|
|
|
|
type="primary"
|
|
|
|
size="mini"
|
|
|
|
size="mini"
|
|
|
|
@ -322,8 +340,8 @@ export default {
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
) : (
|
|
|
|
) : (
|
|
|
|
""
|
|
|
|
""
|
|
|
|
)}
|
|
|
|
) }
|
|
|
|
{this.flag.indexOf(row.name) === -1 ? (
|
|
|
|
{ this.flag.indexOf(row.name) === -1 ? (
|
|
|
|
<el-popover
|
|
|
|
<el-popover
|
|
|
|
placement="top"
|
|
|
|
placement="top"
|
|
|
|
width="160"
|
|
|
|
width="160"
|
|
|
|
@ -374,7 +392,7 @@ export default {
|
|
|
|
</el-popover>
|
|
|
|
</el-popover>
|
|
|
|
) : (
|
|
|
|
) : (
|
|
|
|
""
|
|
|
|
""
|
|
|
|
)}
|
|
|
|
) }
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
@ -410,6 +428,7 @@ export default {
|
|
|
|
name: "",
|
|
|
|
name: "",
|
|
|
|
type: "",
|
|
|
|
type: "",
|
|
|
|
student_query: 0,
|
|
|
|
student_query: 0,
|
|
|
|
|
|
|
|
sort: "",
|
|
|
|
remark: "",
|
|
|
|
remark: "",
|
|
|
|
template_id: this.id,
|
|
|
|
template_id: this.id,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|