style:受理申请
Showing
3 changed files
with
21 additions
and
9 deletions
... | @@ -15,6 +15,20 @@ | ... | @@ -15,6 +15,20 @@ |
15 | </div> | 15 | </div> |
16 | <!-- 材料预览 --> | 16 | <!-- 材料预览 --> |
17 | <div class="clyl-box" v-else> | 17 | <div class="clyl-box" v-else> |
18 | <div class="menu-tree"> | ||
19 | <div class="item"> | ||
20 | 材料目录 | ||
21 | <i :class="iclass" @click="iconClick()"></i> | ||
22 | <el-collapse-transition> | ||
23 | <div v-show="menuOpen"> | ||
24 | <div v-for="item in tableData" :key="item.bsmSj" | ||
25 | :class="['child', treeCheckId == item.bsmSj ? 'checked' : '']" @click="treeClick(item)"> | ||
26 | {{ item.sjmc }} | ||
27 | </div> | ||
28 | </div> | ||
29 | </el-collapse-transition> | ||
30 | </div> | ||
31 | </div> | ||
18 | <image-preview :previewImg="previewImg" /> | 32 | <image-preview :previewImg="previewImg" /> |
19 | </div> | 33 | </div> |
20 | </div> | 34 | </div> |
... | @@ -41,6 +55,9 @@ export default { | ... | @@ -41,6 +55,9 @@ export default { |
41 | label: "材料预览", | 55 | label: "材料预览", |
42 | }, | 56 | }, |
43 | ], | 57 | ], |
58 | menuOpen: true, | ||
59 | iclass: "itemIcon el-icon-caret-bottom", | ||
60 | treeCheckId: "", | ||
44 | checkedId: "1", | 61 | checkedId: "1", |
45 | column: [ | 62 | column: [ |
46 | { | 63 | { |
... | @@ -265,7 +282,6 @@ export default { | ... | @@ -265,7 +282,6 @@ export default { |
265 | message: "新增成功", | 282 | message: "新增成功", |
266 | type: "success", | 283 | type: "success", |
267 | }); | 284 | }); |
268 | console.log(res); | ||
269 | this.tableData = res.result ? res.result : []; | 285 | this.tableData = res.result ? res.result : []; |
270 | // 加载表格 | 286 | // 加载表格 |
271 | this.clmlmxInit(); | 287 | this.clmlmxInit(); |
... | @@ -434,6 +450,7 @@ export default { | ... | @@ -434,6 +450,7 @@ export default { |
434 | padding-left: 18px; | 450 | padding-left: 18px; |
435 | color: #6b6b6b; | 451 | color: #6b6b6b; |
436 | cursor: pointer; | 452 | cursor: pointer; |
453 | box-sizing: border-box; | ||
437 | } | 454 | } |
438 | 455 | ||
439 | .checked { | 456 | .checked { | ... | ... |
1 | <template> | 1 | <template> |
2 | <dialogBox title="新建材料信息" width="40%" v-model="myValue" :isFullscreen="false" :isButton="false"> | 2 | <dialogBox title="新建材料信息" width="40%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit" |
3 | :isFullscreen="false"> | ||
3 | <el-form :model="ruleForm" ref="ruleForm" label-width="120px"> | 4 | <el-form :model="ruleForm" ref="ruleForm" label-width="120px"> |
4 | <el-row> | 5 | <el-row> |
5 | <el-col :span="24"> | 6 | <el-col :span="24"> |
... | @@ -16,10 +17,6 @@ | ... | @@ -16,10 +17,6 @@ |
16 | </el-col> | 17 | </el-col> |
17 | </el-row> | 18 | </el-row> |
18 | </el-form> | 19 | </el-form> |
19 | <div class="submit-button" style="padding-bottom: 20px"> | ||
20 | <el-button type="primary" @click="onSave">保存</el-button> | ||
21 | <el-button @click="closeDialog">取消</el-button> | ||
22 | </div> | ||
23 | </dialogBox> | 20 | </dialogBox> |
24 | </template> | 21 | </template> |
25 | 22 | ||
... | @@ -47,7 +44,7 @@ export default { | ... | @@ -47,7 +44,7 @@ export default { |
47 | closeDialog () { | 44 | closeDialog () { |
48 | this.$emit("input", false); | 45 | this.$emit("input", false); |
49 | }, | 46 | }, |
50 | onSave () { | 47 | handleSubmit () { |
51 | this.$parent.addSave(this.ruleForm); | 48 | this.$parent.addSave(this.ruleForm); |
52 | this.$emit("input", false); | 49 | this.$emit("input", false); |
53 | }, | 50 | }, | ... | ... |
... | @@ -217,12 +217,10 @@ export default { | ... | @@ -217,12 +217,10 @@ export default { |
217 | methods: { | 217 | methods: { |
218 | list (bsmSldy) { | 218 | list (bsmSldy) { |
219 | var formdata = new FormData(); | 219 | var formdata = new FormData(); |
220 | //可以通过append()方法来追加数据 | ||
221 | formdata.append("bsmSldy", bsmSldy); | 220 | formdata.append("bsmSldy", bsmSldy); |
222 | Init(formdata).then((res) => { | 221 | Init(formdata).then((res) => { |
223 | if (res.code === 200 && res.result) { | 222 | if (res.code === 200 && res.result) { |
224 | this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas } | 223 | this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas } |
225 | console.log(this.ruleForm, 'this.ruleForm'); | ||
226 | } | 224 | } |
227 | }) | 225 | }) |
228 | }, | 226 | }, | ... | ... |
-
Please register or sign in to post a comment