对接项目库
This commit is contained in:
+3
-1
@@ -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'"
|
||||
|
||||
Reference in New Issue
Block a user