Commit 384dfeac authored by 刘殿昕's avatar 刘殿昕

fixed

parent 10cefccf
...@@ -729,6 +729,9 @@ export default { ...@@ -729,6 +729,9 @@ export default {
this.approval_arr1[i].arr[1].info = data[i].department_name; this.approval_arr1[i].arr[1].info = data[i].department_name;
this.approval_arr1[i].arr[2].info = data[i].user_name; this.approval_arr1[i].arr[2].info = data[i].user_name;
this.approval_arr1[i].arr[3].info = data[i].comments; this.approval_arr1[i].arr[3].info = data[i].comments;
if (data[i].level == 2) {
this.approval_arr1[i].arr.splice(1, 1);
}
} }
this.approval_arr1.splice(data.length); this.approval_arr1.splice(data.length);
} else { } else {
......
...@@ -633,10 +633,14 @@ export default { ...@@ -633,10 +633,14 @@ export default {
{ {
title: "请求参数:", title: "请求参数:",
info: "", info: "",
type: "solt",
solt_name: "request_table",
}, },
{ {
title: "请求示例:", title: "请求示例:",
info: "", info: "",
type: "solt",
solt_name: "request_code",
}, },
{ {
title: "编码格式:", title: "编码格式:",
...@@ -964,7 +968,7 @@ export default { ...@@ -964,7 +968,7 @@ export default {
this.service_header_arr.second.push(temp_sj); this.service_header_arr.second.push(temp_sj);
} }
this.$set(this.list_arr[0], "info", data.descript); this.$set(this.list_arr[0], "info", data.descript);
this.$set(this.list_arr[1], "info", data.data_service_type2_name); this.$set(this.list_arr[1], "info", data.sectors_name);
this.$set( this.$set(
this.list_arr[2], this.list_arr[2],
"info", "info",
...@@ -1150,6 +1154,11 @@ export default { ...@@ -1150,6 +1154,11 @@ export default {
}, },
]; ];
} }
if (e.level == 2) {
this.use_approval_arr[this.use_approval_arr.length - 1][
"arr"
].splice(1, 1)
}
}); });
} else { } else {
this.use_approval_arr.push({ this.use_approval_arr.push({
...@@ -1157,6 +1166,9 @@ export default { ...@@ -1157,6 +1166,9 @@ export default {
result: "待审批", result: "待审批",
}); });
} }
if (data.data_service_type1 != 5) {
this.apply_arr.splice(5, 1)
}
this.res_data = JSON.parse(data.res_fields); this.res_data = JSON.parse(data.res_fields);
}) })
.catch(function (response) {}); .catch(function (response) {});
......
...@@ -543,6 +543,9 @@ export default { ...@@ -543,6 +543,9 @@ export default {
this.zd_table_arr = data.service_apply_info.res_fields this.zd_table_arr = data.service_apply_info.res_fields
? JSON.parse(data.service_apply_info.res_fields) ? JSON.parse(data.service_apply_info.res_fields)
: []; : [];
if (data.data_service_type1 != 5) {
this.list_arr.splice(7, 1)
}
}) })
.catch(function (response) { .catch(function (response) {
this.$message.error("请求失败"); this.$message.error("请求失败");
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
{ required: true, message: '请输入接口编码', trigger: 'blur' }, { required: true, message: '请输入接口编码', trigger: 'blur' },
]"> ]">
<p class="formname">接口编码:</p> <p class="formname">接口编码:</p>
<el-input v-model="form.code"></el-input> <el-input v-model="form.code" :disabled="true"></el-input>
</el-form-item> </el-form-item>
<!-- <el-form-item v-if="now_user==2" prop="people" :rules="[ <!-- <el-form-item v-if="now_user==2" prop="people" :rules="[
{ required: true, message: '请输入发布人', trigger: 'blur' }, { required: true, message: '请输入发布人', trigger: 'blur' },
...@@ -286,7 +286,7 @@ export default { ...@@ -286,7 +286,7 @@ export default {
this.$set(this.form,'desc',data.descript) this.$set(this.form,'desc',data.descript)
this.$set(this.form,'area',data.sectors) this.$set(this.form,'area',data.sectors)
this.$set(this.form,'origin',data.organization) this.$set(this.form,'origin',data.organization)
this.$set(this.form,'code',data.encode_method) this.$set(this.form,'code',"自动生成")
this.$set(this.form,'people',data.register_user_info?data.register_user_info.user_name:data.register_user_info) this.$set(this.form,'people',data.register_user_info?data.register_user_info.user_name:data.register_user_info)
this.$set(this.form,'phone',data.register_user_info?data.register_user_info.phone:data.register_user_info) this.$set(this.form,'phone',data.register_user_info?data.register_user_info.phone:data.register_user_info)
this.$set(this.form,'resource',data.openness_name == "共享" ? 1 : data.openness_name == "受限" ? 2 : 3) this.$set(this.form,'resource',data.openness_name == "共享" ? 1 : data.openness_name == "受限" ? 2 : 3)
......
...@@ -533,10 +533,10 @@ export default { ...@@ -533,10 +533,10 @@ export default {
name: "申请类型", name: "申请类型",
text: "", text: "",
}, },
{ // {
name: "申请开发次数", // name: "申请开发次数",
text: "", // text: "",
}, // },
{ {
name: "申请部署次数", name: "申请部署次数",
text: "", text: "",
...@@ -1013,10 +1013,10 @@ export default { ...@@ -1013,10 +1013,10 @@ export default {
name: "申请类型", name: "申请类型",
text: data.apply_type_name, text: data.apply_type_name,
}, },
{ // {
name: "申请开发次数", // name: "申请开发次数",
text: data.apply_times + "", // text: data.apply_times + "次",
}, // },
{ {
name: "申请部署次数", name: "申请部署次数",
text: data.deploy_times + "", text: data.deploy_times + "",
......
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