|
@@ -44,6 +44,7 @@ const UpdateForm: any = ref({
|
|
|
const requestModeOptionList = [
|
|
|
{ id: 'http', label: 'http' },
|
|
|
{ id: 'mq', label: 'MQ' },
|
|
|
+ { id: 'db', label: '入库' },
|
|
|
]
|
|
|
// 返回数据类型选项数据
|
|
|
const returnTypeOptionList = [
|
|
@@ -78,14 +79,14 @@ const submit = async (formEl) => {
|
|
|
type: "success"
|
|
|
});
|
|
|
UpdateForm.value = {
|
|
|
- id: null, //ID
|
|
|
- projectName: "", //项目名称
|
|
|
- projectDetail: "", //项目介绍
|
|
|
- requestMode: "", //调用方式
|
|
|
- noticeFlag: "", //是否通知
|
|
|
- noticeUrl: "", //通知地址
|
|
|
- requestUrl: "", //请求地址
|
|
|
- returnType: "", //返回数据类型
|
|
|
+ id: null, //ID
|
|
|
+ projectName: "", //项目名称
|
|
|
+ projectDetail: "", //项目介绍
|
|
|
+ requestMode: "", //调用方式
|
|
|
+ noticeFlag: "", //是否通知
|
|
|
+ noticeUrl: "", //通知地址
|
|
|
+ requestUrl: "", //请求地址
|
|
|
+ returnType: "", //返回数据类型
|
|
|
|
|
|
};
|
|
|
// 关闭修改弹窗;
|
|
@@ -121,7 +122,7 @@ const rules = reactive({
|
|
|
const closeFn: any = inject('closeEditUpdatePriProjectVisible');
|
|
|
const openVisible = async () => {
|
|
|
//通过ID获取表格数据
|
|
|
- const { status, data }: any = await http.Request({ method: UrlList.prizeSet.prigetPriProjectQuery.method, url: UrlList.prizeSet.prigetPriProjectQuery.url, params: { id: props.formData.id }});
|
|
|
+ const { status, data }: any = await http.Request({ method: UrlList.prizeSet.prigetPriProjectQuery.method, url: UrlList.prizeSet.prigetPriProjectQuery.url, params: { id: props.formData.id } });
|
|
|
if (status === 1) {
|
|
|
UpdateForm.value = data;
|
|
|
|