d5f5f0ea by renchao@pashanhoo.com

style:信息备案材料

1 parent 443bf236
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-14 10:12:23 4 * @LastEditTime: 2023-09-14 11:14:54
5 --> 5 -->
6 <template> 6 <template>
7 <div class="clmlmx-box"> 7 <div class="clmlmx-box">
...@@ -34,27 +34,6 @@ ...@@ -34,27 +34,6 @@
34 sortable: null, 34 sortable: null,
35 column: [ 35 column: [
36 { 36 {
37 prop: "isrequired",
38 label: "是否必选",
39 width: "80",
40 render: (h, scope) => {
41 if (scope.row.isrequired === "1") {
42 return (
43 <div>
44 <span>必选</span>
45 </div>
46 );
47 }
48 else {
49 return (
50 <div>
51 <span>可选</span>
52 </div>
53 )
54 }
55 }
56 },
57 {
58 label: "材料名称", 37 label: "材料名称",
59 render: (h, scope) => { 38 render: (h, scope) => {
60 return ( 39 return (
...@@ -101,21 +80,6 @@ ...@@ -101,21 +80,6 @@
101 }, 80 },
102 }, 81 },
103 { 82 {
104 label: "是否新建材料",
105 width: "80",
106 render: (h, scope) => {
107 if (scope.row.sfxjcl && scope.row.sfxjcl == '1') {
108 return (
109 <span></span>
110 );
111 } else {
112 return (
113 <span></span>
114 );
115 }
116 },
117 },
118 {
119 label: "操作", 83 label: "操作",
120 width: "100", 84 width: "100",
121 render: (h, scope) => { 85 render: (h, scope) => {
...@@ -123,7 +87,7 @@ ...@@ -123,7 +87,7 @@
123 <el-button 87 <el-button
124 type="text" 88 type="text"
125 icon="el-icon-delete" 89 icon="el-icon-delete"
126 disabled={!(scope.row.count == 0 && scope.row.sfxjcl == '1') || !this.formData.ableOperation} 90 disabled={scope.row.count != 0}
127 onClick={() => { 91 onClick={() => {
128 this.handleDelete(scope.$index, scope.row); 92 this.handleDelete(scope.$index, scope.row);
129 }} 93 }}
...@@ -170,8 +134,8 @@ ...@@ -170,8 +134,8 @@
170 message: '保存成功', 134 message: '保存成功',
171 type: 'success' 135 type: 'success'
172 }) 136 })
173 ywPopupCacel()
174 store.dispatch('user/reWorkFresh', true) 137 store.dispatch('user/reWorkFresh', true)
138 ywPopupCacel()
175 } 139 }
176 }).catch(() => { 140 }).catch(() => {
177 this.loading = false 141 this.loading = false
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-13 17:05:49 4 * @LastEditTime: 2023-09-14 14:23:19
5 --> 5 -->
6 <template> 6 <template>
7 <div class="clxx"> 7 <div class="clxx">
...@@ -58,10 +58,10 @@ ...@@ -58,10 +58,10 @@
58 </template> 58 </template>
59 <script> 59 <script>
60 import store from '@/store/index.js' 60 import store from '@/store/index.js'
61 import { ywPopupDialog, ywPopupCacel } from "@/utils/popup.js"; 61 import { ywPopupDialog } from "@/utils/popup.js";
62 import imagePreview from "./dialog/imagePreview.vue";
62 import clxxAddDialog from "./dialog/clxxAddDialog.vue"; 63 import clxxAddDialog from "./dialog/clxxAddDialog.vue";
63 import clxxDetailDialog from "./dialog/clxxDetailDialog.vue"; 64 import clxxDetailDialog from "./dialog/clxxDetailDialog.vue";
64 import imagePreview from "./dialog/imagePreview.vue";
65 import { getCompanyMaterialList, addCompanyMaterial, getFileListByBsmMaterial } from "@/api/company.js"; 65 import { getCompanyMaterialList, addCompanyMaterial, getFileListByBsmMaterial } from "@/api/company.js";
66 export default { 66 export default {
67 components: { clxxAddDialog, imagePreview, clxxDetailDialog }, 67 components: { clxxAddDialog, imagePreview, clxxDetailDialog },
...@@ -90,6 +90,20 @@ ...@@ -90,6 +90,20 @@
90 } 90 }
91 } 91 }
92 }, 92 },
93 computed: {
94 workFresh () {
95 return store.state.user.workFresh
96 }
97 },
98 watch: {
99 workFresh: {
100 handler (newValue, oldValue) {
101 this.clmlInitList()
102 },
103 deep: true,
104 immediate: true
105 }
106 },
93 created () { 107 created () {
94 this.clmlInitList() 108 this.clmlInitList()
95 }, 109 },
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-11 11:23:49 4 * @LastEditTime: 2023-09-14 11:11:10
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
39 </div> 39 </div>
40 </template> 40 </template>
41 <script> 41 <script>
42 import { mapGetters } from 'vuex'
43 import table from "@/utils/mixin/table" 42 import table from "@/utils/mixin/table"
44 import { datas, sendThis } from "./data" 43 import { datas, sendThis } from "./data"
45 import { queryQyByPage, addQy, remove } from "@/api/xxba.js"; 44 import { queryQyByPage, addQy, remove } from "@/api/xxba.js";
...@@ -53,17 +52,6 @@ ...@@ -53,17 +52,6 @@
53 activated () { 52 activated () {
54 this.queryClick() 53 this.queryClick()
55 }, 54 },
56 computed: {
57 ...mapGetters(['workFresh'])
58 },
59 watch: {
60 workFresh: {
61 handler (newVal, oldVal) {
62 console.log(newVal, 'newVal');
63 if (newVal) this.queryClick()
64 }
65 }
66 },
67 data () { 55 data () {
68 return { 56 return {
69 queryForm: { 57 queryForm: {
......