Commit 5a27e33d authored by 刘殿昕's avatar 刘殿昕

fixed

parent 84e12efc
......@@ -46,7 +46,7 @@ export default {
}
if (this.datas) {
let obj = "";
console.log(typeof JSON.parse(this.datas));
// console.log(typeof JSON.parse(this.datas));
try {
if (typeof JSON.parse(this.datas) == "object") {
obj = JSON.stringify(JSON.parse(this.datas), null, "\t");
......
......@@ -497,7 +497,7 @@ export default {
this.backPage();
this.$message.success("新增成功");
} else {
this.$message.error("新增失败");
this.$message.error(response.data.errMsg);
}
})
.catch((response) => {
......
......@@ -798,12 +798,12 @@ export default {
minWidth: "20%",
align: "left",
},
{
prop: "dyr",
label: "调用人",
width: "100px",
align: "center",
},
// {
// prop: "dyr",
// label: "调用人",
// width: "100px",
// align: "center",
// },
{
prop: "dyyw",
label: "调用业务系统",
......@@ -816,30 +816,36 @@ export default {
minWidth: "20%",
align: "left",
},
{
prop: "cjms",
label: "场景描述",
minWidth: "40%",
align: "left",
},
{
prop: "sqgg",
label: "申请规格",
minWidth: "40%",
align: "center",
},
{
prop: "sqsc",
label: "申请时长",
minWidth: "40%",
align: "center",
},
// {
// prop: "cjms",
// label: "场景描述",
// minWidth: "40%",
// align: "left",
// },
// {
// prop: "sqgg",
// label: "申请规格",
// minWidth: "40%",
// align: "center",
// },
// {
// prop: "sqsc",
// label: "申请时长",
// minWidth: "40%",
// align: "center",
// },
{
prop: "sqsj",
label: "申请调用时间",
width: "160px",
align: "right",
},
{
prop: "state",
label: "调用状态",
width: "160px",
align: "right",
},
],
header_gz_process_arr: [
{
......@@ -1778,7 +1784,7 @@ export default {
this.sizeset_flag = false;
this.getsize_arr();
} else {
this.$message.error("保存失败");
this.$message.error(response.data.errMsg);
}
});
},
......
......@@ -893,7 +893,7 @@ export default {
pic: require("@/assets/imgs/ic_gongzuoquyu.png"),
bg: "#e7fdfc",
color: "#25bdb1",
type: "earnings_money",
type: "workplace_count",
num: ""
}
],
......
......@@ -314,7 +314,8 @@ export default {
.get(`/apaas/rest/kubernetes/api/v1/_raw/pod/namespace/${val.namespace}/name/${val.name}`)
.then(response => {
console.log(response.data);
this.yaml_arr = yaml.stringify(response.data)
this.yaml_arr = yaml.stringify(response.data);
console.log(this.yaml_arr)
this.code_arr = JSON.stringify(json.load(this.yaml_arr), null, 2);
this.$refs.actiondialog.show();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment