1/*! For license information please see d1dea0d3.8f0049d7.js.LICENSE.txt */ 2"use strict";(self.webpackChunksurveyking_docs=self.webpackChunksurveyking_docs||[]).push([[29407],{56790:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>a,frontMatter:()=>t,metadata:()=>l,toc:()=>o});var i=r(74848),s=r(28453);const t={title:"\u8df3\u8f6c\u548c\u7ed3\u675f",description:"\u4f7f\u7528 branch \u8df3\u8fc7\u540e\u7eed\u9898\u76ee\u6216\u63d0\u524d\u7ed3\u675f\u7b54\u9898\uff0c\u8bf4\u660e\u8d77\u70b9\u3001\u7ec8\u70b9\u3001\u6761\u4ef6\u6062\u590d\u548c\u63d0\u4ea4\u884c\u4e3a\u3002",sidebar_position:8},c="\u8df3\u8f6c\u548c\u7ed3\u675f",l={id:"logic/custom-logic/jump-and-finish",title:"\u8df3\u8f6c\u548c\u7ed3\u675f",description:"\u4f7f\u7528 branch \u8df3\u8fc7\u540e\u7eed\u9898\u76ee\u6216\u63d0\u524d\u7ed3\u675f\u7b54\u9898\uff0c\u8bf4\u660e\u8d77\u70b9\u3001\u7ec8\u70b9\u3001\u6761\u4ef6\u6062\u590d\u548c\u63d0\u4ea4\u884c\u4e3a\u3002",source:"@site/docs/help/logic/custom-logic/jump-and-finish.md",sourceDirName:"logic/custom-logic",slug:"/logic/custom-logic/jump-and-finish",permalink:"/help/logic/custom-logic/jump-and-finish",draft:!1,unlisted:!1,tags:[],version:"current",lastUpdatedAt:1789687123e3,sidebarPosition:8,frontMatter:{title:"\u8df3\u8f6c\u548c\u7ed3\u675f",description:"\u4f7f\u7528 branch \u8df3\u8fc7\u540e\u7eed\u9898\u76ee\u6216\u63d0\u524d\u7ed3\u675f\u7b54\u9898\uff0c\u8bf4\u660e\u8d77\u70b9\u3001\u7ec8\u70b9\u3001\u6761\u4ef6\u6062\u590d\u548c\u63d0\u4ea4\u884c\u4e3a\u3002",sidebar_position:8},sidebar:"tutorialSidebar",previous:{title:"OCR \u56fe\u7247\u6821\u9a8c",permalink:"/help/logic/custom-logic/ocr"},next:{title:"\u5e38\u7528\u793a\u4f8b",permalink:"/help/logic/custom-logic/examples"}},d={},o=[{value:"\u8df3\u5230\u540e\u9762\u7684\u9898\u76ee",id:"\u8df3\u5230\u540e\u9762\u7684\u9898\u76ee",level:2},{value:"\u6839\u636e\u591a\u9053\u9898\u51b3\u5b9a\u8def\u5f84",id:"\u6839\u636e\u591a\u9053\u9898\u51b3\u5b9a\u8def\u5f84",level:2},{value:"\u63d0\u524d\u7ed3\u675f\u7b54\u9898",id:"\u63d0\u524d\u7ed3\u675f\u7b54\u9898",level:2},{value:"\u9898\u7ec4\u4e2d\u7684\u8df3\u8f6c",id:"\u9898\u7ec4\u4e2d\u7684\u8df3\u8f6c",level:2},{value:"\u8d77\u70b9\u548c\u7ec8\u70b9\u7684\u8981\u6c42",id:"\u8d77\u70b9\u548c\u7ec8\u70b9\u7684\u8981\u6c42",level:2}];function h(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"\u8df3\u8f6c\u548c\u7ed3\u675f",children:"\u8df3\u8f6c\u548c\u7ed3\u675f"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"branch"})," \u6839\u636e\u6761\u4ef6\u8df3\u8fc7\u4e00\u6bb5\u9898\u76ee\uff0c\u9002\u5408\u8d44\u683c\u7b5b\u9009\u3001\u89d2\u8272\u5206\u6d41\u548c\u8df3\u8fc7\u65e0\u5173\u6a21\u5757\u3002"]}),"\n",(0,i.jsx)(n.h2,{id:"\u8df3\u5230\u540e\u9762\u7684\u9898\u76ee",children:"\u8df3\u5230\u540e\u9762\u7684\u9898\u76ee"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-text",children:"if Q1A1 then branch from Q1 to Q5\n"})}),"\n",(0,i.jsx)(n.p,{children:"\u9009\u4e2d Q1A1 \u65f6\uff0c\u8df3\u8fc7 Q2\u3001Q3\u3001Q4\uff1b\u8d77\u70b9 Q1 \u548c\u7ec8\u70b9 Q5 \u4fdd\u7559\u3002\u6539\u9009\u5176\u4ed6\u7b54\u6848\u540e\uff0c\u8fd9\u6761\u89c4\u5219\u4e0d\u518d\u8df3\u8fc7\u4e2d\u95f4\u9898\u76ee\uff0c\u4f46\u5176\u4ed6\u9690\u85cf\u89c4\u5219\u4ecd\u7136\u6709\u6548\u3002"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"\u7247\u6bb5"}),(0,i.jsx)(n.th,{children:"\u542b\u4e49"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"if Q1A1"})}),(0,i.jsx)(n.td,{children:"\u89e6\u53d1\u6761\u4ef6"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"from Q1"})}),(0,i.jsx)(n.td,{children:"\u4ece\u54ea\u9053\u9898\u4e4b\u540e\u5f00\u59cb\u8df3\u8fc7"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"to Q5"})}),(0,i.jsx)(n.td,{children:"\u8df3\u5230\u54ea\u9053\u540e\u7eed\u9898"})]})]})]}),"\n",(0,i.jsx)(n.h2,{id:"\u6839\u636e\u591a\u9053\u9898\u51b3\u5b9a\u8def\u5f84",children:"\u6839\u636e\u591a\u9053\u9898\u51b3\u5b9a\u8def\u5f84"}),"\n",(0,i.jsx)(n.p,{children:"Q1 \u662f\u8eab\u4efd\u9009\u62e9\u9898\uff0cQ2 \u662f\u5e74\u9f84\u7684\u6570\u5b57\u586b\u7a7a\u9898\uff1a"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-text",children:"if AND(Q1A1,DEFAULT(Q2,0)>=18) then branch from Q2 to Q6\n"})}),"\n",(0,i.jsx)(n.p,{children:"\u6761\u4ef6\u7528\u5230\u4e86 Q2\uff0c\u8d77\u70b9\u4e5f\u653e\u5728 Q2\uff0c\u907f\u514d\u628a\u8fd8\u9700\u8981\u586b\u5199\u7684\u6761\u4ef6\u9898\u8df3\u8fc7\u3002"}),"\n",(0,i.jsx)(n.h2,{id:"\u63d0\u524d\u7ed3\u675f\u7b54\u9898",children:"\u63d0\u524d\u7ed3\u675f\u7b54\u9898"}),"\n",(0,i.jsxs)(n.p,{children:["\u628a\u7ec8\u70b9\u5199\u6210\u5927\u5199 ",(0,i.jsx)(n.code,{children:"END"}),"\uff1a"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-text",children:"if Q1A2 then branch from Q1 to END\n"})}),"\n",(0,i.jsxs)(n.p,{children:["\u6761\u4ef6\u6210\u7acb\u65f6\uff0c\u8df3\u8fc7 Q1 \u540e\u9762\u7684\u9898\u76ee\u3002",(0,i.jsx)(n.strong,{children:"\u8fd9\u6761\u89c4\u5219\u4e0d\u4f1a\u81ea\u52a8\u63d0\u4ea4\u7b54\u5377"}
2),"\uff0c\u4ecd\u6309\u95ee\u5377\u5f53\u524d\u7684\u63d0\u4ea4\u65b9\u5f0f\u5b8c\u6210\u3002"]}),"\n",(0,i.jsx)(n.h2,{id:"\u9898\u7ec4\u4e2d\u7684\u8df3\u8f6c",children:"\u9898\u7ec4\u4e2d\u7684\u8df3\u8f6c"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-text",children:"if QS1Q1A1 then branch from QS1Q1 to QS1Q3\n"})}),"\n",(0,i.jsx)(n.p,{children:"\u5728\u9898\u7ec4 1 \u4e2d\uff0c\u4ece\u7b2c 1 \u9898\u8df3\u5230\u7b2c 3 \u9898\uff0c\u8df3\u8fc7\u4e2d\u95f4\u7684\u7b2c 2 \u9898\u3002\u4ee5\u9884\u89c8\u4e2d\u663e\u793a\u7684\u6807\u7b7e\u4e3a\u51c6\u3002"}),"\n",(0,i.jsx)(n.h2,{id:"\u8d77\u70b9\u548c\u7ec8\u70b9\u7684\u8981\u6c42",children:"\u8d77\u70b9\u548c\u7ec8\u70b9\u7684\u8981\u6c42"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["\u4f7f\u7528\u9898\u76ee\u6807\u7b7e\uff0c\u4f8b\u5982 ",(0,i.jsx)(n.code,{children:"Q1"}),"\u3001",(0,i.jsx)(n.code,{children:"QS1Q2"}),"\uff1b\u7ec8\u70b9\u4e5f\u53ef\u4ee5\u662f ",(0,i.jsx)(n.code,{children:"END"}),"\u3002"]}),"\n",(0,i.jsx)(n.li,{children:"\u53ea\u914d\u7f6e\u5411\u540e\u8df3\u8f6c\u3002\u5411\u524d\u8df3\u8f6c\u4e0d\u4f1a\u4ea7\u751f\u9884\u671f\u7684\u8fd4\u56de\u6548\u679c\u3002"}),"\n",(0,i.jsx)(n.li,{children:"\u4e0d\u8981\u4f7f\u7528\u9009\u9879\u3001OCR \u5b57\u6bb5\u6216\u8303\u56f4\u4f5c\u4e3a\u8d77\u70b9\u3001\u7ec8\u70b9\u3002"}),"\n",(0,i.jsxs)(n.li,{children:["\u4e0d\u8981\u586b\u5199\u5185\u90e8\u7684 ",(0,i.jsx)(n.code,{children:"#{...}"})," \u8868\u8fbe\u5f0f\u3002"]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"\u591a\u6761\u8df3\u8f6c\u540c\u65f6\u6210\u7acb\u65f6\uff0c\u88ab\u8df3\u8fc7\u7684\u533a\u95f4\u53ef\u80fd\u53e0\u52a0\u3002\u9700\u8981\u4e8c\u9009\u4e00\u8def\u5f84\u65f6\uff0c\u8ba9\u6761\u4ef6\u4e92\u65a5\u3002"}),"\n",(0,i.jsxs)(n.p,{children:["\u4fdd\u5b58\u524d\u5206\u522b\u786e\u8ba4\uff1a\u89e6\u53d1\u6761\u4ef6\u80fd\u5230\u8fbe\u76ee\u6807\u3001\u6539\u53d8\u7b54\u6848\u540e\u8def\u5f84\u6062\u590d\u3001\u8df3\u5230 ",(0,i.jsx)(n.code,{children:"END"})," \u540e\u4ecd\u80fd\u6b63\u5e38\u63d0\u4ea4\u3002\u79fb\u52a8\u9898\u76ee\u540e\u91cd\u65b0\u68c0\u67e5\u4e2d\u95f4\u4f1a\u8df3\u8fc7\u54ea\u4e9b\u9898\u3002"]}),"\n",(0,i.jsxs)(n.p,{children:["\u4e0d\u60f3\u5199\u89c4\u5219\u65f6\uff0c\u53ef\u4f7f\u7528",(0,i.jsx)(n.a,{href:"/help/logic/visual-logic",children:"\u57fa\u7840\u89c4\u5219"}),"\u4e2d\u7684\u201c\u8df3\u8f6c\u5230\u9898\u76ee\u201d\u548c\u201c\u7ed3\u675f\u95ee\u5377\u201d\u3002"]})]})}function a(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},21020:(e,n,r)=>{var i=r(96540),s=Symbol.for("react.element"),t=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,l=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function o(e,n,r){var i,t={},o=null,h=null;for(i in void 0!==r&&(o=""+r),void 0!==n.key&&(o=""+n.key),void 0!==n.ref&&(h=n.ref),n)c.call(n,i)&&!d.hasOwnProperty(i)&&(t[i]=n[i]);if(e&&e.defaultProps)for(i in n=e.defaultProps)void 0===t[i]&&(t[i]=n[i]);return{$$typeof:s,type:e,key:o,ref:h,props:t,_owner:l.current}}n.Fragment=t,n.jsx=o,n.jsxs=o},74848:(e,n,r)=>{e.exports=r(21020)},28453:(e,n,r)=>{r.d(n,{R:()=>c,x:()=>l});var i=r(96540);const s={},t=i.createContext(s);function c(e){const n=i.useContext(t);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),i.createElement(t.Provider,{value:n},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.