123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- <!--单位审核-->
- <template>
- <div class="content-div">
- <a-card class="info-submit" :bordered="false">
- <a-radio-group v-model="defaultValue" button-style="solid" @change="changeContent">
- <a-radio-button v-for="(item, index) in menus" :key="item.action" :value="item.value" :name="item.value">
- {{ item.describe }}
- </a-radio-button>
- </a-radio-group>
- </a-card>
- <a-card :bordered="false">
- <!--省属企业信息待审核-->
- <company-audit v-show="'ssqyxxdsh' == defaultValue"></company-audit>
- <!--省直单位信息待审核-->
- <depart-audit v-show="'szdwxxdsh' == defaultValue"></depart-audit>
- <!--省属企业信息已审核-->
- <company-approved v-show="'ssqyxxysh' == defaultValue"></company-approved>
- <!--省直单位信息已审核-->
- <depart-approved v-show="'szdwxxysh' == defaultValue"></depart-approved>
- </a-card>
- </div>
- </template>
- <script>
- import companyAudit from '../qcsb/qyxx/QcQyxxList1.vue'
- import departAudit from '../sydwqcsb/sydwxx/QcQyxxList1.vue'
- import companyApproved from '../qcsb/qyxx/QcQyxxList2.vue'
- import departApproved from '../sydwqcsb/sydwxx/QcQyxxList2.vue'
- export default {
- name: 'enterAudit',
- components: {
- companyAudit,
- departAudit,
- companyApproved,
- departApproved,
- },
- data() {
- return {
- defaultValue: '',
- menus: [],
- }
- },
- created() {
- this.menus = this.$store.state.menu.menuList['dwsh'];
- let menuIndex = this.$route.params.index != undefined ? (this.menus.length > this.$route.params.index ? this.$route.params.index : 0) : 0;
- console.log("enterAudit...menuIndex", menuIndex);
- this.defaultValue = this.menus.length > 0 ? this.menus[menuIndex].value : '';
- },
- methods: {
- changeContent(key) {
- console.log(key);
- },
- }
- }
- </script>
- <style scoped>
- .content-div {
- height: 100%;
- }
- .ant-card:not(:last-child) {
- margin-bottom: 10px;
- }
- .ant-card:last-child {
- height: calc(100% - 70px);
- overflow-y: auto;
- }
- </style>
- <style lang="less" scoped>
- .info-submit {
- & ::v-deep > .ant-card-body {
- padding: 14px 24px;
- }
- &::v-deep .ant-radio-button-wrapper {
- //border: 1px solid ;
- border-radius: 4px;
- padding-left: 25px;
- padding-right: 25px;
- //border-left: 1px;
- border: 1px solid @primary-color;
- margin-left: 15px;
- color: @primary-color;
- }
- & /deep/ .ant-radio-button-wrapper:not(:first-child)::before {
- width: 0px;
- }
- & .ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
- color: #fff;
- }
- }
- .content-div {
- &::v-deep .ant-card:last-child .ant-card-body {
- padding: 10px 24px 0;
- }
- }
- </style>
|