f591d658 by 蔡俊立
2 parents f67acfab 506be58f
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
40 </ul> --> 40 </ul> -->
41 <el-menu default-active="0" @select="selectItems"> 41 <el-menu default-active="0" @select="selectItems">
42 <el-menu-item 42 <el-menu-item
43 :index="index"
44 v-for="(item, index) in unitData" 43 v-for="(item, index) in unitData"
44 :index="index.toString()"
45 :key="index" 45 :key="index"
46 > 46 >
47 <i> 47 <i>
...@@ -125,7 +125,7 @@ export default { ...@@ -125,7 +125,7 @@ export default {
125 }, 125 },
126 methods: { 126 methods: {
127 selectItems(index) { 127 selectItems(index) {
128 //this.$alert(index); 128 //this.$alert(this.unitData[index].bsmSldy);
129 //this.$store.state.adminleftnavnum = index; 129 //this.$store.state.adminleftnavnum = index;
130 130
131 if (this.currentSelectProps.bsmSldy != this.unitData[index].bsmSldy) { 131 if (this.currentSelectProps.bsmSldy != this.unitData[index].bsmSldy) {
...@@ -211,35 +211,35 @@ export default { ...@@ -211,35 +211,35 @@ export default {
211 leftMenu(formdata).then((res) => { 211 leftMenu(formdata).then((res) => {
212 if (res.code === 200) { 212 if (res.code === 200) {
213 this.unitData = res.result; 213 this.unitData = res.result;
214 this.unitData.push({ 214 // this.unitData.push({
215 bsmSldy: "edd5ffc12c8dcc237ad06447618dcddc", 215 // bsmSldy: "edd5ffc12c8dcc237ad06447618dcddc",
216 bsmBusiness: "ee5187fa978c9002c3a2991ae5d70482", 216 // bsmBusiness: "ee5187fa978c9002c3a2991ae5d70482",
217 bsmSsql: null, 217 // bsmSsql: null,
218 ybdcqzsh: null, 218 // ybdcqzsh: null,
219 bdcdyid: "dded1d6615be4fbf02de75c93bb5084e", 219 // bdcdyid: "dded1d6615be4fbf02de75c93bb5084e",
220 bdcdyh: "610102123666GB10165W00000000", 220 // bdcdyh: "610102123666GB10165W00000000",
221 bdcdylx: null, 221 // bdcdylx: null,
222 xmmc: null, 222 // xmmc: null,
223 jzwmc: null, 223 // jzwmc: null,
224 fh: null, 224 // fh: null,
225 zl: "陕西省新城区大庆路1号村", 225 // zl: "陕西省新城区大庆路1号村",
226 bglx: "0", 226 // bglx: "0",
227 wqhtid: null, 227 // wqhtid: null,
228 wqhtbh: null, 228 // wqhtbh: null,
229 htlx: null, 229 // htlx: null,
230 wqsj: null, 230 // wqsj: null,
231 ydybh: null, 231 // ydybh: null,
232 djyy: "GYJSY2222D", 232 // djyy: "GYJSY2222D",
233 qllx: "A03", 233 // qllx: "A03",
234 djlx: "200", 234 // djlx: "200",
235 sqzsbs: null, 235 // sqzsbs: null,
236 gyfs: null, 236 // gyfs: null,
237 sqfbcz: null, 237 // sqfbcz: null,
238 sfxysczs: null, 238 // sfxysczs: null,
239 sfxyffzs: null, 239 // sfxyffzs: null,
240 issave: null, 240 // issave: null,
241 taskId: null, 241 // taskId: null,
242 }); 242 // });
243 // this.unitData.push(res.result[0]); 243 // this.unitData.push(res.result[0]);
244 // this.unitData.push(res.result[0]); 244 // this.unitData.push(res.result[0]);
245 this.currentSelectProps = res.result[0]; 245 this.currentSelectProps = res.result[0];
......