ac22ce35 by renchao@pashanhoo.com

style:申请材料目录

1 parent 6972b908
...@@ -164,6 +164,7 @@ ...@@ -164,6 +164,7 @@
164 * @author: renchao 164 * @author: renchao
165 */ 165 */
166 clmlInitList (type) { 166 clmlInitList (type) {
167 debugger
167 // 1:列表初始化 2:新增材料 168 // 1:列表初始化 2:新增材料
168 return new Promise((resolve) => { 169 return new Promise((resolve) => {
169 console.log(this.$parent, 'this.$parent'); 170 console.log(this.$parent, 'this.$parent');
......
...@@ -167,13 +167,7 @@ ...@@ -167,13 +167,7 @@
167 this.unitData = this.$parent.unitData; 167 this.unitData = this.$parent.unitData;
168 var formdata = new FormData(); 168 var formdata = new FormData();
169 formdata.append("bsmSlsq", this.$parent.bsmSlsq); 169 formdata.append("bsmSlsq", this.$parent.bsmSlsq);
170 if (this.$route.query?.djywbm == "DJBBL") { 170 formdata.append("bsmSldy", this.$parent.currentSelectProps.bsmSldy);
171 formdata.append("bsmSldy", this.$parent.bsmRepair);
172 formdata.append("clfl", 3);
173 } else {
174 formdata.append("bsmSldy", this.$parent.currentSelectProps.bsmSldy);
175 formdata.append("clfl", 2);
176 }
177 171
178 InitClml(formdata).then((res) => { 172 InitClml(formdata).then((res) => {
179 if (res.code == 200) { 173 if (res.code == 200) {
......
...@@ -205,13 +205,7 @@ ...@@ -205,13 +205,7 @@
205 this.unitData = this.$parent.unitData; 205 this.unitData = this.$parent.unitData;
206 var formdata = new FormData(); 206 var formdata = new FormData();
207 formdata.append("bsmSlsq", Vue.prototype.$currentRoute.query.bsmSlsq); 207 formdata.append("bsmSlsq", Vue.prototype.$currentRoute.query.bsmSlsq);
208 if (Vue.prototype.$currentRoute.query?.djywbm == "DJBBL") { 208 formdata.append("bsmSldy", this.formData.unitData[0]?.bsmSldy);
209 formdata.append("bsmSldy", this.formData.bsmRepair);
210 formdata.append("clfl", 3);
211 } else {
212 formdata.append("bsmSldy", this.formData.unitData[0]?.bsmSldy);
213 formdata.append("clfl", 2);
214 }
215 InitClml(formdata).then((res) => { 209 InitClml(formdata).then((res) => {
216 if (res.code == 200) { 210 if (res.code == 200) {
217 resolve(res.code) 211 resolve(res.code)
......