MainBody.vue 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725
  1. <template>
  2. <div v-loading="loading" element-loading-text="数据加载中" class="right_content_info"
  3. element-loading-spinner="el-icon-loading"
  4. element-loading-background="rgba(3, 30, 57, 0.8)">
  5. <div id="mainBody">
  6. <div class="left">
  7. <span class="singleButton top_button">
  8. <span class="little_span role_button" :role_button_code="unitList[0].role_button_code" :class="[unitList[0].chosen?'little_active':'']" @click="unitChange(unitList[0])">{{unitList[0].name}}</span>
  9. </span>
  10. <span class="singleButton middle_button">
  11. <span class="little_span role_button" :role_button_code="unitList[1].role_button_code" :class="[unitList[1].chosen?'little_active':'']" @click="unitChange(unitList[1])">{{unitList[1].name}}</span>
  12. </span>
  13. </div>
  14. <div class="right">
  15. <div class="right_header">
  16. <div class="role_button" :role_button_code="item.role_button_code" :class="[item.chosen?'botton_top_chosen':'botton_top']" v-for="(item,index) in typeList" :key="index" @click="typeChange(item)">{{item.name}}</div>
  17. </div>
  18. <div class="right_content">
  19. <el-form :inline="true" :model="form" class="demo-form-inline">
  20. <el-row :gutter="20">
  21. <el-col :span="20">
  22. <div class="grid-content bg-purple">
  23. <el-form-item label="事项名称">
  24. <el-input v-model="form.name" placeholder="" clearable></el-input>
  25. </el-form-item>
  26. <el-form-item label="责任部门">
  27. <el-input v-model="form.operationUnit" placeholder="" clearable></el-input>
  28. </el-form-item>
  29. <el-form-item label="类型">
  30. <el-select v-model="form.commitType" placeholder="请选择">
  31. <el-option
  32. v-for="item in commitTypeList"
  33. :key="item.value"
  34. :label="item.label"
  35. :value="item.value">
  36. </el-option>
  37. </el-select>
  38. </el-form-item>
  39. </div>
  40. </el-col>
  41. <el-col :span="4"><div class="grid-content bg-purple">
  42. <el-form-item>
  43. <el-button type="primary" class="role_button" role_button_code="8f55b710-6f34-4722-9666-582f8f04ad01" @click="onSubmitSearch">查询</el-button>
  44. <el-button class="role_button" role_button_code="4a2fbabd-45db-4408-8268-b3dbd5617b2a" type="primary" @click="downloadModel()">导入模板</el-button>
  45. <el-upload style="display: inline-block;margin-left:8px"
  46. class="upload-demo role_button" role_button_code="df9dcabf-872c-486c-a7a7-a82b8d3d5f55"
  47. action="http://10.81.66.9:9250/ywtb/ywtbMatter_upload"
  48. :show-file-list="showList"
  49. :onError="uploadError"
  50. :onSuccess="uploadSuccess"
  51. :beforeUpload="beforeAvatarUpload"
  52. :file-list="fileList">
  53. <el-button class="role_button" role_button_code="df9dcabf-872c-486c-a7a7-a82b8d3d5f55" type="primary">点击上传</el-button>
  54. </el-upload>
  55. </el-form-item>
  56. </div></el-col>
  57. </el-row>
  58. </el-form>
  59. <div class="table_num_div">
  60. <span>{{matterGuidanceObject['matterGuidanceFirstLevel']|unitType}}{{matterGuidanceObject['matterGuidanceSecondLevel']}}总计{{totalItem}}个事项,{{totalSituation}}个情形</span>
  61. </div>
  62. <div class="table_header_div">
  63. <el-button class="table_icon role_button" role_button_code="52ada3ed-4b16-4421-8aaa-4219c4a0e7f0" @click="showDetail('view')" icon="el-icon-tickets"></el-button>
  64. <el-button class="table_icon role_button" role_button_code="35710e02-5598-4f48-b8ef-e66a25d3210b" @click="showDetail('add')" icon="el-icon-plus"></el-button>
  65. <el-button class="table_icon role_button" role_button_code="c1a11ea8-5be8-4798-915b-122822e1218e" @click="showDetail('edit')" icon="el-icon-edit"></el-button>
  66. <el-button class="table_icon role_button" role_button_code="49310ab8-b01c-4b4a-bd2f-a4060a8a4e81" @click="showDetail('delete')" icon="el-icon-delete"></el-button>
  67. </div>
  68. <el-table ref="Table" @selection-change="change" :fit='true'
  69. :data="DataMain" :height="tableHeight" row-key="RN"
  70. lazy
  71. :load="load"
  72. :tree-props="{children: 'children', hasChildren: 'hasChildren'}">
  73. <el-table-column
  74. type="selection"
  75. :selectable ='checkboxInit'
  76. width="55">
  77. </el-table-column>
  78. <el-table-column prop="NAME" label="事项名称">
  79. <template slot-scope="scope">
  80. <span>{{scope.row.NAME.length>30?scope.row.NAME.substr(0,30)+"...":scope.row.NAME}}</span>
  81. <span class="wb_button" v-if="(scope.row.WB=='1')">网办</span>
  82. <span class="qcwb_button" v-if="(scope.row.QCWB=='1')">全程网办</span>
  83. <span class="hb_button" v-if="(scope.row.HB=='1')">好办</span>
  84. <span class="kb_button" v-if="(scope.row.KB=='1')">快办</span>
  85. </template>
  86. </el-table-column>
  87. <el-table-column prop="TYPE" label="事项类型" width="150">
  88. </el-table-column>
  89. <el-table-column prop="UNIT_NAME" label="责任部门" width="200">
  90. </el-table-column>
  91. <el-table-column prop="COOPERATION_DEPARTMENT" label="配合部门" width="350">
  92. <template slot-scope="scope">
  93. <span v-if="scope.row.hasChildren">{{scope.row.COOPERATION_DEPARTMENT}}</span>
  94. <span class="guide_button" v-if="!scope.row.hasChildren" :class="[scope.row.COOPERATION_DEPARTMENT == '0'?'show_disable':'']"
  95. type="primary"
  96. size="mini"
  97. @click="showDialog(scope.row.COOPERATION_DEPARTMENT,scope.row.NAME,scope.row.TITLE)">指南
  98. </span>
  99. </template>
  100. </el-table-column>
  101. </el-table>
  102. <el-pagination
  103. background
  104. @size-change="handleSizeChange"
  105. @current-change="handleCurrentChange"
  106. :current-page="paginations.currentPage"
  107. :page-sizes="paginations.pageSizes"
  108. :page-size="paginations.pageSize"
  109. layout="prev, pager, next,sizes,jumper"
  110. :total="paginations.totalCount"
  111. />
  112. </div>
  113. </div>
  114. <el-dialog title="办件指南" :visible.sync="dialogFormVisible" :width="dialogFormWidth" :top="dialogFormTop">
  115. <div class="guide_body">
  116. <h1 class="item_title">{{ dialog_item_title }}</h1>
  117. <h3 class="situation_title">{{dialog_situation_title}}</h3>
  118. <div class="step_menu">
  119. <div class="step_top">
  120. <div class="single_step">
  121. <div class="single_button" :class="[stepList[0].chosen?'single_button_active':'']" @click="chooseStep(stepList[0].id)">
  122. <span class="single_num">{{stepList[0].id}}</span>
  123. </div>
  124. </div>
  125. <div class="line">
  126. <el-divider></el-divider>
  127. </div>
  128. <div class="single_step">
  129. <div class="single_button" :class="[stepList[1].chosen?'single_button_active':'']" @click="chooseStep(stepList[1].id)">
  130. <span class="single_num">{{stepList[1].id}}</span>
  131. </div>
  132. </div>
  133. <div class="line">
  134. <el-divider></el-divider>
  135. </div>
  136. <div class="single_step">
  137. <div class="single_button" :class="[stepList[2].chosen?'single_button_active':'']" @click="chooseStep(stepList[2].id)">
  138. <span class="single_num">{{stepList[2].id}}</span>
  139. </div>
  140. </div>
  141. <div class="line">
  142. <el-divider></el-divider>
  143. </div>
  144. <div class="single_step">
  145. <div class="single_button" :class="[stepList[3].chosen?'single_button_active':'']" @click="chooseStep(stepList[3].id)">
  146. <span class="single_num">{{stepList[3].id}}</span>
  147. </div>
  148. </div>
  149. <div class="line">
  150. <el-divider></el-divider>
  151. </div>
  152. <div class="single_step">
  153. <div class="single_button" :class="[stepList[4].chosen?'single_button_active':'']" @click="chooseStep(stepList[4].id)">
  154. <span class="single_num">{{stepList[4].id}}</span>
  155. </div>
  156. </div>
  157. <div class="line">
  158. <el-divider></el-divider>
  159. </div>
  160. <div class="single_step">
  161. <div class="single_button" :class="[stepList[5].chosen?'single_button_active':'']" @click="chooseStep(stepList[5].id)">
  162. <span class="single_num">{{stepList[5].id}}</span>
  163. </div>
  164. </div>
  165. <div class="line">
  166. <el-divider></el-divider>
  167. </div>
  168. <div class="single_step">
  169. <div class="single_button" :class="[stepList[6].chosen?'single_button_active':'']" @click="chooseStep(stepList[6].id)">
  170. <span class="single_num">{{stepList[6].id}}</span>
  171. </div>
  172. </div>
  173. <div class="line">
  174. <el-divider></el-divider>
  175. </div>
  176. <div class="single_step">
  177. <div class="single_button" :class="[stepList[7].chosen?'single_button_active':'']" @click="chooseStep(stepList[7].id)">
  178. <span class="single_num">{{stepList[7].id}}</span>
  179. </div>
  180. </div>
  181. </div>
  182. <div class="step_bottom">
  183. <div class="single_title_left">
  184. <span class="single_remarks">{{stepList[0].name}}</span>
  185. </div>
  186. <div class="single_title">
  187. <span class="single_remarks">{{stepList[1].name}}</span>
  188. </div>
  189. <div class="single_title">
  190. <span class="single_remarks">{{stepList[2].name}}</span>
  191. </div>
  192. <div class="single_title">
  193. <span class="single_remarks">{{stepList[3].name}}</span>
  194. </div>
  195. <div class="single_title">
  196. <span class="single_remarks">{{stepList[4].name}}</span>
  197. </div>
  198. <div class="single_title">
  199. <span class="single_remarks">{{stepList[5].name}}</span>
  200. </div>
  201. <div class="single_title">
  202. <span class="single_remarks">{{stepList[6].name}}</span>
  203. </div>
  204. <div class="single_title_right">
  205. <span class="single_remarks">{{stepList[7].name}}</span>
  206. </div>
  207. </div>
  208. </div>
  209. <div class="basic_info">
  210. <table v-if="chosenStep=='1'" border="1" :key="1" class="basic_table">
  211. <tr class="basic_tr" v-for="(item,index) in dialogLeftList" :key="index">
  212. <td class="td_title">{{item.title}}</td>
  213. <td class="td_content">
  214. <span v-if="showEdit">{{item.content}}</span>
  215. <span v-else><el-input type="textarea" v-model="item.content"/></span>
  216. </td>
  217. <td class="td_title">{{dialogRightList[index].title}}</td>
  218. <td class="td_content">
  219. <span v-if="showEdit">{{dialogRightList[index].content}}</span>
  220. <span v-else><el-input type="textarea" v-model="dialogRightList[index].content"/></span>
  221. </td>
  222. </tr>
  223. <tr class="basic_tr" v-for="(item,index) in dialogBottomList" :key="index">
  224. <td colspan="1" class="td_bottom_title">{{item.title}}</td>
  225. <td colspan="3" class="td_bottom_content">
  226. <span v-if="showEdit">{{item.content}}</span>
  227. <span v-else><el-input type="textarea" v-model="item.content"/></span>
  228. </td>
  229. </tr>
  230. </table>
  231. <div v-else-if="chosenStep=='2'" :key="2" class="step_info">
  232. <div class="single_sqlc" v-for="(item,index) in dialog_sqlc_List" :key="index">
  233. <div class="sqlc_title">
  234. <span>{{item.title}}:</span>
  235. </div>
  236. <div class="sqlc_content">
  237. <span v-if="showEdit">{{item.content}}</span>
  238. <span v-else><el-input type="textarea" rows="4" v-model="item.content"/></span>
  239. </div>
  240. </div>
  241. </div>
  242. <div v-else-if="chosenStep=='3'" :key="3" class="step_info">
  243. <div class="single_sqlc" v-for="(item,index) in dialog_bllc_List" :key="index">
  244. <div class="sqlc_title">
  245. <span>{{item.title}}:</span>
  246. </div>
  247. <div class="sqlc_content">
  248. <span v-if="showEdit">{{item.content}}</span>
  249. <span v-else><el-input type="textarea" rows="4" v-model="item.content"/></span>
  250. </div>
  251. </div>
  252. </div>
  253. <div v-else-if="chosenStep=='4'" :key="4" class="step_info">
  254. <div class="single_sqlc" v-for="(item,index) in dialog_cjcwsl_List" :key="index">
  255. <div class="sqlc_title">
  256. <span>{{item.title}}:</span>
  257. </div>
  258. <div class="sqlc_content">
  259. <span v-if="showEdit">{{item.content}}</span>
  260. <span v-else><el-input type="textarea" rows="4" v-model="item.content"/></span>
  261. </div>
  262. </div>
  263. </div>
  264. <div v-else-if="chosenStep=='5'" :key="5" class="step_info">
  265. <div class="single_sqlc" v-for="(item,index) in dialog_slyj_List" :key="index">
  266. <div class="sqlc_title">
  267. <span>{{item.title}}:</span>
  268. </div>
  269. <div class="sqlc_content">
  270. <span v-if="showEdit">{{item.content}}</span>
  271. <span v-else><el-input type="textarea" rows="4" v-model="item.content"/></span>
  272. </div>
  273. </div>
  274. </div>
  275. <div v-else-if="chosenStep=='6'" :key="6" class="step_info">
  276. <div class="single_sqlc" v-for="(item,index) in dialog_flnr_List" :key="index">
  277. <div class="sqlc_title">
  278. <span>{{item.title}}:</span>
  279. </div>
  280. <div class="sqlc_content">
  281. <span v-if="showEdit">{{item.content}}</span>
  282. <span v-else><el-input type="textarea" rows="4" v-model="item.content"/></span>
  283. </div>
  284. </div>
  285. </div>
  286. <div v-else-if="chosenStep=='7'" :key="7" class="step_info">
  287. <div class="single_sqlc" v-for="(item,index) in dialog_spsf_List" :key="index">
  288. <div class="sqlc_title">
  289. <span>{{item.title}}:</span>
  290. </div>
  291. <div class="sqlc_content">
  292. <span v-if="showEdit">{{item.content}}</span>
  293. <span v-else><el-input type="textarea" rows="4" v-model="item.content"/></span>
  294. </div>
  295. </div>
  296. </div>
  297. <div v-else :key="8" class="step_info">
  298. <div class="single_sqlc" v-for="(item,index) in dialog_qlyw_List" :key="index">
  299. <div class="sqlc_title">
  300. <span>{{item.title}}:</span>
  301. </div>
  302. <div class="sqlc_content">
  303. <span v-if="showEdit">{{item.content}}</span>
  304. <span v-else><el-input type="textarea" rows="4" :autosize="{minRows:4,maxRows:8}" v-model="item.content"/></span>
  305. </div>
  306. </div>
  307. </div>
  308. </div>
  309. </div>
  310. <div slot="footer" class="dialog-footer">
  311. <el-button @click="dialogFormVisible = false">取 消</el-button>
  312. <el-button type="primary" @click="dialogFormVisible = false">确 定</el-button>
  313. </div>
  314. </el-dialog>
  315. </div>
  316. </div>
  317. </template>
  318. <script>
  319. //import {autoRoll,autoChange} from '../../../scroll'
  320. import {MessageBox} from "element-ui";
  321. import {mapMutations, mapState} from "vuex";
  322. import selectConfigModuleByRole from "@/role_button";
  323. let rolltimer = ""; // 自动滚动的定时任务
  324. let changetimer = ""; // 自动切换的定时任务
  325. export default {
  326. name: "MainBody",
  327. data(){
  328. return{
  329. fileList:[],
  330. showList:false,
  331. showEdit:true,
  332. total_unit:'住建委',
  333. totalItem:0,
  334. totalSituation:0,
  335. commitTypeList:[
  336. {
  337. label:'全部',
  338. value:'',
  339. },
  340. {
  341. label:'网办',
  342. value:'1',
  343. },
  344. {
  345. label:'好办',
  346. value:'2',
  347. },
  348. {
  349. label:'快办',
  350. value:'3',
  351. },
  352. {
  353. label:'全程网办',
  354. value:'4',
  355. },
  356. ],
  357. typeList:[
  358. {
  359. id:'1',
  360. code:'01',
  361. name:'行政许可',
  362. chosen:false,
  363. role_button_code:'d2087ef5-a893-4256-a660-5fda9b44bd28'
  364. },
  365. {
  366. id:'2',
  367. code:'07',
  368. name:'行政确认',
  369. chosen:false,
  370. role_button_code:'c859f1bd-4512-4f76-8314-7e1254705b88'
  371. },
  372. {
  373. id:'3',
  374. code:'06',
  375. name:'行政奖励',
  376. chosen:false,
  377. role_button_code:'921747d5-36cf-448e-a26e-4e59990a4519'
  378. },
  379. {
  380. id:'4',
  381. code:'08',
  382. name:'行政征收',
  383. chosen:false,
  384. role_button_code:'4ecf4b5c-ad89-480a-8ff0-c02d5b228fb3'
  385. },
  386. {
  387. id:'5',
  388. code:'49',
  389. name:'其他权利',
  390. chosen:false,
  391. role_button_code:'72bb9c6b-09e9-42bd-8999-d50ca85a1507'
  392. },
  393. {
  394. id:'6',
  395. code:'58',
  396. name:'公共服务',
  397. chosen:false,
  398. role_button_code:'1dc72435-7014-4693-8017-7dace08852c8'
  399. },
  400. ],
  401. unitList:[
  402. {
  403. id:'1',
  404. code:'1',
  405. name:'住建委',
  406. chosen:true,
  407. role_button_code:'595a5095-6cbc-4974-a32f-6fb27ee60a2f'
  408. },
  409. {
  410. id:'2',
  411. code:'2',
  412. name:'房管局',
  413. chosen:false,
  414. role_button_code:'7b7b0c44-2a2b-4e16-82d4-f5defaf08a6b'
  415. },
  416. ],
  417. unit_name_type:'1',
  418. type:'',
  419. form: {
  420. name: '',
  421. operationUnit: '',
  422. commitType:''
  423. },
  424. paginations:{
  425. currentPage:1, //当前页
  426. totalCount:0, //总数
  427. pageSize:10, //一页显示多少
  428. pageSizes:[10,20,50], //一页显示多少
  429. },
  430. multipleSelection: [],
  431. DataMain:[],
  432. tableHeight: 0,
  433. stepList:[
  434. {
  435. id:'1',
  436. name:'基础信息',
  437. chosen:true
  438. },
  439. {
  440. id:'2',
  441. name:'申请流程',
  442. chosen:false
  443. },
  444. {
  445. id:'3',
  446. name:'办理流程',
  447. chosen:false
  448. },
  449. {
  450. id:'4',
  451. name:'常见错误示例',
  452. chosen:false
  453. },
  454. {
  455. id:'5',
  456. name:'设立依据',
  457. chosen:false
  458. },
  459. {
  460. id:'6',
  461. name:'法律内容',
  462. chosen:false
  463. },
  464. {
  465. id:'7',
  466. name:'审批收费',
  467. chosen:false
  468. },
  469. {
  470. id:'8',
  471. name:'权利义务',
  472. chosen:false
  473. },
  474. ],
  475. //模态框参数
  476. dialogFormWidth:'60%',
  477. dialogFormTop:'10vh',
  478. dialogFormVisible: false,
  479. dialogLeftList:[
  480. {
  481. id:'1',
  482. code:'matter_type',
  483. title:'事项类型',
  484. content:''
  485. },
  486. {
  487. id:'2',
  488. code:'pt_code',
  489. title:'平台编码',
  490. content:''
  491. },
  492. {
  493. id:'3',
  494. code:'sszt',
  495. title:'实施主体',
  496. content:''
  497. },
  498. {
  499. id:'4',
  500. code:'ssztbm',
  501. title:'实施主体编码',
  502. content:''
  503. },
  504. {
  505. id:'5',
  506. code:'ywblxbm',
  507. title:'业务办理项编码',
  508. content:''
  509. },
  510. {
  511. id:'6',
  512. code:'tbfw',
  513. title:'通办范围',
  514. content:''
  515. },
  516. {
  517. id:'7',
  518. code:'matter_state',
  519. title:'事项状态',
  520. content:''
  521. },
  522. {
  523. id:'8',
  524. code:'ql_ly',
  525. title:'权力来源',
  526. content:''
  527. },
  528. {
  529. id:'9',
  530. code:'sfzc_yybl',
  531. title:'是否支持预约办理',
  532. content:''
  533. },
  534. {
  535. id:'10',
  536. code:'sfzc_wlkd',
  537. title:'是否支持物流快递',
  538. content:''
  539. },
  540. {
  541. id:'11',
  542. code:'zjfw',
  543. title:'中介服务',
  544. content:''
  545. },
  546. {
  547. id:'12',
  548. code:'yxxt',
  549. title:'运行系统',
  550. content:''
  551. },
  552. {
  553. id:'13',
  554. code:'fdbjsx',
  555. title:'法定办结时限',
  556. content:''
  557. },
  558. {
  559. id:'14',
  560. code:'cnbjsx',
  561. title:'承诺办结时限',
  562. content:''
  563. },
  564. {
  565. id:'15',
  566. code:'ckjs',
  567. title:'窗口接收',
  568. content:''
  569. },
  570. {
  571. id:'16',
  572. code:'wsjs',
  573. title:'网上接收',
  574. content:''
  575. },
  576. {
  577. id:'17',
  578. code:'xhjs',
  579. title:'信函接收',
  580. content:''
  581. },
  582. {
  583. id:'18',
  584. code:'ckjs_sj',
  585. title:'窗口接收时间',
  586. content:''
  587. },
  588. ],
  589. dialogRightList:[
  590. {
  591. id:'1',
  592. code:'bj_type',
  593. title:'办件类型',
  594. content:''
  595. },
  596. {
  597. id:'2',
  598. code:'BASIC_CODE',
  599. title:'基本编码',
  600. content:''
  601. },
  602. {
  603. id:'3',
  604. code:'ssztxz',
  605. title:'实施主体性质',
  606. content:''
  607. },
  608. {
  609. id:'4',
  610. code:'lbjg',
  611. title:'联办机构',
  612. content:''
  613. },
  614. {
  615. id:'5',
  616. code:'fwdx',
  617. title:'服务对象',
  618. content:''
  619. },
  620. {
  621. id:'6',
  622. code:'xscj',
  623. title:'行使层级',
  624. content:''
  625. },
  626. {
  627. id:'7',
  628. code:'zgbm_name',
  629. title:'主管部门名称',
  630. content:''
  631. },
  632. {
  633. id:'8',
  634. code:'sfjz_zwdt',
  635. title:'是否进驻政务大厅',
  636. content:''
  637. },
  638. {
  639. id:'9',
  640. code:'sfzc_wszf',
  641. title:'是否支持网上支付',
  642. content:''
  643. },
  644. {
  645. id:'10',
  646. code:'sfzc_zdbl',
  647. title:'是否支持自助终端办理',
  648. content:''
  649. },
  650. {
  651. id:'11',
  652. code:'slxz',
  653. title:'数量限制',
  654. content:''
  655. },
  656. {
  657. id:'12',
  658. code:'dbsdd_cs',
  659. title:'到场次数',
  660. content:''
  661. },
  662. {
  663. id:'13',
  664. code:'fdbjsxsm',
  665. title:'法定办结时限说明',
  666. content:''
  667. },
  668. {
  669. id:'14',
  670. code:'cnbjsxsm',
  671. title:'承诺办结时限说明',
  672. content:''
  673. },
  674. {
  675. id:'15',
  676. code:'ckzx',
  677. title:'窗口咨询',
  678. content:''
  679. },
  680. {
  681. id:'16',
  682. code:'dhzx',
  683. title:'电话咨询',
  684. content:''
  685. },
  686. {
  687. id:'17',
  688. code:'wszx',
  689. title:'网上咨询',
  690. content:''
  691. },
  692. {
  693. id:'18',
  694. code:'dzyjzx',
  695. title:'电子邮件咨询',
  696. content:''
  697. },
  698. ],
  699. dialogBottomList:[
  700. {
  701. id:'1',
  702. code:'ckst',
  703. title:'窗口投诉',
  704. content:''
  705. },
  706. {
  707. id:'2',
  708. code:'dhst',
  709. title:'电话投诉',
  710. content:''
  711. },
  712. {
  713. id:'3',
  714. code:'wsts',
  715. title:'网上投诉',
  716. content:''
  717. },
  718. {
  719. id:'4',
  720. code:'dzyjts',
  721. title:'电子邮件投诉',
  722. content:''
  723. },
  724. {
  725. id:'5',
  726. code:'xhts',
  727. title:'信函投诉',
  728. content:''
  729. },
  730. {
  731. id:'6',
  732. code:'rcyy',
  733. title:'日常用语',
  734. content:''
  735. },
  736. {
  737. id:'7',
  738. code:'mxzrr_sxztfl',
  739. title:'面向自然人事项主题分类',
  740. content:''
  741. },
  742. {
  743. id:'8',
  744. code:'mxfr_sxztfl',
  745. title:'面向法人事项主题分类',
  746. content:''
  747. },
  748. {
  749. id:'9',
  750. code:'cjdx',
  751. title:'许可/确认/给付/征收/奖励/服务/裁决对象',
  752. content:''
  753. },
  754. {
  755. id:'10',
  756. code:'ws_blsd',
  757. title:'网上办理深度',
  758. content:''
  759. },
  760. {
  761. id:'11',
  762. code:'syfw',
  763. title:'适用范围',
  764. content:''
  765. },
  766. {
  767. id:'12',
  768. code:'zjfwyj',
  769. title:'中介服务依据',
  770. content:''
  771. },
  772. {
  773. id:'13',
  774. code:'cjtj',
  775. title:'许可/确认/给付/征收/奖励/服务/裁决条件',
  776. content:''
  777. },
  778. {
  779. id:'14',
  780. code:'cjnr',
  781. title:'许可/确认/给付/征收/奖励/服务/裁决内容',
  782. content:''
  783. },
  784. {
  785. id:'15',
  786. code:'qxhf',
  787. title:'权限划分',
  788. content:''
  789. },
  790. ],
  791. dialog_sqlc_List:[
  792. {
  793. id:'1',
  794. code:'sltj',
  795. title:'受理条件',
  796. content:''
  797. },
  798. {
  799. id:'2',
  800. code:'sqqx',
  801. title:'申请期限',
  802. content:''
  803. },
  804. {
  805. id:'3',
  806. code:'tbxz',
  807. title:'填报须知',
  808. content:''
  809. },
  810. {
  811. id:'4',
  812. code:'sqcl_xsbz',
  813. title:'申请材料形式标准',
  814. content:''
  815. },
  816. {
  817. id:'5',
  818. code:'sqwsmc',
  819. title:'申请文书名称',
  820. content:''
  821. },
  822. ],
  823. dialog_bllc_List:[
  824. {
  825. id:'1',
  826. code:'slqx',
  827. title:'受理期限',
  828. content:''
  829. },
  830. {
  831. id:'2',
  832. code:'sfsqbl',
  833. title:'是否社区办理',
  834. content:''
  835. },
  836. {
  837. id:'3',
  838. code:'bxxcbl_yysm',
  839. title:'必须现场办理原因说明',
  840. content:''
  841. },
  842. {
  843. id:'4',
  844. code:'blfs',
  845. title:'办理方式',
  846. content:''
  847. },
  848. {
  849. id:'5',
  850. code:'tbcx',
  851. title:'特别程序',
  852. content:''
  853. },
  854. ],
  855. dialog_cjcwsl_List:[
  856. {
  857. id:'1',
  858. code:'cjcwsl',
  859. title:'常见错误示例',
  860. content:''
  861. },
  862. ],
  863. dialog_slyj_List:[
  864. {
  865. id:'1',
  866. code:'slyj',
  867. title:'设立依据',
  868. content:''
  869. },
  870. ],
  871. dialog_flnr_List:[
  872. {
  873. id:'1',
  874. code:'flnr',
  875. title:'法律内容',
  876. content:''
  877. },
  878. {
  879. id:'2',
  880. code:'flzr',
  881. title:'法律责任',
  882. content:''
  883. },
  884. ],
  885. dialog_spsf_List:[
  886. {
  887. id:'1',
  888. code:'sfsf',
  889. title:'是否收费',
  890. content:''
  891. },
  892. ],
  893. dialog_qlyw_List:[
  894. {
  895. id:'1',
  896. code:'sqrql',
  897. title:'申请人权力',
  898. content:''
  899. },
  900. {
  901. id:'2',
  902. code:'sqryw',
  903. title:'申请人义务',
  904. content:''
  905. },
  906. ],
  907. chosenStep:'1',
  908. rollPx:1,
  909. refreshTime:5,
  910. rollTime:5,
  911. autoPlay:true,
  912. globalList:[
  913. {
  914. id:'1',
  915. name:'dialogLeftList'
  916. },
  917. {
  918. id:'2',
  919. name:'dialogRightList'
  920. },
  921. {
  922. id:'3',
  923. name:'dialogBottomList'
  924. },
  925. {
  926. id:'4',
  927. name:'dialog_sqlc_List'
  928. },
  929. {
  930. id:'5',
  931. name:'dialog_bllc_List'
  932. },
  933. {
  934. id:'6',
  935. name:'dialog_cjcwsl_List'
  936. },
  937. {
  938. id:'7',
  939. name:'dialog_slyj_List'
  940. },
  941. {
  942. id:'8',
  943. name:'dialog_flnr_List'
  944. },
  945. {
  946. id:'9',
  947. name:'dialog_spsf_List'
  948. },
  949. {
  950. id:'10',
  951. name:'dialog_qlyw_List'
  952. },
  953. ],
  954. open: true,
  955. close:false,
  956. dialog_item_title:'',
  957. dialog_situation_title:'',
  958. loading:false,
  959. }
  960. },
  961. computed:{
  962. ...mapState({
  963. matterGuidanceObject:'matterGuidance',
  964. reFresh:'matterGuidanceRefresh'
  965. })
  966. },
  967. filters:{
  968. unitType(state){
  969. let obj = {
  970. '1':'住建委',
  971. '2':'房管局',
  972. }
  973. return obj[state]
  974. }
  975. },
  976. mounted() {
  977. selectConfigModuleByRole(this);
  978. if(this.reFresh){
  979. this.matterGuidanceSingleChange([
  980. {
  981. name:'matterGuidanceFirstLevel',
  982. value:'1'
  983. },
  984. {
  985. name:'matterGuidanceSecondLevel',
  986. value:''
  987. },
  988. {
  989. name:'matterGuidanceThirdLevel',
  990. value:''
  991. },
  992. ])
  993. }
  994. this.$nextTick(function () {
  995. this.tableHeight = window.innerHeight - this.$refs.Table.$el.offsetTop - 150;
  996. // 监听窗口大小变化
  997. let ZJWself = this;
  998. window.onresize = function() {
  999. ZJWself.tableHeight = window.innerHeight - self.$refs.Table.$el.offsetTop - 150;
  1000. }
  1001. });
  1002. // this.autoRoll();
  1003. // this.autoChange();
  1004. },
  1005. methods:{
  1006. uploadError (response, file, fileList) {
  1007. this.loading=false;
  1008. console.log('上传失败,请重试!',response, file, fileList)
  1009. },
  1010. uploadSuccess (response, file, fileList) {
  1011. console.log('上传文件', response,file, fileList)
  1012. if(response.msg[0].success =='true'){
  1013. this.loading=false;
  1014. MessageBox.alert('上传文件成功', '提示', {
  1015. confirmButtonText: '确定'
  1016. });
  1017. }else{
  1018. this.loading=false;
  1019. MessageBox.alert(response.msg[0].error, '提示', {
  1020. confirmButtonText: '确定'
  1021. });
  1022. }
  1023. },
  1024. // 上传前对文件的大小的判断
  1025. beforeAvatarUpload (file) {
  1026. this.loading=true;
  1027. const extension = file.name.split('.')[1] === 'xls'
  1028. const extension2 = file.name.split('.')[1] === 'xlsx'
  1029. const isLt2M = file.size / 1024 / 1024 < 10
  1030. if (!extension && !extension2) {
  1031. this.loading=false;
  1032. MessageBox.alert('上传模板只能是 xls、xlsx 格式!', '提示', {
  1033. confirmButtonText: '确定'
  1034. });
  1035. }
  1036. if (!isLt2M) {
  1037. this.loading=false;
  1038. MessageBox.alert('上传模板大小不能超过 10MB!', '提示', {
  1039. confirmButtonText: '确定'
  1040. });
  1041. }
  1042. return extension || extension2 && isLt2M
  1043. },
  1044. downloadModel(){
  1045. let url ='http://10.81.69.64/files/ywtb/事项与指南导入模板.xlsx';
  1046. const a = document.createElement('a')
  1047. a.href = url;
  1048. a.style.display="none";
  1049. //测试链接console.log(a.href)
  1050. a.download = '证照模板' // 下载文件的名字
  1051. document.body.appendChild(a)
  1052. a.click();
  1053. document.body.removeChild(a);
  1054. },
  1055. onSubmitSearch(){
  1056. this.paginations.currentPage = 1;
  1057. this.onSubmit();
  1058. },
  1059. unitChange(item){
  1060. this.matterGuidanceSingleChange([
  1061. {
  1062. name:'matterGuidanceFirstLevel',
  1063. value:item.code
  1064. },
  1065. {
  1066. name:'matterGuidanceSecondLevel',
  1067. value:''
  1068. },
  1069. {
  1070. name:'matterGuidanceThirdLevel',
  1071. value:''
  1072. },
  1073. ])
  1074. },
  1075. typeChange(item){
  1076. this.matterGuidanceSingleChange([
  1077. {
  1078. name:'matterGuidanceSecondLevel',
  1079. value:item.name
  1080. },
  1081. {
  1082. name:'matterGuidanceThirdLevel',
  1083. value:''
  1084. },
  1085. ])
  1086. },
  1087. selectChange:function (){
  1088. this.form.commitType = this.matterGuidanceObject['matterGuidanceThirdLevel'];
  1089. },
  1090. unitChangeOrigion:function(code){
  1091. for(let i=0;i<this.unitList.length;i++){
  1092. if(code==this.unitList[i].code){
  1093. this.unitList[i].chosen=true;
  1094. }else{
  1095. this.unitList[i].chosen=false;
  1096. }
  1097. }
  1098. },
  1099. typeChangeOrigion:function(val){
  1100. for(let i=0;i<this.typeList.length;i++){
  1101. if(val==this.typeList[i].name){
  1102. this.typeList[i].chosen=true;
  1103. }else{
  1104. this.typeList[i].chosen=false;
  1105. }
  1106. }
  1107. },
  1108. onSubmit(){
  1109. //this.toClose();
  1110. this.$request({
  1111. url:'/YWTBApi/getMatterCount',
  1112. method:'post',
  1113. data:{
  1114. "TYPE":this.matterGuidanceObject['matterGuidanceSecondLevel'],
  1115. "ORGANIZATION":this.matterGuidanceObject['matterGuidanceFirstLevel'],
  1116. "DATA_TYPE":this.form.commitType,
  1117. "MATTER_NAME":this.form.name,
  1118. "RESPONSIBLE_DEPARTMENT":this.form.operationUnit,
  1119. "appkey":localStorage.getItem("ywtb_userkeycode")
  1120. }
  1121. }).then(response => {
  1122. let dataArr = response.data.msg[0].Rows[0];
  1123. this.totalItem =dataArr.MATTER_COUNT;
  1124. this.totalSituation =dataArr.ATTRIBUTE_COUNT;
  1125. })
  1126. this.$request({
  1127. url:'/ywtb/queryMatterPageList',
  1128. method:'post',
  1129. data:{
  1130. "NAME":this.form.name,
  1131. "TYPE":this.matterGuidanceObject['matterGuidanceSecondLevel'],
  1132. "BJ_TYPE":this.form.commitType,
  1133. "UNIT_NAME_TYPE":this.matterGuidanceObject['matterGuidanceFirstLevel'],
  1134. "RESPONSIBLE_DEPARTMENT":this.form.operationUnit,
  1135. "pageSize":this.paginations.pageSize,
  1136. "pageIndex":this.paginations.currentPage,
  1137. "appkey":localStorage.getItem("ywtb_userkeycode")
  1138. }
  1139. }).then(response => {
  1140. let useData= []
  1141. let dataArr = response.data.msg[0].Rows;
  1142. for(let i=0;i<dataArr.length;i++){
  1143. let tempdata = {
  1144. UNIT_CODE: dataArr[i].UNIT_CODE,
  1145. BASE_CODE: dataArr[i].BASE_CODE,
  1146. UUID_MAIN: dataArr[i].UUID_MAIN,
  1147. SITUATION: dataArr[i].SITUATION,
  1148. QCWB: dataArr[i].QCWB,
  1149. HB: dataArr[i].HB,
  1150. KB: dataArr[i].KB,
  1151. WB: dataArr[i].WB,
  1152. UUID_DETAIL: dataArr[i].UUID_DETAIL,
  1153. COOPERATION_DEPARTMENT: dataArr[i].COOPERATION_DEPARTMENT,
  1154. TYPE: dataArr[i].TYPE,
  1155. UNIT_NAME: dataArr[i].UNIT_NAME,
  1156. NAME: dataArr[i].NAME,
  1157. RN: dataArr[i].RN + dataArr[i].UUID_MAIN,
  1158. hasChildren: true
  1159. }
  1160. useData.push(tempdata);
  1161. }
  1162. this.DataMain = useData;
  1163. this.paginations.totalCount =response.data.msg[0].TotalRowCount;
  1164. })
  1165. },
  1166. checkboxInit(row){
  1167. if(row.hasChildren){
  1168. return 1;
  1169. }else{
  1170. return 0;
  1171. }
  1172. },
  1173. load(tree, treeNode, resolve) {
  1174. //this.dialog_item_title = tree.NAME;
  1175. this.$request({
  1176. url:'/ywtb/queryMatterAttributeByBaseCode',
  1177. method:'post',
  1178. data:{
  1179. "BASE_CODE":tree.BASE_CODE,
  1180. "appkey":localStorage.getItem("ywtb_userkeycode")
  1181. }
  1182. }).then(response => {
  1183. if(response == undefined){
  1184. resolve([]);
  1185. return
  1186. }else{
  1187. for(let i=0;i<response.data.msg[0].Rows.length;i++){
  1188. response.data.msg[0].Rows[i].RN =response.data.msg[0].Rows[i].MARK_UUID + i;
  1189. response.data.msg[0].Rows[i].TITLE = tree.NAME;
  1190. }
  1191. resolve(response.data.msg[0].Rows);
  1192. }
  1193. })
  1194. },
  1195. goDetail:function(){
  1196. this.$router.push({
  1197. name:'detailInfo',
  1198. })
  1199. },
  1200. change(val) {
  1201. this.multipleSelection = val;
  1202. },
  1203. // 鼠标进入
  1204. mouseEnter() {
  1205. // if(this.dialogFormVisible){
  1206. // return
  1207. // }else{
  1208. // // 鼠标进入停止滚动和切换的定时任务
  1209. // // console.log("jinlailai");
  1210. // this.autoRoll(true);
  1211. // this.autoChange(true);
  1212. // }
  1213. },
  1214. // 鼠标离开
  1215. mouseLeave() {
  1216. // if(this.dialogFormVisible){
  1217. // return
  1218. // }else {
  1219. // // 开启
  1220. // this.autoRoll();
  1221. // this.autoChange();
  1222. // }
  1223. },
  1224. handleSizeChange(size) {
  1225. // console.log(size);
  1226. this.paginations.pageSize = size
  1227. this.paginations.currentPage = 1;
  1228. this.onSubmit();
  1229. },
  1230. handleCurrentChange(page) {
  1231. this.paginations.currentPage = page
  1232. this.onSubmit();
  1233. },
  1234. showDetail(detailType){
  1235. // console.log(detailType);
  1236. if (detailType === 'view'||detailType === 'edit') {
  1237. let selection = this.$refs.Table.selection;
  1238. if (selection.length != 1) {
  1239. MessageBox.alert('请选择一条数据进行操作', '提示', {
  1240. confirmButtonText: '确定'
  1241. });
  1242. }else{
  1243. this.$router.push({
  1244. name: 'detailInfo',
  1245. query: {
  1246. base_code:selection[0].BASE_CODE,
  1247. name: selection[0].NAME,
  1248. detailType: detailType,
  1249. detailData: JSON.stringify(selection[0])
  1250. }
  1251. });
  1252. }
  1253. }else if(detailType === 'add'){
  1254. this.$router.push({
  1255. name: 'detailInfo',
  1256. query:{
  1257. base_code:'',
  1258. name:'新增',
  1259. detailType:detailType,
  1260. detailData:''
  1261. }
  1262. });
  1263. }else if (detailType === 'delete') {
  1264. let selection = this.$refs.Table.selection;
  1265. if (selection.length != 1) {
  1266. MessageBox.alert('请选择一条数据进行操作', '提示', {
  1267. confirmButtonText: '确定'
  1268. });
  1269. } else {
  1270. this.$request({
  1271. url:'/ywtb/removeYwtbMatter',
  1272. method:'post',
  1273. data:{
  1274. "BASE_CODE":selection[0].BASE_CODE,
  1275. "appkey":localStorage.getItem("ywtb_userkeycode")
  1276. }
  1277. }).then(response => {
  1278. if(response.data.msg[0].success =='true'){
  1279. MessageBox.alert('删除成功', '提示', {
  1280. confirmButtonText: '确定'
  1281. });
  1282. this.onSubmit();
  1283. }else{
  1284. MessageBox.alert('删除失败', '提示', {
  1285. confirmButtonText: '确定'
  1286. });
  1287. }
  1288. })
  1289. }
  1290. }
  1291. },
  1292. chooseStep(id){
  1293. for(let i=0;i<this.stepList.length;i++){
  1294. this.chosenStep= id;
  1295. if(id==this.stepList[i].id){
  1296. this.stepList[i].chosen = true;
  1297. }else{
  1298. this.stepList[i].chosen = false;
  1299. }
  1300. }
  1301. },
  1302. showDialog(item_code,situation_name,title){
  1303. if(item_code == '0'){
  1304. return;
  1305. }else{
  1306. console.log(situation_name,title);
  1307. this.dialog_item_title = title;
  1308. this.dialog_situation_title = situation_name;
  1309. this.dialogFormVisible = true;
  1310. this.$request({
  1311. url:'http://10.81.66.9:9250/ywtb/selectYwtbMatterGuide',
  1312. method:'post',
  1313. data:{
  1314. "YWBLXBM":item_code,
  1315. "appkey":localStorage.getItem("ywtb_userkeycode")
  1316. }
  1317. }).then(response => {
  1318. let dataArr = response.data.msg[0].Rows[0];
  1319. // console.log(dataArr);
  1320. this.fillDialogDetail(dataArr);
  1321. this.dialogFormVisible = true;
  1322. this.chooseStep('1');
  1323. })
  1324. }
  1325. },
  1326. fillDialogDetail(dataArr){
  1327. for(let index in dataArr){
  1328. for(let j =0;j<this.globalList.length;j++){
  1329. for(let i =0;i<this[this.globalList[j].name].length;i++){
  1330. if(index==this[this.globalList[j].name][i].code.toUpperCase()){
  1331. this[this.globalList[j].name][i].content = dataArr[index];
  1332. }
  1333. }
  1334. }
  1335. }
  1336. },
  1337. // 设置自动滚动
  1338. // autoRoll(stop) {
  1339. // if (stop) {
  1340. // clearInterval(rolltimer);
  1341. // return;
  1342. // }
  1343. // // 拿到表格挂载后的真实DOM
  1344. // const table = this.$refs.Table;
  1345. // // 拿到表格中承载数据的div元素
  1346. // const divData = table.bodyWrapper;
  1347. // // 拿到元素后,对元素进行定时增加距离顶部距离,实现滚动效果
  1348. // rolltimer = setInterval(() => {
  1349. // // 元素自增距离顶部像素
  1350. // divData.scrollTop += this.rollPx;
  1351. // // 判断元素是否滚动到底部(可视高度+距离顶部=整个高度)
  1352. // if (divData.clientHeight + divData.scrollTop == divData.scrollHeight) {
  1353. // // 重置table距离顶部距离
  1354. // divData.scrollTop = 0;
  1355. // }
  1356. // }, this.rollTime * 10);
  1357. // },
  1358. // 设置自动切换
  1359. // autoChange(stop) {
  1360. // if (stop) {
  1361. // clearInterval(changetimer);
  1362. // return;
  1363. // }
  1364. // changetimer = setInterval(() => {
  1365. // this.autoPlay = !this.autoPlay;
  1366. // this.autoRoll(true); // 先清除定时器
  1367. // this.autoRoll(); // 再开启定时器
  1368. // }, this.refreshTime * 1000);
  1369. // },
  1370. // 全部收起
  1371. toClose() {
  1372. if(this.DataMain.length !=0){
  1373. this.open = true
  1374. this.close = false
  1375. const elsopen = this.$el.getElementsByClassName('el-table__expand-icon--expanded')
  1376. if(this.$el.getElementsByClassName('el-table__expand-icon--expanded')){
  1377. for(let i=0;i<elsopen.length;i++){
  1378. elsopen[i].click()
  1379. }
  1380. }
  1381. }
  1382. },
  1383. ...mapMutations(['matterGuidanceRefresh','matterGuidance','matterGuidanceSingleChange'])
  1384. },
  1385. beforeDestroy(){ // 组件销毁前调用
  1386. clearInterval(rolltimer);
  1387. clearInterval(changetimer);
  1388. },
  1389. watch: {
  1390. dialogFormVisible: function (val) {
  1391. if(!val){
  1392. this.mouseLeave();//继续滚动
  1393. }
  1394. },
  1395. matterGuidanceObject(val){
  1396. this.unitChangeOrigion(val['matterGuidanceFirstLevel']);
  1397. this.typeChangeOrigion(val['matterGuidanceSecondLevel'])
  1398. this.selectChange();
  1399. this.onSubmitSearch();
  1400. },
  1401. }
  1402. }
  1403. </script>
  1404. <style scoped lang="scss">
  1405. #mainBody{
  1406. width: 100%;
  1407. height:100%;
  1408. display: flex;
  1409. overflow: hidden;
  1410. justify-content: space-between;
  1411. @media screen and (max-height: 980px) {
  1412. background: url("../../../assets/imgs/带手指低.png") no-repeat;
  1413. }
  1414. @media screen and (min-height: 980px) {
  1415. background: url("../../../assets/imgs/带手指高.png") no-repeat;
  1416. }
  1417. background-size: 100% !important;
  1418. .left{
  1419. width:2%;
  1420. padding-left: 0.55%;
  1421. padding-top: 70px;
  1422. height:100%;
  1423. display: flex;
  1424. flex-direction: column;
  1425. align-items: center;
  1426. .singleButton{
  1427. cursor: pointer;
  1428. width:34px;
  1429. height:144px;
  1430. border-radius: 4px;
  1431. border: none;
  1432. padding-top: 10px;
  1433. display: flex;
  1434. flex-direction: column;
  1435. flex-wrap: nowrap;
  1436. justify-content: center;
  1437. align-items: center;
  1438. font-size: 18px;
  1439. color: #25a9ee;
  1440. .little_span{
  1441. width:18px;
  1442. }
  1443. .little_active{
  1444. color: #fff;
  1445. }
  1446. }
  1447. .top_button{
  1448. background:url("../../../assets/imgs/住建委.png") no-repeat;
  1449. background-size: 100%;
  1450. }
  1451. .middle_button{
  1452. background:url("../../../assets/imgs/房管局.png") no-repeat;
  1453. background-size: 100%;
  1454. }
  1455. .singleButton:focus,
  1456. .singleButton:hover {
  1457. color: #fff;
  1458. }
  1459. }
  1460. .right{
  1461. width:100%;
  1462. height:100%;
  1463. .right_header{
  1464. width: 97%;
  1465. height: 12%;
  1466. display: flex;
  1467. flex-direction: row;
  1468. flex-wrap: nowrap;
  1469. justify-content: center;
  1470. align-items: center;
  1471. .botton_top_chosen{
  1472. width: 177px;
  1473. height: 44px;
  1474. color: #fdbf00;
  1475. font-size: 24px;
  1476. font-weight: bold;
  1477. font-family: 微软雅黑;
  1478. background:url("../../../assets/imgs/下载1.png") no-repeat;
  1479. background-size: 100%;
  1480. border-color: transparent;
  1481. text-align: center;
  1482. line-height: 44px;
  1483. cursor: pointer;
  1484. }
  1485. .botton_top:focus,
  1486. .botton_top:hover {
  1487. background:url("../../../assets/imgs/下载1.png") no-repeat;
  1488. background-size: 100%;
  1489. }
  1490. .botton_top {
  1491. width: 177px;
  1492. height: 44px;
  1493. color: #FFF;
  1494. font-size: 24px;
  1495. font-weight: bold;
  1496. font-family: 微软雅黑;
  1497. background:url("../../../assets/imgs/下载2.png") no-repeat;
  1498. background-size: 100%;
  1499. border-color: transparent;
  1500. text-align: center;
  1501. line-height: 44px;
  1502. cursor: pointer;
  1503. }
  1504. }
  1505. .right_content{
  1506. width: 96%;
  1507. padding-left: 2%;
  1508. height: 90%;
  1509. .table_num_div{
  1510. float: left;
  1511. padding:0px 10px 10px 0px;
  1512. span{
  1513. font-size: 18px;
  1514. color: #fff;
  1515. }
  1516. }
  1517. .table_header_div{
  1518. float: right;
  1519. padding:0px 10px 10px 0px;
  1520. .table_icon{
  1521. font-size: 20px;
  1522. padding:8px 10px
  1523. }
  1524. }
  1525. }
  1526. }
  1527. .guide_body{
  1528. color: #FFF;
  1529. .item_title{
  1530. font-size: 28px;
  1531. font-weight: normal;
  1532. }
  1533. .situation_title{
  1534. font-size: 18px;
  1535. font-weight: normal;
  1536. }
  1537. .step_menu{
  1538. width: 100%;
  1539. height: 80px;
  1540. display: flex;
  1541. flex-direction: column;
  1542. .step_top{
  1543. width: 100%;
  1544. height:40px;
  1545. display: flex;
  1546. flex-direction: row;
  1547. justify-content: center;
  1548. .single_step{
  1549. width: 4.15%;
  1550. height:100%;
  1551. display: flex;
  1552. justify-content: center;
  1553. align-items: center;
  1554. cursor: pointer;
  1555. .single_button{
  1556. border:1px solid #2c91cc;
  1557. width: 32px;
  1558. height: 32px;
  1559. border-radius: 16px;
  1560. display: flex;
  1561. justify-content: center;
  1562. align-items: center;
  1563. }
  1564. .single_button_active,.single_button:focus,.single_button:hover{
  1565. background-color: #02ade4;
  1566. }
  1567. }
  1568. .line{
  1569. width: 9%;
  1570. height:100%;
  1571. display: flex;
  1572. justify-content: center;
  1573. align-items: center;
  1574. }
  1575. }
  1576. .step_bottom{
  1577. width: 100%;
  1578. height:40px;
  1579. display: flex;
  1580. flex-direction: row;
  1581. justify-content: center;
  1582. align-items: center;
  1583. .single_title{
  1584. width: 13.15%;
  1585. display: flex;
  1586. justify-content: center;
  1587. align-items: center;
  1588. .single_remarks{
  1589. font-size: 18px;
  1590. }
  1591. }
  1592. .single_title_left{
  1593. width: 9%;
  1594. display: flex;
  1595. justify-content: flex-start;
  1596. align-items: center;
  1597. .single_remarks{
  1598. font-size: 18px;
  1599. }
  1600. }
  1601. .single_title_right{
  1602. width: 9%;
  1603. display: flex;
  1604. justify-content: flex-end;
  1605. align-items: center;
  1606. .single_remarks{
  1607. font-size: 18px;
  1608. }
  1609. }
  1610. }
  1611. }
  1612. .basic_info{
  1613. width: 100%;
  1614. height: 500px;
  1615. overflow-y:auto;
  1616. font-size: 14px;
  1617. .basic_table{
  1618. width: 100%;
  1619. border-color: #2c91cc;
  1620. margin: 10px 0 10px 0;
  1621. .basic_tr{
  1622. width: 100%;
  1623. height: 50px;
  1624. .td_title{
  1625. width: 15%;
  1626. background-color: rgb(5,30,94,0.85);
  1627. padding-left: 10px;
  1628. }
  1629. .td_content{
  1630. width: 35%;
  1631. }
  1632. .td_bottom_title{
  1633. background-color: rgb(5,30,94,0.85);
  1634. padding-left: 10px;
  1635. }
  1636. .td_bottom_content{
  1637. }
  1638. }
  1639. }
  1640. .step_info{
  1641. width: 100%;
  1642. height: 100%;
  1643. .single_sqlc{
  1644. display: flex;
  1645. flex-direction: column;
  1646. .sqlc_title{
  1647. height: 50px;
  1648. display: flex;
  1649. align-items: center;
  1650. }
  1651. .sqlc_content{
  1652. padding: 10px 20px 10px 20px;
  1653. }
  1654. }
  1655. }
  1656. }
  1657. }
  1658. ::v-deep .el-pagination {
  1659. padding-top: 20px;
  1660. float: right;
  1661. }
  1662. .wb_button{
  1663. color: rgb(0,128,255);
  1664. margin-left: 4px;
  1665. padding: 0px 8px 1px 8px;
  1666. background: rgb(0,128,255,0.2);
  1667. border: 1px solid #0080ff;
  1668. }
  1669. .qcwb_button{
  1670. color: rgb(255,255,0);
  1671. margin-left: 4px;
  1672. padding: 0px 8px 1px 8px;
  1673. background: rgb(255,255,0,0.2);
  1674. border: 1px solid #ffff00;
  1675. }
  1676. .hb_button{
  1677. color: rgb(255,105,0);
  1678. margin-left: 4px;
  1679. padding: 0px 8px 1px 8px;
  1680. background: rgb(255,105,0,0.2);
  1681. border: 1px solid #ff6900;
  1682. }
  1683. .kb_button{
  1684. color: rgb(0,255,0);
  1685. margin-left: 4px;
  1686. padding: 0px 8px 1px 8px;
  1687. background: rgb(0,255,0,0.2);
  1688. border: 1px solid #00ff00;
  1689. }
  1690. }
  1691. .guide_button{
  1692. cursor: pointer;
  1693. border: 1px solid #00d8ff;
  1694. padding-left: 10px;
  1695. padding-right: 10px;
  1696. border-radius: 3px;
  1697. }
  1698. .show_disable{
  1699. color: #87898a;
  1700. }
  1701. .right_content_info{
  1702. width: 100%;
  1703. height: 100%;
  1704. }
  1705. </style>