对接项目库

This commit is contained in:
sunFlower
2022-10-18 10:01:17 +08:00
parent 1f33d84d1a
commit 2dd540a03a
6 changed files with 50 additions and 15 deletions
@@ -1,6 +1,6 @@
<template>
<a-drawer
:title="$t('changeExtension')"
:title="$t('addSubproject')"
:maskClosable="false"
:width="600"
placement="right"
@@ -106,6 +106,7 @@
if (value.versionLast.slice(0, 1) == '0') {
let num = value.versionLast.slice(1, 2)
let numIndex = parseInt(num) + 1
numIndex = numIndex + ''
if (numIndex.length == 1) {
this.formInline.projectVersion = '0' + numIndex
} else {
@@ -113,6 +114,7 @@
}
} else {
let index = parseInt(value.versionLast) + 1
index = index + ''
if (index.length == 1) {
this.formInline.projectVersion = '0' + index
} else {
@@ -130,7 +130,7 @@
<span slot="operation" slot-scope="text,record">
<!-- <a class="text-operation" @click="edit(record)">{{$t('edit')}}</a>-->
<a class="text-operation" @click="changeExtensionClick(record)">
{{$t('changeExtension')}}
{{$t('addSubproject')}}
</a>
<a class="text-operation"
v-has="'projectLibraryBase:delete'"