feddca71 by 任超

style:业务申请

1 parent 86eebb8c
......@@ -4,13 +4,13 @@
</dialogBox>
</template>
<script>
import {queueDjywmc} from './fqsqdata.js';
import { queueDjywmc } from './fqsqdata.js';
export default {
props: {
value: { type: Boolean, default: true },
bsmSqyw: { type: String, default: '' },
djywbm: { type: String, default: '' },
djqxObj:{type: Object, default: ''}
djqxObj: { type: Object, default: '' }
},
data () {
return {
......@@ -23,27 +23,25 @@ export default {
this.myValue = val
},
djywbm (val) {
//let itemObj = { 'A03100': 'scdj','A37100': 'scdy','B39800':'cfdj', default: 'scdj' };
// this.editItem = this.loadView(itemObj[val]);
let dd=queueDjywmc(val);
let dd = queueDjywmc(val);
this.editItem = this.loadView(dd);
},
},
methods: {
loadView (view) {
console.log(view);
console.log(view);
return r => require.ensure([], () => r(require(`../${view}.vue`)))
},
closeDialog () {
this.$emit("input", false);
}
},
}
};
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/public.scss";
/deep/.submit_button {
text-align: center;
padding: 10px;
......