|
@@ -85,19 +85,25 @@
|
|
|
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
<el-tab-pane label="文件" name="third">
|
|
<el-tab-pane label="文件" name="third">
|
|
- <div class="hello tree-container">
|
|
|
|
- <el-tree
|
|
|
|
- :data="data"
|
|
|
|
- show-checkbox
|
|
|
|
- node-key="id"
|
|
|
|
- class="tree"
|
|
|
|
- :allow-drop="allowDrop"
|
|
|
|
- :props="defaultProps"
|
|
|
|
- :default-expanded-keys="[2, 3]"
|
|
|
|
- :default-checked-keys="[5]">
|
|
|
|
- </el-tree>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
|
|
+ <div class="filed_group_check" v-for='items, index in field_data' :key="index">
|
|
|
|
+ <div class="titles">
|
|
|
|
+ <span> {{ index }} </span>
|
|
|
|
+ <button class="hide_button" @click="showDialog(items)"> 选择</button>
|
|
|
|
+
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div>
|
|
|
|
+ <button class="hide_button" @click='checkedAll(index)' v-show="items.selected"> 全选</button>
|
|
|
|
+ <div v-for='value, key in items.data_list' :key="key" v-show="items.selected">
|
|
|
|
+
|
|
|
|
+ <input type="checkbox" class="check_box tui-checkbox" id="index" :checked="value" value="value"
|
|
|
|
+ @click='checkedOne(index, key)'>
|
|
|
|
+ <label for="value">{{ key }}</label>
|
|
|
|
+
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
|
|
|
</el-tabs>
|
|
</el-tabs>
|
|
@@ -150,13 +156,13 @@ export default {
|
|
selected6: false,
|
|
selected6: false,
|
|
input:'',
|
|
input:'',
|
|
businessNum : this.$route.query.businessNum,
|
|
businessNum : this.$route.query.businessNum,
|
|
|
|
+ reportFileData : [],
|
|
|
|
|
|
data: [{
|
|
data: [{
|
|
id: 1,
|
|
id: 1,
|
|
label: '一级 2',
|
|
label: '一级 2',
|
|
children: [{
|
|
children: [{
|
|
- id: 3,
|
|
|
|
- label: '二级 2-1',}]
|
|
|
|
|
|
+ label: 'aaa',}]
|
|
}],
|
|
}],
|
|
defaultProps: {
|
|
defaultProps: {
|
|
// 用于修改节点指定标签的属性值
|
|
// 用于修改节点指定标签的属性值
|
|
@@ -183,6 +189,12 @@ export default {
|
|
{
|
|
{
|
|
this.customInfoData=res.data.custom_info;
|
|
this.customInfoData=res.data.custom_info;
|
|
}
|
|
}
|
|
|
|
+ ),
|
|
|
|
+ reportFileList().then(
|
|
|
|
+ res=>
|
|
|
|
+ {
|
|
|
|
+ this.reportFileData=res.data.report_file_list;
|
|
|
|
+ }
|
|
)
|
|
)
|
|
},
|
|
},
|
|
beforeUpdate() {},
|
|
beforeUpdate() {},
|