perf(项目设置): 应用管理加小数的过滤以及时间显示延迟问题
--bug=1010562--user=郭雨琦 应用管理加小数的过滤以及时间显示延迟问题 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001010562
This commit is contained in:
parent
21b12e340a
commit
0b2c492d05
|
@ -36,7 +36,7 @@
|
||||||
placement="bottom"
|
placement="bottom"
|
||||||
width="300">
|
width="300">
|
||||||
<p>{{ shareUrl }}</p>
|
<p>{{ shareUrl }}</p>
|
||||||
<span style="color: red;float: left;margin-left: 10px;">{{
|
<span style="color: red;float: left;margin-left: 10px;" v-if="application.typeValue">{{
|
||||||
$t('commons.validity_period')+application.typeValue
|
$t('commons.validity_period')+application.typeValue
|
||||||
}}</span>
|
}}</span>
|
||||||
<div style="text-align: right; margin: 0">
|
<div style="text-align: right; margin: 0">
|
||||||
|
@ -369,6 +369,7 @@ export default {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
handleShare(report) {
|
handleShare(report) {
|
||||||
|
this.getProjectApplication();
|
||||||
let pram = {};
|
let pram = {};
|
||||||
pram.customData = report.id;
|
pram.customData = report.id;
|
||||||
pram.shareType = 'PERFORMANCE_REPORT';
|
pram.shareType = 'PERFORMANCE_REPORT';
|
||||||
|
@ -376,7 +377,6 @@ export default {
|
||||||
let thisHost = window.location.host;
|
let thisHost = window.location.host;
|
||||||
this.shareUrl = thisHost + "/sharePerformanceReport" + data.shareUrl;
|
this.shareUrl = thisHost + "/sharePerformanceReport" + data.shareUrl;
|
||||||
});
|
});
|
||||||
this.getProjectApplication();
|
|
||||||
},
|
},
|
||||||
getProjectApplication(){
|
getProjectApplication(){
|
||||||
this.$get('/project_application/get/' + getCurrentProjectID()+"/PERFORMANCE_SHARE_REPORT_TIME", res => {
|
this.$get('/project_application/get/' + getCurrentProjectID()+"/PERFORMANCE_SHARE_REPORT_TIME", res => {
|
||||||
|
|
|
@ -122,10 +122,15 @@ export default {
|
||||||
this.selfChoose = false;
|
this.selfChoose = false;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if(Number(this.selfQuantity)>parseInt(this.selfQuantity)){
|
||||||
|
this.$warning(this.$t('api_test.request.time')+this.$t('commons.type_of_num'));
|
||||||
|
this.selfChoose = false;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$emit("update:choose", val);
|
this.$emit("update:choose", val);
|
||||||
this.$emit("update:expr", this.selfQuantity + this.selfUnit);
|
this.$emit("update:expr", parseInt(this.selfQuantity) + this.selfUnit);
|
||||||
this.$emit("chooseChange");
|
this.$emit("chooseChange");
|
||||||
},
|
},
|
||||||
parseExpr(expr) {
|
parseExpr(expr) {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
placement="right"
|
placement="right"
|
||||||
width="300">
|
width="300">
|
||||||
<p>{{shareUrl}}</p>
|
<p>{{shareUrl}}</p>
|
||||||
<span style="color: red;float: left;margin-left: 10px;">{{ $t('commons.validity_period')+application.typeValue}}</span>
|
<span style="color: red;float: left;margin-left: 10px;" v-if="application.typeValue">{{ $t('commons.validity_period')+application.typeValue}}</span>
|
||||||
<div style="text-align: right; margin: 0">
|
<div style="text-align: right; margin: 0">
|
||||||
<el-button type="primary" size="mini" :disabled="!shareUrl"
|
<el-button type="primary" size="mini" :disabled="!shareUrl"
|
||||||
v-clipboard:copy="shareUrl">{{ $t("commons.copy") }}</el-button>
|
v-clipboard:copy="shareUrl">{{ $t("commons.copy") }}</el-button>
|
||||||
|
|
|
@ -241,7 +241,7 @@ export default {
|
||||||
cancel_follow_success: "Cancel Follow Success",
|
cancel_follow_success: "Cancel Follow Success",
|
||||||
generate_test_data: "Generate test data",
|
generate_test_data: "Generate test data",
|
||||||
type: "Type",
|
type: "Type",
|
||||||
type_of_num:"Only Number",
|
type_of_num:"Please enter an integer type",
|
||||||
validity_period:'Validity Period',
|
validity_period:'Validity Period',
|
||||||
please_select_a_deadline: "Please select a deadline",
|
please_select_a_deadline: "Please select a deadline",
|
||||||
relationship: {
|
relationship: {
|
||||||
|
|
|
@ -241,7 +241,7 @@ export default {
|
||||||
follow_success: "关注成功",
|
follow_success: "关注成功",
|
||||||
cancel_follow_success: "取消关注成功",
|
cancel_follow_success: "取消关注成功",
|
||||||
type: "类型",
|
type: "类型",
|
||||||
type_of_num:"只能输入数字类型",
|
type_of_num:"请输入整数类型",
|
||||||
validity_period:'有效期',
|
validity_period:'有效期',
|
||||||
please_select_a_deadline: "请选择截止时间",
|
please_select_a_deadline: "请选择截止时间",
|
||||||
relationship: {
|
relationship: {
|
||||||
|
|
|
@ -241,7 +241,7 @@ export default {
|
||||||
follow_success: "關註成功",
|
follow_success: "關註成功",
|
||||||
cancel_follow_success: "取消關註成功",
|
cancel_follow_success: "取消關註成功",
|
||||||
type: "類型",
|
type: "類型",
|
||||||
type_of_num:"只能輸入數字類型",
|
type_of_num:"請輸入整數類型",
|
||||||
validity_period:'有效期',
|
validity_period:'有效期',
|
||||||
please_select_a_deadline: "請選擇截止時間",
|
please_select_a_deadline: "請選擇截止時間",
|
||||||
relationship: {
|
relationship: {
|
||||||
|
|
Loading…
Reference in New Issue