yxk-20260428-改造办理时获取业务表单的页面taskdealmodal(发流程的表单目前是流程中间表,需要改造为真实业务表单)

This commit is contained in:
ye1023
2026-04-28 15:19:40 +08:00
parent e94a5edf6b
commit 98d7368c18
5 changed files with 24 additions and 24 deletions
@@ -95,7 +95,6 @@ export const useModalInner = (callbackFn?: Fn): UseModalInnerReturnType => {
const modalInstanceRef = ref<Nullable<ModalMethods>>(null); const modalInstanceRef = ref<Nullable<ModalMethods>>(null);
const currentInstance = getCurrentInstance(); const currentInstance = getCurrentInstance();
const uidRef = ref<string>(''); const uidRef = ref<string>('');
const getInstance = () => { const getInstance = () => {
const instance = unref(modalInstanceRef); const instance = unref(modalInstanceRef);
if (!instance) { if (!instance) {
@@ -75,7 +75,7 @@
// 将任务ID放到计算函数内部 当formData改变的时候会触发iframeUrl重复赋值 // 将任务ID放到计算函数内部 当formData改变的时候会触发iframeUrl重复赋值
let TASKID = props.formData.taskDefKey; let TASKID = props.formData.taskDefKey;
let TOKEN = getToken(); let TOKEN = getToken();
let DOMAIN_URL = domainUrl let DOMAIN_URL = domainUrl;
// TOKEN = NY5LzSY2VW1BSthYSnJArCFqbgwtZqSuyPQ/OD1n1twWJGU2RN/wkzf+kBVO5DztN85Ca9keeuaRAiwcatr8N0M15+Wv2SmRw82lMwawE2naX5tpJMpkxrUhUUcjnC+BSBL4+PV2JUXBFW8/oOG8HLqYvmPxoP7MMBhMi9D7lRY= // TOKEN = NY5LzSY2VW1BSthYSnJArCFqbgwtZqSuyPQ/OD1n1twWJGU2RN/wkzf+kBVO5DztN85Ca9keeuaRAiwcatr8N0M15+Wv2SmRw82lMwawE2naX5tpJMpkxrUhUUcjnC+BSBL4+PV2JUXBFW8/oOG8HLqYvmPxoP7MMBhMi9D7lRY=
// URL支持{{ window.xxx }}占位符变量 // URL支持{{ window.xxx }}占位符变量
@@ -64,6 +64,7 @@
//办理 //办理
const [registerHandleModal, { openModal: openHandleModal }] = useModal(); const [registerHandleModal, { openModal: openHandleModal }] = useModal();
async function handleProcess(record) { async function handleProcess(record) {
debugger
let { formData, formUrl } = await getTaskNodeInfo(record); let { formData, formUrl } = await getTaskNodeInfo(record);
formData['PROCESS_TAB_TYPE'] = 'run'; formData['PROCESS_TAB_TYPE'] = 'run';
openHandleModal(true, { openHandleModal(true, {