spic-questionfeedback-form.vue 47 KB

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