|
|
|
|
@ -5878,7 +5878,7 @@ var informationPage = function informationPage(_ref) {
|
|
|
|
|
style: {
|
|
|
|
|
width: '38%'
|
|
|
|
|
},
|
|
|
|
|
children: "http://app-kyxt.pcl.ac.cn:8000/competitions/"
|
|
|
|
|
children: "https://app-kyxt.pcl.ac.cn/competitions/"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
|
|
|
|
|
placement: "topLeft",
|
|
|
|
|
color: "#fb3226",
|
|
|
|
|
@ -8377,7 +8377,7 @@ var documentPage = function documentPage(_ref) {
|
|
|
|
|
setquestion_show(res === null || res === void 0 || (_res$data7 = res.data) === null || _res$data7 === void 0 ? void 0 : _res$data7.stage_count);
|
|
|
|
|
setquestion_finish((res === null || res === void 0 || (_res$data8 = res.data) === null || _res$data8 === void 0 ? void 0 : _res$data8.stage_count) > 0 ? true : false);
|
|
|
|
|
settime_show(dayjs_min_default()(res === null || res === void 0 || (_res$data9 = res.data) === null || _res$data9 === void 0 || (_res$data9 = _res$data9.competition) === null || _res$data9 === void 0 ? void 0 : _res$data9.start_time).format('YYYY-MM-DD HH:mm') + ' ~ ' + dayjs_min_default()(res === null || res === void 0 || (_res$data10 = res.data) === null || _res$data10 === void 0 || (_res$data10 = _res$data10.competition) === null || _res$data10 === void 0 ? void 0 : _res$data10.end_time).format('YYYY-MM-DD HH:mm'));
|
|
|
|
|
seturl_show('http://app-kyxt.pcl.ac.cn:8000/competitions/' + (res === null || res === void 0 || (_res$data11 = res.data) === null || _res$data11 === void 0 || (_res$data11 = _res$data11.competition) === null || _res$data11 === void 0 ? void 0 : _res$data11.identifier) + '/edit');
|
|
|
|
|
seturl_show('https://app-kyxt.pcl.ac.cn/competitions/' + (res === null || res === void 0 || (_res$data11 = res.data) === null || _res$data11 === void 0 || (_res$data11 = _res$data11.competition) === null || _res$data11 === void 0 ? void 0 : _res$data11.identifier) + '/edit');
|
|
|
|
|
form.setFieldsValue({
|
|
|
|
|
'identifier': res === null || res === void 0 || (_res$data12 = res.data) === null || _res$data12 === void 0 ? void 0 : _res$data12.identifier
|
|
|
|
|
});
|
|
|
|
|
@ -8411,7 +8411,7 @@ var documentPage = function documentPage(_ref) {
|
|
|
|
|
//如果要保留文本格式,比如保留换行符,或者多行文本,可以使用 textarea 标签,再配和模板字符串 ` `
|
|
|
|
|
//const input = document.createElement('textarea')
|
|
|
|
|
// 将想要复制的值
|
|
|
|
|
input.value = 'http://app-kyxt.pcl.ac.cn:8000/competitions/' + form.getFieldValue('identifier');
|
|
|
|
|
input.value = 'https://app-kyxt.pcl.ac.cn/competitions/' + form.getFieldValue('identifier');
|
|
|
|
|
// 页面底部追加输入框
|
|
|
|
|
document.body.appendChild(input);
|
|
|
|
|
// 选中输入框
|
|
|
|
|
@ -8594,7 +8594,7 @@ var documentPage = function documentPage(_ref) {
|
|
|
|
|
colon: false,
|
|
|
|
|
name: "identifier",
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
|
|
|
|
|
prefix: "http://app-kyxt.pcl.ac.cn:8000/competitions/",
|
|
|
|
|
prefix: "https://app-kyxt.pcl.ac.cn/competitions/",
|
|
|
|
|
disabled: true,
|
|
|
|
|
className: documentmodules.form_item_item
|
|
|
|
|
})
|