@@ -76,6 +76,7 @@
<IssueTypeSelect
v-if="field.type === 'issueTypeSelect'"
v-model="form[field.name]"
+ :props="{ checkStrictly: true }"
></IssueTypeSelect>
</el-form-item>
</el-col>
@@ -3,9 +3,10 @@
:value="vModel"
:options="options"
:clearable="true"
- :show-all-levels="false"
+ v-bind="$attrs"
@change="onChange"
></el-cascader>
+ <!-- :show-all-levels="false" -->
</template>
<script>
@@ -63,7 +64,9 @@ export default {
methods: {
onChange(value) {
console.log(value);
- this.$emit('input', value[1] || null);
+ if (value.length) {
+ }
+ this.$emit('input', value[value.length - 1] || null);
},
async loadData() {
@@ -38,7 +38,9 @@ export default {
{
key: 'helpGroupName',
name: '分类名称',
- width: '180'
+ width: '180',
+ render: (h, { row }) =>
+ h('span', `${row.parentHelpGroupName}/${row.helpGroupName}`)
key: 'name',
@@ -3,9 +3,9 @@
<toolbar @on-filter="filterData" @on-reset="filterData" />
<div class="m-10 bg-w p-20 br-10">
- <el-button type="primary" icon="el-icon-plus" @click="handleAdd"
+ <!-- <el-button type="primary" icon="el-icon-plus" @click="handleAdd"
>新增</el-button
- >
+ > -->
<base-table
:columns="columns"
:items="items"