Merge branch 'feature/v6.0/6.0.2' into prod
| | |
| | | index: true, |
| | | selection: true, |
| | | viewBtn: true, |
| | | menuWidth: 250, |
| | | menuWidth: 280, |
| | | dialogWidth: 880, |
| | | dialogClickModal: false, |
| | | |
| | |
| | | index: true, |
| | | selection: true, |
| | | viewBtn: true, |
| | | menuWidth: 250, |
| | | menuWidth: 280, |
| | | dialogWidth: 880, |
| | | dialogClickModal: false, |
| | | |
| | |
| | | formatter: '{b}: {c} ({d}%)', |
| | | }, |
| | | legend: { |
| | | orient: 'horizontal', |
| | | left: 'center', |
| | | bottom: '2%', |
| | | orient: 'vertical', |
| | | top: 'center', |
| | | right: '20', |
| | | textStyle: { |
| | | color: '#363636', |
| | | fontSize: 12, |
| | | }, |
| | | itemWidth: 2, // 减小图例标记的宽度 |
| | | itemHeight: 3, // 减小图例标记的高度 |
| | | itemHeight: 6, // 减小图例标记的高度 |
| | | itemGap: 8, // 减小图例项之间的间距 |
| | | formatter: '{name}', // 简化图例文本 |
| | | }, |
| | |
| | | name: '机巢事件统计', |
| | | type: 'pie', |
| | | // roseType: 'radius', |
| | | radius: ['36%', '60%'], |
| | | // center: ['50%', '45%'], |
| | | // radius: '70%', // 设置饼图的半径 |
| | | center: ['50%', '36%'], // 调整饼图位置 |
| | | radius: ['20%', '70%'], |
| | | center: ['30%', '50%'], |
| | | data: [], |
| | | label: { |
| | | show: true, |
| | |
| | | |
| | | <style lang="scss" scoped> |
| | | .task-industry { |
| | | width: 276px; |
| | | width: 300px; |
| | | height: 100%; |
| | | background: #FFFFFF; |
| | | border-radius: 8px 8px 8px 8px; |
| | |
| | | </el-form> |
| | | <template #footer> |
| | | <div class="dialog-footer"> |
| | | <el-button @click="addDialogVisible = false">取消</el-button> |
| | | <el-button type="primary" @click="createLicense">保存</el-button> |
| | | <el-button type="primary" @click="createLicense" :icon="CircleCheck">保存</el-button> |
| | | <el-button @click="addDialogVisible = false" :icon="CircleClose">取消</el-button> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | <script> |
| | | import { getList, add } from '@/api/license/license' |
| | | import { mapGetters } from 'vuex' |
| | | import { CircleCheck, CircleClose } from '@element-plus/icons-vue'; |
| | | |
| | | export default { |
| | | data () { |
| | |
| | | } |
| | | }, |
| | | computed: { |
| | | CircleClose() { |
| | | return CircleClose |
| | | }, |
| | | CircleCheck() { |
| | | return CircleCheck |
| | | }, |
| | | ...mapGetters(['userInfo', 'permission']), |
| | | permissionList () { |
| | | return { |
| | |
| | | <template> |
| | | <el-dialog |
| | | class="spotDialog" |
| | | class="spotDialog ztzf-dialog-mange" |
| | | :title="props.title" |
| | | v-model="uploadPatchDialog" |
| | | width="78%" |
| | | align-center |
| | | |
| | | > |
| | | <div class="container"> |
| | | <!-- 信息展示区 --> |
| | |
| | | </template> |
| | | </avue-crud> |
| | | |
| | | <el-dialog title="上传图斑" append-to-body align-center v-model="box" width="550px"> |
| | | <el-dialog title="上传图斑" class="ztzf-dialog-mange" append-to-body align-center v-model="box" width="550px"> |
| | | <el-form |
| | | ref="ruleFormRef" |
| | | style="max-width: 600px" |
| | |
| | | <div class="dialog-footer"> |
| | | <el-button type="danger" @click="submitForm(1)">发起</el-button> |
| | | <el-button type="primary" @click="submitForm(0)">存草稿</el-button> |
| | | <el-button @click="dialogVisible = false">取消</el-button> |
| | | <el-button @click="dialogVisible = false" :icon="CircleClose">取消</el-button> |
| | | </div> |
| | | </template> |
| | | </el-dialog> |
| | |
| | | import 'dayjs/locale/zh-cn'; // 导入中文语言包 |
| | | import weekday from 'dayjs/plugin/weekday'; |
| | | import elTooltipCopy from '@/components/ElTooltipCopy.vue'; |
| | | import { CircleClose } from '@element-plus/icons-vue'; |
| | | |
| | | dayjs.extend(weekday); |
| | | dayjs.locale('zh-cn'); |
| | |
| | | } |
| | | }, |
| | | computed: { |
| | | CircleClose() { |
| | | return CircleClose |
| | | }, |
| | | ...mapGetters(['userInfo', 'permission']), |
| | | filteredTabs() { |
| | | // rejection_and_draft 权限控制“已驳回”和“草稿”tab |
| | |
| | | >存草稿</el-button |
| | | > |
| | | |
| | | <el-button @click="handleCancel">取 消</el-button> |
| | | <el-button @click="handleCancel" :icon="CircleClose">取 消</el-button> |
| | | </div> |
| | | </template> |
| | | </el-dialog> |
| | |
| | | @click="rejectTicket" |
| | | >不通过</el-button |
| | | > |
| | | <el-button @click="detailVisible = false">取消</el-button> |
| | | <el-button @click="detailVisible = false":icon="CircleClose">取消</el-button> |
| | | </template> |
| | | <template v-else-if="currentDetail.status === 0"> |
| | | <el-button |
| | |
| | | import elTooltipCopy from '@/components/ElTooltipCopy.vue'; |
| | | import getBaseConfig from '@/buildConfig/config'; |
| | | import CreateQRcode from '@/components/CreateQRcode/CreateQRcode.vue'; |
| | | import { CircleClose } from '@element-plus/icons-vue'; |
| | | const { envName } = getBaseConfig(); |
| | | function regExp(label, name) { |
| | | var reg = new RegExp(label + '=([^&]*)(&|$)', 'g'); |
| | |
| | | this.fetchTableData(); |
| | | }, |
| | | computed: { |
| | | CircleClose() { |
| | | return CircleClose |
| | | }, |
| | | firstRowData() { |
| | | return this.tableData.length > 0 ? this.tableData[0] : null; |
| | | }, |