| | |
| | | cancelText="关闭" |
| | | wrap-class-name="full-modal" |
| | | centered |
| | | :closable="false" |
| | | :footer="null" |
| | | > |
| | | <div |
| | |
| | | v-show="mdcDriveTypeParamConfigList != null" |
| | | v-if="driverType != 'PLC'" |
| | | :column="4" |
| | | class="operationData" |
| | | > |
| | | |
| | | <a-descriptions-item |
| | | v-for="(item,id) in mdcDriveTypeParamConfigList " |
| | | :key="item.id" |
| | | :label="item.chineseName" |
| | | >{{item.value}} |
| | | > |
| | | <a-popover v-if="item.value&&item.value.length>18"> |
| | | <template slot="content"> |
| | | {{item.value}} |
| | | </template> |
| | | {{item.value}} |
| | | </a-popover> |
| | | |
| | | <template v-else> |
| | | {{item.value}} |
| | | </template> |
| | | </a-descriptions-item> |
| | | |
| | | </a-descriptions> |
| | |
| | | <!-->{{item.value}}</a-descriptions-item>--> |
| | | <!--</a-descriptions>--> |
| | | |
| | | <a-descriptions |
| | | title="版本信息 for lsv2" |
| | | v-if="driverType == 'LSV2'" |
| | | :column="4" |
| | | > |
| | | <a-descriptions-item label="NC版本">{{resultData.nCVersion}}</a-descriptions-item> |
| | | <a-descriptions-item label="TNC版本">{{resultData.tNCVersion}}</a-descriptions-item> |
| | | <a-descriptions-item label="OPT版本">{{resultData.oPTVersion}}</a-descriptions-item> |
| | | <a-descriptions-item label="PLC版本">{{resultData.pLCVersion}}</a-descriptions-item> |
| | | </a-descriptions> |
| | | <!--<a-descriptions--> |
| | | <!--title="版本信息 for lsv2"--> |
| | | <!--v-if="driverType == 'LSV2'"--> |
| | | <!--:column="4"--> |
| | | <!--class="lsv2Data"--> |
| | | <!-->--> |
| | | <!--<a-descriptions-item label="NC版本">{{resultData.ncversion}}</a-descriptions-item>--> |
| | | <!--<a-descriptions-item label="TNC版本">{{resultData.tncversion}}</a-descriptions-item>--> |
| | | <!--<a-descriptions-item label="OPT版本">{{resultData.optversion}}</a-descriptions-item>--> |
| | | <!--<a-descriptions-item label="PLC版本">{{resultData.plcversion}}</a-descriptions-item>--> |
| | | <!--</a-descriptions>--> |
| | | |
| | | </td> |
| | | </tr> |
| | |
| | | postAction |
| | | } from '@/api/manage' |
| | | import { ajaxGetDictItems, getDictItemsFromCache, duplicateCheck } from '@/api/api' |
| | | import Template1 from '../../../../jeecg/JVxeDemo/layout-demo/Template1' |
| | | |
| | | export default { |
| | | name: 'EqumentDetaiModal', |
| | | components: {}, |
| | | components: { Template1 }, |
| | | props: {}, |
| | | data() { |
| | | return { |
| | |
| | | show: false |
| | | }, |
| | | axisTick: { |
| | | show: true, |
| | | show: false, |
| | | length: 20, |
| | | splitNumber: 1, |
| | | lineStyle: { |
| | |
| | | }, |
| | | pointer: { |
| | | show: true, |
| | | width: 3 |
| | | width: 3, |
| | | itemStyle:{ |
| | | color:'#fff' |
| | | } |
| | | }, |
| | | data: [{ |
| | | name: '', |
| | |
| | | show: false |
| | | }, |
| | | axisTick: { |
| | | show: true, |
| | | show: false, |
| | | length: 20, |
| | | splitNumber: 1, |
| | | lineStyle: { |
| | |
| | | }, |
| | | pointer: { |
| | | show: true, |
| | | width: 3 |
| | | width: 3, |
| | | itemStyle:{ |
| | | color:'#fff' |
| | | } |
| | | }, |
| | | data: [{ |
| | | name: '', |
| | |
| | | type: 'gauge', |
| | | radius: '80%', |
| | | min: 0, //最小刻度 |
| | | max: 300, //最大刻度 |
| | | max: 100, //最大刻度 |
| | | splitNumber: 10, //刻度数量 |
| | | startAngle: 225, |
| | | endAngle: -45, |
| | |
| | | show: false |
| | | }, |
| | | axisTick: { |
| | | show: true, |
| | | show: false, |
| | | length: 20, |
| | | splitNumber: 1, |
| | | lineStyle: { |
| | |
| | | radius: '52.5%', |
| | | z: 3, |
| | | startAngle: 225, |
| | | max: 300, |
| | | max: 100, |
| | | endAngle: -45, |
| | | axisLine: { |
| | | lineStyle: { |
| | | color: [ |
| | | [_this.spindleload / 300, '#31F3FF'], // 动态 |
| | | [_this.spindleload / 100, '#31F3FF'], // 动态 |
| | | [1, '#185363'] |
| | | ], |
| | | width: 4 |
| | |
| | | }, |
| | | pointer: { |
| | | show: true, |
| | | width: 3 |
| | | width: 3, |
| | | itemStyle:{ |
| | | color:'#fff' |
| | | } |
| | | }, |
| | | data: [{ |
| | | name: '', |
| | |
| | | show: false |
| | | }, |
| | | axisTick: { |
| | | show: true, |
| | | show: false, |
| | | length: 20, |
| | | splitNumber: 1, |
| | | lineStyle: { |
| | |
| | | }, |
| | | pointer: { |
| | | show: true, |
| | | width: 3 |
| | | width: 3, |
| | | itemStyle:{ |
| | | color:'#fff' |
| | | } |
| | | }, |
| | | data: [{ |
| | | name: '', |
| | |
| | | padding-bottom: 0; |
| | | margin: 0; |
| | | background-color: #4a4a48 !important; |
| | | opacity: 0.5; |
| | | opacity: 0.9; |
| | | } |
| | | /deep/ .ant-modal-content { |
| | | display: flex; |
| | |
| | | /*background: -ms-linear-gradient(left, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.4) 100%);*/ |
| | | /*background: linear-gradient(to right, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.4) 100%);*/ |
| | | background-color: #312c2c; |
| | | opacity: 0.7; |
| | | opacity: 1; |
| | | } |
| | | |
| | | /deep/ .ant-modal-close { |
| | |
| | | .ant-tabs-content .ant-form-item { |
| | | margin-bottom: 0px; |
| | | } |
| | | |
| | | /deep/ .ant-descriptions-item-label{ |
| | | width: 6.7vw; |
| | | text-align: right; |
| | | margin-right: 10px; |
| | | } |
| | | |
| | | /deep/ .operationData .ant-descriptions-item-content, |
| | | .lsv2Data .ant-descriptions-item-content |
| | | { |
| | | width: 130px; |
| | | overflow: hidden; |
| | | white-space: nowrap; |
| | | text-overflow: ellipsis; |
| | | } |
| | | </style> |