mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-09 03:12:51 +00:00
improve: 分类选中
This commit is contained in:
parent
ff67c6f55d
commit
ac50a71b97
@ -15,11 +15,11 @@
|
||||
<div class="trees-coadd">
|
||||
<div class="scollhide">
|
||||
<div class="tree">
|
||||
<!-- <Tree :data="treeData" :render="renderContent" :load-data="loadData" class="treeBox" ref="tree"></Tree> -->
|
||||
<el-tree
|
||||
:data="treeData"
|
||||
node-key="id"
|
||||
default-expand-all
|
||||
highlight-current
|
||||
:expand-on-click-node="false"
|
||||
@node-click="appendBtn"
|
||||
:current-node-key="treeId"
|
||||
@ -198,7 +198,14 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<uploadImg ref="upload" :isPage="isPage" :isIframe='isIframe' :categoryId="treeId" :categoryList="treeData" @uploadSuccess="uploadSuccess"></uploadImg>
|
||||
<uploadImg
|
||||
ref="upload"
|
||||
:isPage="isPage"
|
||||
:isIframe="isIframe"
|
||||
:categoryId="treeId"
|
||||
:categoryList="treeData"
|
||||
@uploadSuccess="uploadSuccess"
|
||||
></uploadImg>
|
||||
<div class="images" v-show="false" v-viewer="{ movable: false }">
|
||||
<img v-for="src in pictrueList" :src="src.att_dir" :key="src.att_id" />
|
||||
</div>
|
||||
@ -267,7 +274,7 @@ export default {
|
||||
},
|
||||
formValidate: { id: 0 },
|
||||
FromData: null,
|
||||
treeId: 0,
|
||||
treeId: '',
|
||||
isJudge: false,
|
||||
buttonProps: {
|
||||
type: 'default',
|
||||
|
||||
@ -10,10 +10,10 @@
|
||||
>
|
||||
<Row type="flex" :gutter="24">
|
||||
<Col v-bind="grid">
|
||||
<FormItem label="是否有效:" label-for="status">
|
||||
<FormItem label="是否开启:" label-for="status">
|
||||
<Select v-model="tableFrom.status" placeholder="请选择" clearable @on-change="userSearchs">
|
||||
<Option value="1">正常</Option>
|
||||
<Option value="0">未开启</Option>
|
||||
<Option value="1">开启</Option>
|
||||
<Option value="0">关闭</Option>
|
||||
</Select>
|
||||
</FormItem>
|
||||
</Col>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user