spic-questionfeedback-form.vue 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293
  1. <template>
  2. <div :class="[$style.odrForm, $style.rectprojectForm]">
  3. <sd-webflow
  4. ref="flow"
  5. :validate-form="validForm"
  6. :removed-tabs="['sdRelatedDoc']"
  7. @actionBtnClick="actionBtnClick"
  8. >
  9. <template v-slot:form="{ model, fields, FlowData }">
  10. <table>
  11. <tr>
  12. <td style="border: none">
  13. <audit-advanced-group
  14. :expand="infoExpand"
  15. :expand-str="'infoExpand'"
  16. :group-label="'基本信息'"
  17. tablestyle="''"
  18. @changedClick="changedClick"
  19. ></audit-advanced-group>
  20. </td>
  21. </tr>
  22. </table>
  23. <table v-show="infoExpand">
  24. <colgroup>
  25. <col style="width: 300px" />
  26. <col />
  27. <col style="width: 300px" />
  28. <col
  29. /></colgroup>
  30. <tr>
  31. <!-- 项目名称 -->
  32. <sd-form-item-td name="projectName">
  33. <span>{{ model.projectName }}</span>
  34. </sd-form-item-td>
  35. <sd-form-item-td name="projectSource">
  36. <span>{{ model.projectSource }}</span>
  37. </sd-form-item-td>
  38. </tr>
  39. <tr>
  40. <!-- 项目code -->
  41. <sd-form-item-td name="projectCode" readonly :label="'项目编号'">
  42. {{ model.projectCode }}
  43. </sd-form-item-td>
  44. <!-- 整改责任主体名称 -->
  45. <sd-form-item-td name="auditedUnitName" readonly :label="'整改责任主体'">
  46. {{ model.auditedUnitName }}
  47. </sd-form-item-td>
  48. </tr>
  49. <tr>
  50. <!-- 整改责任主体联系人名称 -->
  51. <sd-form-item-td name="auditedContactsName" readonly>
  52. {{ model.auditedContactsName }}
  53. </sd-form-item-td>
  54. <!-- 整改跟踪人名称 -->
  55. <sd-form-item-td name="resppersonsName" :label="'整改跟踪人'">
  56. {{ model.resppersonsName }}
  57. </sd-form-item-td>
  58. </tr>
  59. <tr>
  60. <!-- 整改要求 -->
  61. <sd-form-item-td name="requirement" :colspan="3" readonly>
  62. {{ model.requirement }}
  63. </sd-form-item-td>
  64. </tr>
  65. <!-- 整改要求附件 -->
  66. <!-- <tr>
  67. <sd-form-item-td name="rectattach" :colspan="3">
  68. <template v-slot:read-and-edit="{ editable }">
  69. <sd-attachment
  70. v-model="model.rectattach"
  71. :read-only="true"
  72. :group-id="JSON.parse(fields.rectattach.value).value"
  73. ></sd-attachment>
  74. </template>
  75. </sd-form-item-td>
  76. </tr> -->
  77. <tr>
  78. <!-- 审计发现标题 -->
  79. <sd-form-item-td name="findingTitle" readonly :label="'问题名称(定性描述)'">
  80. {{ model.findingTitle }}
  81. </sd-form-item-td>
  82. <!-- 审计发现编号 -->
  83. <sd-form-item-td name="findingCode" readonly :label="'问题编号'">
  84. {{ model.findingCode }}
  85. </sd-form-item-td>
  86. </tr>
  87. <tr>
  88. <!-- 审计问题描述 -->
  89. <sd-form-item-td name="findDesc" :colspan="3" readonly :label="'问题描述'">
  90. {{ model.findDesc }}
  91. </sd-form-item-td>
  92. </tr>
  93. <tr>
  94. <!-- 审计问题类别 -->
  95. <!-- <sd-form-item-td name="findType" readonly :label="'问题类别'">
  96. {{ model.findType }}
  97. </sd-form-item-td> -->
  98. <!-- 是否属于审计意见书问题 -->
  99. <sd-form-item-td name="giveOpinion">
  100. {{ model.giveOpinion }}
  101. </sd-form-item-td>
  102. <!-- 问题分类 -->
  103. <sd-form-item-td name="problemCategoryFunction" readonly :label="'问题类别'" />
  104. </tr>
  105. <tr>
  106. <!-- 审计处理意见 -->
  107. <sd-form-item-td name="handleSuggestion" :colspan="3" readonly :label="'审计处理意见'">
  108. {{ model.handleSuggestion }}
  109. </sd-form-item-td>
  110. </tr>
  111. <tr>
  112. <!-- 问题下发时间-->
  113. <sd-form-item-td name="creationTime" :colspan="3" readonly :label="'问题下发时间'">
  114. {{ model.creationTime }}
  115. </sd-form-item-td>
  116. </tr>
  117. </table>
  118. <table>
  119. <tr>
  120. <td style="padding-left: 5px; border: none">
  121. <audit-advanced-group
  122. :expand="findExpand"
  123. :expand-str="'findExpand'"
  124. :group-label="'整改信息'"
  125. tablestyle="''"
  126. @changedClick="changedClick"
  127. ></audit-advanced-group>
  128. </td>
  129. </tr>
  130. </table>
  131. <table v-show="findExpand">
  132. <colgroup>
  133. <col style="width: 300px" />
  134. <col />
  135. <col style="width: 300px" />
  136. <col
  137. /></colgroup>
  138. <tr>
  139. <!-- 整改责任部门 -->
  140. <sd-form-item-td name="responsibleDeptName" :label="'整改责任部门'" />
  141. <!-- 直接责任人 -->
  142. <sd-form-item-td name="directResponsible" :label="'直接责任人'" />
  143. </tr>
  144. <tr>
  145. <!-- 领导责任人 -->
  146. <sd-form-item-td name="leaderResponsible" :label="'领导责任人'" />
  147. <!-- 共同责任部门 -->
  148. <sd-form-item-td name="commonDutyDepart" :label="'共同责任部门'" />
  149. </tr>
  150. </table>
  151. <table>
  152. <tr>
  153. <td style="padding-left: 5px; border: none">
  154. <audit-advanced-group
  155. :expand="findExpand"
  156. :expand-str="'findExpand'"
  157. :group-label="'整改落实'"
  158. tablestyle="''"
  159. :findinfoeditable="findinfoeditable"
  160. @changedClick="changedClick"
  161. ></audit-advanced-group>
  162. </td>
  163. </tr>
  164. </table>
  165. <table v-show="findExpand">
  166. <colgroup>
  167. <col style="width: 300px" />
  168. <col />
  169. <col style="width: 300px" />
  170. <col
  171. /></colgroup>
  172. <tr>
  173. <!-- 整改状态 -->
  174. <sd-form-item-td name="rectState" :label="'整改状态'">
  175. <a-select
  176. v-model="model.rectState"
  177. :allow-clear="true"
  178. :options="fields.rectState.attr.selectListItem"
  179. @change="handlerRectState(model, $event, fields)"
  180. ></a-select>
  181. </sd-form-item-td>
  182. <!-- {{ model.rectType }} -->
  183. <!-- 整改类别 -->
  184. <sd-form-item-td name="rectType" :label="'问题类型'">
  185. <a-select
  186. v-model="model.rectType"
  187. :allow-clear="true"
  188. @change="handlerRectType(model, model.rectType, fields)"
  189. >
  190. <a-select-option
  191. v-for="item in fields.rectType.attr.selectListItem.filter((itc) =>
  192. ['01', '02', '03'].includes(itc.value)
  193. )"
  194. :key="item.value"
  195. :value="item.value"
  196. >
  197. {{ item.label }}
  198. </a-select-option>
  199. </a-select>
  200. </sd-form-item-td>
  201. </tr>
  202. <tr>
  203. <sd-form-item-td
  204. name="rectMeasure"
  205. :colspan="3"
  206. :label="
  207. model.rectType === '03' || model.rectType === '02'
  208. ? '整体计划整改措施'
  209. : '计划整改措施'
  210. "
  211. >
  212. <template>
  213. <a-textarea v-if="fourShow" v-model="model.rectMeasure" :rows="3" />
  214. <span v-else read-only>{{ model.rectMeasure }}</span>
  215. </template>
  216. </sd-form-item-td>
  217. </tr>
  218. <tr>
  219. <sd-form-item-td name="rectRemark" :colspan="3" :label="'整改责任考核方案'">
  220. <template v-slot>
  221. <a-textarea
  222. v-if="fourShow"
  223. v-model="model.rectRemark"
  224. :auto-size="{ minRows: 3, maxRows: 3 }"
  225. ></a-textarea>
  226. <span v-else read-only>{{ model.rectRemark }}</span>
  227. </template>
  228. </sd-form-item-td>
  229. </tr>
  230. <tr v-if="model.rectType === '02' || model.rectType === '03'">
  231. <sd-form-item-td name="supportMaterial" :colspan="3" :label="'阶段性目标'">
  232. <a-textarea v-if="fourShow" v-model="model.supportMaterial" :rows="3" />
  233. <span v-else read-only>{{ model.supportMaterial }}</span>
  234. </sd-form-item-td>
  235. </tr>
  236. <tr>
  237. <!-- 计划完成日期 -->
  238. <!-- @change="handlerFinash(model, $event, fields)" -->
  239. <sd-form-item-td
  240. v-if="model.rectType === '01' || model.rectType === '02' || model.rectType === '03'"
  241. :colspan="3"
  242. name="draftFinishDate"
  243. :label="model.rectType === '01' ? '计划完成日期' : '阶段性目标计划完成日期'"
  244. :required="model.rectType === '03' || model.rectType === '02'"
  245. >
  246. <span v-if="model.rectType === '01' || !fourShow">{{
  247. model.draftFinishDate | sdDateFormat('YYYY-MM-DD')
  248. }}</span>
  249. </sd-form-item-td>
  250. </tr>
  251. <tr>
  252. <!-- 措施执行情况-->
  253. <sd-form-item-td
  254. name="draftRectMeasure"
  255. :colspan="3"
  256. :label="
  257. model.rectType === '03' || model.rectType === '02'
  258. ? '阶段性措施执行情况'
  259. : '措施执行情况'
  260. "
  261. >
  262. <a-textarea v-model="model.draftRectMeasure" :rows="3" />
  263. </sd-form-item-td>
  264. </tr>
  265. <tr>
  266. <!-- 附件 -->
  267. <sd-form-item-td name="attachment" :colspan="3" :label="'支撑性材料'" />
  268. </tr>
  269. <tr v-show="isShow1">
  270. <!--是否完成当年整改阶段目标 (审计部审批环节显示)-->
  271. <sd-form-item-td name="whetherFinishTarget" :label="'是否完成当年整改阶段目标'" />
  272. </tr>
  273. <tr v-show="!isedit1">
  274. <!--是否完成当年整改阶段目标 (只读) -->
  275. <sd-form-item-td name="whetherFinishTarget" :label="'是否完成当年整改阶段目标'">
  276. <span read-only>{{ fnget(model.whetherFinishTarget) }}</span>
  277. </sd-form-item-td>
  278. </tr>
  279. <tr v-show="isShow2">
  280. <!--是否经过部委会同意 -->
  281. <sd-form-item-td name="whetherAgree" :label="'是否经过部委会同意'" />
  282. </tr>
  283. <tr v-show="!isedit2">
  284. <!--是否经过部委会同意 (只读)-->
  285. <sd-form-item-td name="whetherAgree" :label="'是否经过部委会同意'">
  286. <span read-only>{{ fnget(model.whetherAgree) }}</span>
  287. </sd-form-item-td>
  288. </tr>
  289. <tr>
  290. <!-- 整改完成日期 系统自动 -->
  291. <sd-form-item-td name="finishDate" :label="'实际整改完成日期'">
  292. <span>{{ model.finishDate | sdDateFormat('YYYY-MM-DD') }}</span>
  293. </sd-form-item-td>
  294. </tr>
  295. </table>
  296. <table>
  297. <tr>
  298. <td style="padding-left: 5px; border: none">
  299. <audit-advanced-group
  300. :expand="findExpand"
  301. :expand-str="'findExpand'"
  302. :group-label="'问题整改-金额类(万元)'"
  303. tablestyle="''"
  304. @changedClick="changedClick"
  305. ></audit-advanced-group>
  306. </td>
  307. </tr>
  308. </table>
  309. <table v-show="findExpand">
  310. <colgroup>
  311. <col style="width: 300px" />
  312. <col />
  313. <col style="width: 300px" />
  314. <col
  315. /></colgroup>
  316. <tr>
  317. <!-- 调整会计账目(万元) -->
  318. <sd-form-item-td name="adjustAccountAccounts" :label="'调整会计账目'" />
  319. <!-- 收回资金(万元) -->
  320. <sd-form-item-td name="recoveryFunds" :label="'收回资金:增加收入金额'" />
  321. </tr>
  322. <tr>
  323. <!-- 其中:避免损失浪费数额(万元) -->
  324. <sd-form-item-td
  325. name="avoidingWasteAmount"
  326. :label="'收回资金:督促清理往来款项收回资金'"
  327. />
  328. <!-- 核减投资额(万元) -->
  329. <sd-form-item-td name="reduceInvestmentAmount" :label="'收回资金:其他'" />
  330. </tr>
  331. <tr>
  332. <!-- 节约成本数额(万元) -->
  333. <sd-form-item-td
  334. name="costSavingAmount"
  335. :label="'挽回损失:节约成本费用(开支)金额'"
  336. />
  337. <!-- 其中:工程投资审减额 (万元) -->
  338. <sd-form-item-td name="engineeringReduction" :label="'挽回损失:工程审减金额'" />
  339. </tr>
  340. <tr>
  341. <!-- 清退个人不当得利(万元) -->
  342. <sd-form-item-td name="improperClearanceAmount" :label="'挽回损失:清退不当得利'" />
  343. <!-- 挽回损失数额(万元) -->
  344. <sd-form-item-td name="recoveryLossAmount" :label="'挽回损失:其他'" />
  345. </tr>
  346. <tr>
  347. <!-- 归还原资金渠道(万元) -->
  348. <sd-form-item-td name="repaymentChannels" :label="'归还原资金渠道'" />
  349. <!-- 补缴税费(万元) -->
  350. <sd-form-item-td name="paymentTaxesFees" :label="'补缴税费'" />
  351. </tr>
  352. <tr>
  353. <!-- 其他(万元) -->
  354. <sd-form-item-td name="otherAmount" :label="'其他'" />
  355. </tr>
  356. </table>
  357. <table>
  358. <tr>
  359. <td style="padding-left: 5px; border: none">
  360. <audit-advanced-group
  361. :expand="findExpand"
  362. :expand-str="'findExpand'"
  363. :group-label="'完善制度体系'"
  364. tablestyle="''"
  365. @changedClick="changedClick"
  366. ></audit-advanced-group>
  367. </td>
  368. </tr>
  369. </table>
  370. <table v-show="findExpand">
  371. <colgroup>
  372. <col style="width: 300px" />
  373. <col />
  374. <col style="width: 300px" />
  375. <col
  376. /></colgroup>
  377. <tr>
  378. <!-- 新建制度、流程、标准(项) -->
  379. <sd-form-item-td name="newItems" :label="'新建制度、流程、标准(项)'" />
  380. <!-- 修订制度、流程、标准(项) -->
  381. <sd-form-item-td name="reviseItems" :label="'修订制度、流程、标准(项)'" />
  382. </tr>
  383. <!-- 优化完善业务流程 -->
  384. <!-- 完善机制 -->
  385. <!-- <tr>
  386. <sd-form-item-td name="optimizeBusinessProcesses" :label="'优化完善业务流程'" />
  387. <sd-form-item-td name="improveMechanism" :label="'完善机制'" />
  388. </tr>
  389. <tr>
  390. <sd-form-item-td name="otherItems" :label="'其他'" />
  391. </tr> -->
  392. <!-- 其他 -->
  393. </table>
  394. <table>
  395. <tr>
  396. <td style="padding-left: 5px; border: none">
  397. <audit-advanced-group
  398. :expand="findExpand"
  399. :expand-str="'findExpand'"
  400. :group-label="'工程结算及竣工决算'"
  401. tablestyle="''"
  402. @changedClick="changedClick"
  403. ></audit-advanced-group>
  404. </td>
  405. </tr>
  406. </table>
  407. <table v-show="findExpand">
  408. <colgroup>
  409. <col style="width: 300px" />
  410. <col />
  411. <col style="width: 300px" />
  412. <col
  413. /></colgroup>
  414. <tr>
  415. <!-- 办结工程结算项目数(个) -->
  416. <sd-form-item-td name="completionProjectNumber" :label="'办结工程结算项目数(个)'" />
  417. <!-- 办结竣工决算项目数(个) -->
  418. <sd-form-item-td
  419. name="completionSettlementAmount"
  420. :label="'办结竣工决算项目数(个)'"
  421. />
  422. </tr>
  423. </table>
  424. <table>
  425. <tr>
  426. <td style="padding-left: 5px; border: none">
  427. <audit-advanced-group
  428. :expand="findExpand"
  429. :expand-str="'findExpand'"
  430. :group-label="'追责问责'"
  431. tablestyle="''"
  432. @changedClick="changedClick"
  433. ></audit-advanced-group>
  434. </td>
  435. </tr>
  436. </table>
  437. <table v-show="findExpand">
  438. <colgroup>
  439. <col style="width: 300px" />
  440. <col />
  441. <col style="width: 300px" />
  442. <col
  443. /></colgroup>
  444. <!-- 追责问责(人次) -->
  445. <!-- 经济处罚数额(万元) -->
  446. <!-- <tr>
  447. <sd-form-item-td name="accountability" :label="'追责问责(人次)'" />
  448. <sd-form-item-td name="amountEconomicPenalty" :label="'经济处罚数额(万元)'" />
  449. </tr> -->
  450. <tr>
  451. <!-- 移送纪检监察部门案件线索(件) -->
  452. <sd-form-item-td name="transferMonitorClue" :label="'移送纪检监察部门案件线索(件)'" />
  453. <!-- 实际查处案件数量(件) -->
  454. <!-- <sd-form-item-td name="actualCaseNumber" :label="'实际查处案件数量(件)'" /> -->
  455. </tr>
  456. <tr>
  457. <!-- 移送纪检监察线索说明(单移送) -->
  458. <sd-form-item-td
  459. name="transferMonitorSingle"
  460. :colspan="3"
  461. :label="'移送纪检监察线索说明(单移送)'"
  462. >
  463. <a-textarea v-model="model.transferMonitorSingle" :rows="3" />
  464. </sd-form-item-td>
  465. </tr>
  466. <tr>
  467. <!-- 移送纪检监察线索说明(双移送) -->
  468. <sd-form-item-td
  469. name="transferMonitorDouble"
  470. :colspan="3"
  471. :label="'移送纪检监察线索说明(双移送)'"
  472. >
  473. <a-textarea v-model="model.transferMonitorDouble" :rows="3" />
  474. </sd-form-item-td>
  475. </tr>
  476. <!-- 给予党纪处分(人次) -->
  477. <!-- 给予政务处分(人次) -->
  478. <!-- <tr>
  479. <sd-form-item-td name="disciplinaryPunishment" :label="'给予党纪处分(人次)'" />
  480. <sd-form-item-td name="administrativeSanctions" :label="'给予政务处分(人次)'" />
  481. </tr> -->
  482. <!-- 员工奖惩(人次) -->
  483. <!-- 给予经济处罚(人次) -->
  484. <!-- <tr>
  485. <sd-form-item-td name="employeeIncentive" :label="'员工奖惩(人次)'" />
  486. <sd-form-item-td name="economicPunishment" :label="'给予经济处罚(人次)'" />
  487. </tr> -->
  488. <!-- 给予违规追责组织处理(人次) -->
  489. <!-- 安全生产惩处(人次) -->
  490. <!-- <tr>
  491. <sd-form-item-td name="givePunishment" :label="'给予违规追责组织处理(人次)'" />
  492. <sd-form-item-td name="safeProducePunished" :label="'安全生产惩处(人次)'" />
  493. </tr> -->
  494. <!-- <tr> -->
  495. <!-- 给予组织处理(人次) -->
  496. <!-- <sd-form-item-td name="organizationalTreatment" :label="'给予组织处理(人次)'" /> -->
  497. <!-- 生态环保违法违规行为惩(人次) -->
  498. <!-- <sd-form-item-td
  499. name="ecologyViolationPunished"
  500. :label="'生态环保违法违规行为惩(人次)'"
  501. /> -->
  502. <!-- </tr> -->
  503. <tr>
  504. <!-- 是否重启 -->
  505. <sd-form-item-td name="whetherReboot" :hidden="true" />
  506. <!-- 重启次数 -->
  507. <sd-form-item-td name="rebootNumber" :hidden="true" />
  508. </tr>
  509. </table>
  510. <table>
  511. <tr
  512. ><td :colspan="4">
  513. <sd-form-item name="spicRectViolationsPersonEntitys" :label="null">
  514. <template v-slot:read-and-edit="{ editable }">
  515. <audit-advanced-group
  516. :expand="moneyExpand"
  517. :expand-str="'moneyExpand'"
  518. :group-label="'违规追责人次'"
  519. tablestyle="''"
  520. @changedClick="changedClick"
  521. >
  522. <template>
  523. <XmChildTable
  524. v-show="moneyExpand"
  525. ref="moneyData"
  526. v-model="model.spicRectViolationsPersonEntitys"
  527. :class="$style.deptPlanChild"
  528. :label="null"
  529. :columns="columns1"
  530. :colspan="4"
  531. :read-only="!editable"
  532. name="spicRectViolationsPersonEntitys"
  533. :changeflag="true"
  534. :fields="
  535. [
  536. {
  537. caption: '序号',
  538. name: 'sortNum',
  539. dataType: 'sortNum',
  540. },
  541. ].concat(
  542. Array.from(fields.spicRectViolationsPersonEntitys.attr.dync).slice(2)
  543. )
  544. "
  545. @change="changetablemoney1"
  546. >
  547. <!-- input-form 表示这部分是子表组件的form插槽 -->
  548. <template v-slot:form="{ model }">
  549. <table>
  550. <tr><sd-form-item-td name="projectId" :hidden="true" /></tr>
  551. <tr><sd-form-item-td name="rectId" :hidden="true" /></tr>
  552. <tr><sd-form-item-td name="id" :hidden="true" /></tr>
  553. <tr><sd-form-item-td name="dealWay" /></tr>
  554. <tr><sd-form-item-td name="personTimes" /></tr>
  555. </table>
  556. </template>
  557. </XmChildTable>
  558. </template>
  559. </audit-advanced-group>
  560. </template>
  561. </sd-form-item>
  562. </td>
  563. </tr>
  564. <tr v-show="moneyExpand">
  565. <sd-form-item-td :label="null" name="reservestring1" :colspan="4">
  566. <template v-slot:read-and-edit="{ editable }">
  567. <table style="width: 100%">
  568. <tr
  569. ><td
  570. v-if="editable"
  571. style="width: 60px; border: none"
  572. class="ant-form-item-label ant-form-item-label"
  573. ></td
  574. ><td
  575. style="width: 80px; border: none"
  576. class="ant-form-item-label ant-form-item-label"
  577. ></td
  578. ><td
  579. style="width: 50%; border: none"
  580. class="ant-form-item-label ant-form-item-label"
  581. ><label title="合计" class=""> 合计 </label></td
  582. ><td style="border: none; border-left: 1px solid #e8e8e8"
  583. ><span>{{ model.reservestring1 }}</span></td
  584. ></tr
  585. >
  586. </table>
  587. </template>
  588. </sd-form-item-td>
  589. </tr>
  590. </table>
  591. <table v-show="findExpand">
  592. <colgroup>
  593. <col style="width: 300px" />
  594. <col />
  595. <col style="width: 300px" />
  596. <col
  597. /></colgroup>
  598. <tr>
  599. <!-- 经济处罚数额(万元) -->
  600. <sd-form-item-td name="amountEconomicPenalty" :label="'经济处罚数额(万元)'" />
  601. </tr>
  602. </table>
  603. <table>
  604. <tr
  605. ><td :colspan="4">
  606. <sd-form-item name="spicRectPunishmentEntitys" :label="null">
  607. <template v-slot:read-and-edit="{ editable }">
  608. <audit-advanced-group
  609. :expand="moneyExpand"
  610. :expand-str="'moneyExpand'"
  611. :group-label="'审计建议给予党纪、政务和内部纪律处分'"
  612. tablestyle="''"
  613. @changedClick="changedClick"
  614. >
  615. <template>
  616. <XmChildTable
  617. v-show="moneyExpand"
  618. ref="moneyData"
  619. v-model="model.spicRectPunishmentEntitys"
  620. :class="$style.deptPlanChild"
  621. :label="null"
  622. :columns="columns2"
  623. :colspan="4"
  624. :read-only="!editable"
  625. name="spicRectPunishmentEntitys"
  626. :changeflag="true"
  627. :fields="
  628. [
  629. {
  630. caption: '序号',
  631. name: 'sortNum',
  632. dataType: 'sortNum',
  633. },
  634. ].concat(Array.from(fields.spicRectPunishmentEntitys.attr.dync).slice(2))
  635. "
  636. @change="changetablemoney2"
  637. >
  638. <!-- input-form 表示这部分是子表组件的form插槽 -->
  639. <template v-slot:form="{ model }">
  640. <table>
  641. <tr><sd-form-item-td name="projectId" :hidden="true" /></tr>
  642. <tr><sd-form-item-td name="rectId" :hidden="true" /></tr>
  643. <tr><sd-form-item-td name="id" :hidden="true" /></tr>
  644. <tr><sd-form-item-td name="dealManner" /></tr>
  645. <tr><sd-form-item-td name="personNumber" /></tr>
  646. </table>
  647. </template>
  648. </XmChildTable>
  649. </template>
  650. </audit-advanced-group>
  651. </template>
  652. </sd-form-item>
  653. </td>
  654. </tr>
  655. <tr v-show="moneyExpand">
  656. <sd-form-item-td :label="null" name="reservestring2" :colspan="4">
  657. <template v-slot:read-and-edit="{ editable }">
  658. <table style="width: 100%">
  659. <tr
  660. ><td
  661. v-if="editable"
  662. style="width: 60px; border: none"
  663. class="ant-form-item-label ant-form-item-label"
  664. ></td
  665. ><td
  666. style="width: 80px; border: none"
  667. class="ant-form-item-label ant-form-item-label"
  668. ></td
  669. ><td
  670. style="width: 50%; border: none"
  671. class="ant-form-item-label ant-form-item-label"
  672. ><label title="合计" class=""> 合计 </label></td
  673. ><td style="border: none; border-left: 1px solid #e8e8e8"
  674. ><span>{{ model.reservestring2 }}</span></td
  675. ></tr
  676. >
  677. </table>
  678. </template>
  679. </sd-form-item-td>
  680. </tr>
  681. </table>
  682. <table v-show="findExpand">
  683. <colgroup>
  684. <col style="width: 300px" />
  685. <col />
  686. <col style="width: 300px" />
  687. <col
  688. /></colgroup>
  689. <tr>
  690. <!-- 向司法机关移送或报告案件线索 -->
  691. <sd-form-item-td name="accountability" :label="'向司法机关移送或报告案件线索'" />
  692. <!-- 其中:涉案人员 -->
  693. <sd-form-item-td name="otherItems" :label="'其中:涉案人员'" />
  694. </tr>
  695. <tr>
  696. <!-- 其它重要整改成效(文字描述) -->
  697. <sd-form-item-td
  698. name="importantRectEffect"
  699. :colspan="3"
  700. :label="'其它重要整改成效(文字描述)'"
  701. >
  702. <a-textarea v-model="model.importantRectEffect" :rows="3"
  703. /></sd-form-item-td>
  704. </tr>
  705. </table>
  706. <table>
  707. <tr
  708. ><td :colspan="4">
  709. <sd-form-item name="spicRectHistoryList" :label="null">
  710. <template v-slot:read-and-edit="{ editable }">
  711. <audit-advanced-group
  712. :expand="historyExpand"
  713. :expand-str="'historyExpand'"
  714. :group-label="'历史反馈记录'"
  715. tablestyle="''"
  716. >
  717. <template>
  718. <XmChildTable
  719. v-show="historyExpand"
  720. ref="historyData"
  721. v-model="model.spicRectHistoryList"
  722. :class="$style.deptPlanChild"
  723. :label="null"
  724. :columns="columns3"
  725. :colspan="4"
  726. :read-only="!editable"
  727. name="spicRectHistoryList"
  728. :changeflag="true"
  729. :fields="
  730. [].concat(Array.from(fields.spicRectHistoryList.attr.dync).slice(2))
  731. "
  732. >
  733. </XmChildTable>
  734. </template>
  735. </audit-advanced-group>
  736. </template>
  737. </sd-form-item>
  738. </td>
  739. </tr>
  740. </table>
  741. </template>
  742. </sd-webflow>
  743. </div>
  744. </template>
  745. <script>
  746. import moment from 'moment'
  747. import { Modal } from 'ant-design-vue'
  748. import axios from '@/common/services/axios-instance'
  749. import auditAdvancedGroup from '@product/iam/components/audit-advanced-group.vue'
  750. import XmChildTable from '@product/iam/components/xm-child-table.vue'
  751. import auditAdvancedGroupMixins from '@product/iam/components/audit-advanced-group-mixins'
  752. import components from './_import-components/spic-questionfeedback-form-import'
  753. const columns1 = [
  754. {
  755. title: '序号',
  756. dataIndex: 'sortNum',
  757. customRender: (text, record, index) => `${index + 1}`,
  758. width: '80px',
  759. },
  760. {
  761. title: '处理方式',
  762. dataIndex: 'dealWay',
  763. width: '38%',
  764. },
  765. {
  766. title: '人次',
  767. dataIndex: 'personTimes',
  768. width: '38%',
  769. },
  770. ]
  771. const columns2 = [
  772. {
  773. title: '序号',
  774. dataIndex: 'sortNum',
  775. customRender: (text, record, index) => `${index + 1}`,
  776. width: '80px',
  777. },
  778. {
  779. title: '处理方式',
  780. dataIndex: 'dealManner',
  781. width: '38%',
  782. },
  783. {
  784. title: '人次',
  785. dataIndex: 'personNumber',
  786. width: '38%',
  787. },
  788. ]
  789. const columns3 = [
  790. {
  791. title: '序号',
  792. dataIndex: 'sortNum',
  793. customRender: (text, record, index) => `${index + 1}`,
  794. width: '80px',
  795. },
  796. {
  797. title: '阶段性计划完成日期',
  798. dataIndex: 'draftFinishDate',
  799. width: '20%',
  800. },
  801. {
  802. title: '阶段性目标',
  803. dataIndex: 'supportMaterial',
  804. width: '20%',
  805. },
  806. {
  807. title: '阶段性措施执行情况',
  808. dataIndex: 'draftRectMeasure',
  809. width: '40%',
  810. },
  811. {
  812. title: '阶段性实际完成日期',
  813. dataIndex: 'actualFinishDate',
  814. width: '40%',
  815. },
  816. ]
  817. export default {
  818. name: 'SpicQuestionfeedbackForm',
  819. metaInfo: {
  820. title: '审计问题反馈',
  821. },
  822. components: {
  823. ...components,
  824. auditAdvancedGroup,
  825. XmChildTable,
  826. },
  827. mixins: [auditAdvancedGroupMixins],
  828. data() {
  829. return {
  830. visibleRectMeasure: false, // 控制整改措施
  831. visibleDraftRectMeasure: false, // 控制拟整改措施
  832. findinfoeditable: false, // 控制是否编辑显示
  833. findinfolookable: false, // 控制整改措施查看
  834. findinfodraftlook: false, // 控制拟整改措施查看
  835. visibleDate: '', // 控制拟整改完成日期
  836. projectId: '',
  837. infoExpand: true,
  838. findExpand: true,
  839. groupId: '',
  840. rectTypeOptions: [],
  841. futureDate: '',
  842. moneyExpand: true,
  843. historyExpand: true,
  844. columns1,
  845. columns2,
  846. isShow1: false,
  847. isedit1: true,
  848. isShow2: false,
  849. isedit2: true,
  850. fourShow: true,
  851. isOtherPeople: false, // 是否是其他人反馈环节点击
  852. // startButton: false, // 转其他人反馈环节-> 开始
  853. }
  854. },
  855. mounted() {
  856. // debugger
  857. // 初始化数据字典信息
  858. this.initDictionaryInfo()
  859. let query = {}
  860. if (this.$route.query.extParams) {
  861. query = JSON.parse(this.$route.query.extParams)
  862. } else {
  863. query = {
  864. id: this.$refs.flow.getFieldValue('id'),
  865. }
  866. }
  867. axios({
  868. url: `api/xcoa-mobile/v1/spicrectfeedback/getInfoById?id=${query.id}`,
  869. method: 'get',
  870. }).then((res) => {
  871. this.$refs.flow.setFieldValue('projectName', res.data.projectName)
  872. this.$refs.flow.setFieldValue('projectCode', res.data.projectCode)
  873. this.$refs.flow.setFieldValue('projectSource', res.data.projectSource)
  874. this.$refs.flow.setFieldValue('auditedUnitCode', res.data.auditedUnitCode)
  875. this.$refs.flow.setFieldValue('auditedUnitName', res.data.auditedUnitName)
  876. this.$refs.flow.setFieldValue('auditedContactsAccount', res.data.auditedContactsAccount)
  877. this.$refs.flow.setFieldValue('auditedContactsName', res.data.auditedContactsName)
  878. this.$refs.flow.setFieldValue('resppersonsAccount', res.data.resppersonsAccount)
  879. this.$refs.flow.setFieldValue('resppersonsName', res.data.resppersonsName)
  880. this.$refs.flow.setFieldValue('requirement', res.data.requirement)
  881. this.$refs.flow.setFieldValue('findingTitle', res.data.findingTitle)
  882. this.$refs.flow.setFieldValue('findingCode', res.data.findingCode)
  883. this.$refs.flow.setFieldValue('findType', res.data.findType)
  884. this.$refs.flow.setFieldValue('findDesc', res.data.findDesc)
  885. this.$refs.flow.setFieldValue('handleSuggestion', res.data.handleSuggestion)
  886. // this.$refs.flow.setFieldValue('amountProblem', res.data.amountProblem)creationTime
  887. this.$refs.flow.setFieldValue('creationTime', res.data.creationTime)
  888. this.$refs.flow.setFieldValue('problemCategoryFunction', res.data.problemCategoryFunction)
  889. this.$refs.flow.setFieldValue('giveOpinion', res.data.giveOpinion)
  890. })
  891. if (this.$refs.flow.FlowData.mode === 'VIEW') {
  892. // 只读时,是否完成当年整改阶段目标 和 是否经过部委会同意 显示
  893. this.isedit1 = false
  894. this.isedit2 = false
  895. }
  896. const stepName = this.$refs.flow.FlowData.processActiveLogInfo[0].stepName
  897. // if (stepName === '开始') {
  898. // const rectType = this.$refs.flow.getFieldValue('rectType')
  899. // if (rectType === '02' || rectType === '03') {
  900. // const rectMeasure = this.$refs.flow.getFieldValue('rectMeasure')
  901. // const rectRemark = this.$refs.flow.getFieldValue('rectRemark')
  902. // const supportMaterial = this.$refs.flow.getFieldValue('supportMaterial')
  903. // const draftFinishDate = this.$refs.flow.getFieldValue('draftFinishDate')
  904. // if (
  905. // (rectMeasure !== '' || rectMeasure !== null || rectMeasure !== undefined) &&
  906. // (rectRemark !== '' || rectRemark !== null || rectRemark !== undefined) &&
  907. // (supportMaterial !== '' || supportMaterial !== null || supportMaterial !== undefined) &&
  908. // (draftFinishDate !== '' || draftFinishDate !== null || draftFinishDate !== undefined)
  909. // ) {
  910. // this.fourShow = false
  911. // }
  912. // }
  913. // }
  914. if (
  915. this.$refs.flow.FlowData.attrs.rectquestion$isShow1 !== undefined &&
  916. this.$refs.flow.FlowData.attrs.rectquestion$isShow2 !== undefined
  917. ) {
  918. const show1 = this.$refs.flow.FlowData.attrs.rectquestion$isShow1
  919. // 判断是否是 分阶段整改和持续整改
  920. const rectType = this.$refs.flow.getFieldValue('rectType')
  921. // rectState 整改状态
  922. const rectState = this.$refs.flow.getFieldValue('rectState')
  923. // 0 不显示 1 显示
  924. if (show1 === '1' && (rectType === '02' || rectType === '03')) {
  925. // console.log('--校验判断 开始环节隐藏 是否完成当年整改阶段目标 字段')
  926. this.isShow1 = true
  927. } else if (show1 === '0') {
  928. this.isShow1 = false
  929. }
  930. const show2 = this.$refs.flow.FlowData.attrs.rectquestion$isShow2
  931. if (show2 === '1' && rectState === '04') {
  932. this.isShow2 = true
  933. } else if (show2 === '0') {
  934. this.isShow2 = false
  935. }
  936. return Promise.resolve(true)
  937. }
  938. },
  939. methods: {
  940. handlerRectState(model, val, fields) {
  941. const a = 0
  942. // if (val === '01') {
  943. // if (new Date().valueOf() >= model.draftFinishDate?.valueOf()) {
  944. // fields.isTrue.value = '1'
  945. // model.isTrue = '1'
  946. // fields.isTrue.readonly = true
  947. // fields.overdueReason.required = true
  948. // } else {
  949. // fields.isTrue.value = '0'
  950. // model.isTrue = '0'
  951. // }
  952. // } else if (val === '03') {
  953. // fields.rectMeasure.required = true
  954. // fields.finishDate.required = true
  955. // } else if (val === '04') {
  956. // fields.finishDate.required = true
  957. // fields.rectMeasure.required = false
  958. // } else {
  959. // fields.rectMeasure.required = false
  960. // fields.finishDate.required = false
  961. // }
  962. },
  963. changetablemoney1(data) {
  964. let money = 0
  965. if (!data) return
  966. data.forEach((item, index) => {
  967. // item.sortNum = index + 1
  968. if (item.personTimes !== undefined) {
  969. money = money + parseFloat(item.personTimes)
  970. }
  971. })
  972. this.$refs.flow.setFieldValue(
  973. 'reservestring1',
  974. this.getTotal1(data) ? this.getTotal1(data).toString() : ''
  975. )
  976. },
  977. changetablemoney2(data) {
  978. let money = 0
  979. if (!data) return
  980. data.forEach((item, index) => {
  981. // item.sortNum = index + 1
  982. if (item.personNumber !== undefined) {
  983. money = money + parseFloat(item.personNumber)
  984. }
  985. })
  986. this.$refs.flow.setFieldValue(
  987. 'reservestring2',
  988. this.getTotal2(data) ? this.getTotal2(data).toString() : ''
  989. )
  990. },
  991. handlerRectType(model, val, fields) {
  992. if (val === '01') {
  993. const currentDate = new Date()
  994. currentDate.setDate(currentDate.getDate() + 60)
  995. var date = new Date(currentDate)
  996. var timestamp = date.getTime()
  997. model.draftFinishDate = timestamp
  998. this.findinfolookable = true
  999. fields.rectMeasure.required = false
  1000. fields.rectRemark.required = false
  1001. fields.supportMaterial.required = false
  1002. fields.draftFinishDate.required = false
  1003. } else if (val === '02') {
  1004. // 问题类型选择“分阶段整改、持续整改”时校验 计划整改措施、整改责任考核方案、阶段性目标(按季度) 必填
  1005. fields.rectMeasure.required = true
  1006. fields.rectRemark.required = true
  1007. fields.supportMaterial.required = true
  1008. fields.draftFinishDate.required = true
  1009. } else if (val === '03') {
  1010. fields.rectMeasure.required = true
  1011. fields.rectRemark.required = true
  1012. fields.supportMaterial.required = true
  1013. fields.draftFinishDate.required = true
  1014. }
  1015. },
  1016. // handlerFinash(model, val, fields) {
  1017. // if (model.rectState === '01') {
  1018. // if (new Date().valueOf() >= val?.valueOf()) {
  1019. // fields.isTrue.value = '1'
  1020. // model.isTrue = '1'
  1021. // fields.isTrue.readonly = true
  1022. // fields.overdueReason.required = true
  1023. // } else {
  1024. // fields.isTrue.value = '0'
  1025. // model.isTrue = '0'
  1026. // }
  1027. // }
  1028. // },
  1029. // validForm() {},
  1030. initDictionaryInfo() {
  1031. // 获取审计流程下拉框信息
  1032. axios({
  1033. url: 'api/xcoa-mobile/v1/iam-law/dictionary?key=RECT_TYPE',
  1034. method: 'get',
  1035. }).then((res) => {
  1036. if (res.status === 200) {
  1037. // this.item = res.data
  1038. var newArr = []
  1039. res.data.forEach((item) => {
  1040. // console.log(item)
  1041. if (item.id === '01' || item.id === '02' || item.id === '03') {
  1042. newArr.push(item)
  1043. }
  1044. })
  1045. this.rectTypeOptions = newArr
  1046. }
  1047. })
  1048. },
  1049. fngetlabel(obj, val) {
  1050. if (obj.attr.selectListItem) {
  1051. const o = obj.attr.selectListItem.find((item) => item.value === val)
  1052. if (o) {
  1053. return o.label
  1054. } else {
  1055. if (val !== undefined) {
  1056. const o = obj.attr.selectListItem.find(
  1057. (item) => item.value.toString() === val.toString()
  1058. )
  1059. if (o) {
  1060. return o.label
  1061. } else {
  1062. return val
  1063. }
  1064. } else {
  1065. return val
  1066. }
  1067. }
  1068. } else {
  1069. return val
  1070. }
  1071. },
  1072. fngetjson(data) {
  1073. if (data !== undefined && data !== '') {
  1074. if (typeof JSON.parse(data) === 'object') {
  1075. return JSON.parse(data).text
  1076. } else {
  1077. return data
  1078. }
  1079. } else {
  1080. return ''
  1081. }
  1082. },
  1083. rtgetjson(data) {
  1084. var name = ''
  1085. if (data !== undefined && data !== '') {
  1086. var arr = JSON.parse(data)
  1087. name = arr[0].name
  1088. // if (arr[0].id === '01') {
  1089. // this.findinfolookable = true // 整改措施查看
  1090. // } else {
  1091. // this.findinfodraftlook = true // 拟整改措施查看
  1092. // }
  1093. return name
  1094. } else {
  1095. return ''
  1096. }
  1097. },
  1098. fnget(data) {
  1099. var name = ''
  1100. if (data !== undefined && data !== '') {
  1101. if (data === '1') {
  1102. name = '是'
  1103. } else {
  1104. name = '否'
  1105. }
  1106. return name
  1107. } else {
  1108. return ''
  1109. }
  1110. },
  1111. actionBtnClick(evt, { button, FlowData }) {
  1112. // debugger
  1113. evt.waitUntil(
  1114. new Promise((resolve, reject) => {
  1115. if (button.buttonId === 'G_1_QUESTION_FEED_BACK.9') {
  1116. // 开始-> 转其他人反馈环节
  1117. this.$refs.flow.FlowData.processFormData.processFormPropertyValues.find((item) => {
  1118. return item.name === 'rectState'
  1119. }).required = false
  1120. this.$refs.flow.FlowData.processFormData.processFormPropertyValues.find((item) => {
  1121. return item.name === 'rectType'
  1122. }).required = false
  1123. this.$refs.flow.FlowData.processFormData.processFormPropertyValues.find((item) => {
  1124. return item.name === 'draftRectMeasure'
  1125. }).required = false
  1126. this.$refs.flow.FlowData.processFormData.processFormPropertyValues.find((item) => {
  1127. return item.name === 'transferMonitorSingle'
  1128. }).required = false
  1129. this.$refs.flow.FlowData.processFormData.processFormPropertyValues.find((item) => {
  1130. return item.name === 'transferMonitorDouble'
  1131. }).required = false
  1132. this.$refs.flow.FlowData.processFormData.processFormPropertyValues.find((item) => {
  1133. return item.name === 'importantRectEffect'
  1134. }).required = false
  1135. }
  1136. if (button.buttonId === 'G_1_QUESTION_FEED_BACK.1') {
  1137. // 开始-> 跟踪人环节
  1138. const rectState = this.$refs.flow.getFieldValue('rectState') // 整改状态
  1139. const rectType = this.$refs.flow.getFieldValue('rectType') // 问题类型
  1140. const draftRectMeasure = this.$refs.flow.getFieldValue('draftRectMeasure') // 措施执行情况
  1141. const transferMonitorSingle = this.$refs.flow.getFieldValue('transferMonitorSingle') // 移送纪检监察线索说明(单移送)
  1142. const transferMonitorDouble = this.$refs.flow.getFieldValue('transferMonitorDouble') // 移送纪检监察线索说明(双移送)
  1143. const importantRectEffect = this.$refs.flow.getFieldValue('importantRectEffect') // 其它重要整改成效(文字描述)
  1144. if (rectState === '' || rectState === null || rectState === undefined) {
  1145. this.$refs.flow.FlowData.processFormData.processFormPropertyValues.find((item) => {
  1146. return item.name === 'rectState'
  1147. }).required = true
  1148. }
  1149. if (rectType === '' || rectType === null || rectType === undefined) {
  1150. this.$refs.flow.FlowData.processFormData.processFormPropertyValues.find((item) => {
  1151. return item.name === 'rectType'
  1152. }).required = true
  1153. }
  1154. if (
  1155. draftRectMeasure === '' ||
  1156. draftRectMeasure === null ||
  1157. draftRectMeasure === undefined
  1158. ) {
  1159. this.$refs.flow.FlowData.processFormData.processFormPropertyValues.find((item) => {
  1160. return item.name === 'draftRectMeasure'
  1161. }).required = true
  1162. }
  1163. if (
  1164. transferMonitorSingle === '' ||
  1165. transferMonitorSingle === null ||
  1166. transferMonitorSingle === undefined
  1167. ) {
  1168. this.$refs.flow.FlowData.processFormData.processFormPropertyValues.find((item) => {
  1169. return item.name === 'transferMonitorSingle'
  1170. }).required = true
  1171. }
  1172. if (
  1173. transferMonitorDouble === '' ||
  1174. transferMonitorDouble === null ||
  1175. transferMonitorDouble === undefined
  1176. ) {
  1177. this.$refs.flow.FlowData.processFormData.processFormPropertyValues.find((item) => {
  1178. return item.name === 'transferMonitorDouble'
  1179. }).required = true
  1180. }
  1181. if (
  1182. importantRectEffect === '' ||
  1183. importantRectEffect === null ||
  1184. importantRectEffect === undefined
  1185. ) {
  1186. this.$refs.flow.FlowData.processFormData.processFormPropertyValues.find((item) => {
  1187. return item.name === 'importantRectEffect'
  1188. }).required = true
  1189. }
  1190. }
  1191. if (
  1192. button.buttonId === 'G_1_QUESTION_FEED_BACK.7' ||
  1193. button.buttonId === 'G_1_QUESTION_FEED_BACK.6' ||
  1194. button.buttonId === 'G_1_QUESTION_FEED_BACK.8' ||
  1195. button.buttonId === 'G_1_QUESTION_FEED_BACK.5'
  1196. ) {
  1197. const whetherFinishTarget = this.$refs.flow.getFieldValue('whetherFinishTarget')
  1198. const rectType = this.$refs.flow.getFieldValue('rectType')
  1199. let flag = true
  1200. if (
  1201. (whetherFinishTarget === '' ||
  1202. whetherFinishTarget === null ||
  1203. whetherFinishTarget === undefined) &&
  1204. (rectType === '02' || rectType === '03')
  1205. ) {
  1206. flag = false
  1207. }
  1208. if (!flag) {
  1209. Modal.warning({
  1210. title: '提示',
  1211. content: '请勾选是否完成当年整改阶段目标后进行审批',
  1212. })
  1213. evt.preventDefault()
  1214. }
  1215. }
  1216. if (button.buttonId === 'G_1_QUESTION_FEED_BACK.5' && button.buttonName === '整改销号') {
  1217. // 验证此字段必须选择“是”,否则提示用户“特殊销号的问题需经过部委会同意,请勾选为是确认后进行审批
  1218. const whetherAgree = this.$refs.flow.getFieldValue('whetherAgree')
  1219. const rectState = this.$refs.flow.getFieldValue('rectState')
  1220. let flag = true
  1221. if (
  1222. (whetherAgree === '' ||
  1223. whetherAgree === null ||
  1224. whetherAgree === undefined ||
  1225. whetherAgree === '0') &&
  1226. rectState === '04'
  1227. ) {
  1228. flag = false
  1229. }
  1230. if (!flag) {
  1231. Modal.warning({
  1232. title: '提示',
  1233. content: '特殊销号的问题需经过部委会同意,请勾选为是确认后进行审批',
  1234. })
  1235. evt.preventDefault()
  1236. }
  1237. }
  1238. resolve()
  1239. })
  1240. )
  1241. },
  1242. },
  1243. }
  1244. </script>
  1245. <style module lang="scss">
  1246. @use '@/common/design' as *;
  1247. .btnselect {
  1248. position: relative;
  1249. float: right;
  1250. .batchselect {
  1251. z-index: 100;
  1252. margin-right: 190px;
  1253. }
  1254. }
  1255. :global(.ant-modal-content) {
  1256. :global(.ant-input-number) {
  1257. width: 100%;
  1258. }
  1259. }
  1260. </style>