| | |
| | | $t('Speed parameter settings')
|
| | | }}</router-link>
|
| | |
|
| | | <router-link v-if="hasPermission"
|
| | | <router-link v-if="plcmes"
|
| | | to="/Electrical/InteractionState"
|
| | | tag="el-button"
|
| | | type="text"
|
| | |
| | | language: this.$i18n.locale,
|
| | | embeddedComponent: ManualonePosition2,
|
| | | embeddedComponent2: ManualJog,
|
| | | hasPermission: false // 默认没有权限
|
| | |
|
| | | hasPermission: false, // 默认没有权限
|
| | | plcmes:false
|
| | | // 加载整个data.json文件作为jsonData
|
| | | }
|
| | | },
|
| | |
| | | if (item.permissionId == "36" && item.state == 1) {
|
| | | this.hasPermission = true;
|
| | | }
|
| | | if (item.permissionId == "50" && item.state == 1) {
|
| | | this.plcmes = true;
|
| | | }
|
| | |
|
| | | });
|
| | | });
|