| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <template>
- <!-- 套保品种详情 -->
- <a-modal class="commonModal modify-custom"
- title="详情"
- v-if="visible"
- v-model:visible="visible"
- centered
- :maskClosable="maskClosableFlag"
- @cancel="cancel"
- width="890px">
- <template #footer>
- <a-button key="submit"
- type="primary"
- :loading="loading"
- @click="submit">完成</a-button>
- </template>
- </a-modal>
- </template>
- <script lang="ts">
- import { defineComponent, ref } from 'vue';
- import { closeModal } from '@/common/setup/modal/index';
- import { initData } from '@/common/methods/index';
- export default defineComponent({
- name: 'modify-custom',
- components: {},
- props: {
- // selectedRow: {
- // type:
- // }
- },
- setup() {
- const { visible, cancel } = closeModal('detail');
- const loading = ref<boolean>(false);
- const maskClosableFlag = ref<boolean>(false);
- function submit() {
- cancel();
- }
- initData(() => {});
- return {
- visible,
- cancel,
- submit,
- loading,
- maskClosableFlag: false,
- };
- },
- });
- </script>
- <style lang="less">
- .modify-custom {
- .upload {
- display: inline-flex;
- .ant-btn.uploadBtn {
- width: 60px;
- height: 30px;
- background: @m-blue0;
- border: 0;
- padding: 0;
- text-align: center;
- font-size: 14px;
- color: @m-white0;
- .rounded-corners(3px);
- &:hover {
- background: rgba(@m-blue0, 0);
- color: rgba(@m-white0, 0.8);
- }
- }
- .look {
- color: @m-blue0;
- font-size: 14px;
- margin-left: 10px;
- cursor: pointer;
- }
- }
- }
- </style
- >;
|