userCenterResourceSharing.vue 57 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042
  1. <template>
  2. <div style="width: 100%;background: #fff;min-height: 700px;color: #666;" class="userCenterResourceSharing">
  3. <div style="height: 60px;line-height: 60px;padding-top: 30px;margin-left: 30px;margin-right: 30px; border-bottom: 1px solid rgba(228, 228, 228, 1);">
  4. {{$t('common.myResourceSharing')}}
  5. </div>
  6. <!-- 模糊查询 -->
  7. <div style="width: 100%;height: 60px;line-height: 60px;padding: 0 30px;box-sizing: border-box" class="tableSearch">
  8. <div style="width: 300px;float: right;margin: 0 10px 0 0;">
  9. <el-input class="input-with-select"
  10. style="height: 40px;"
  11. :placeholder="$t('common.resourceInputName')"
  12. v-model="searchValue"
  13. maxlength="10"
  14. show-word-limit
  15. @change="getTableData">
  16. <el-button slot="append" icon="el-icon-search" @change="getTableData"></el-button>
  17. </el-input>
  18. </div>
  19. <div style="float: right;margin: 0 30px 0 0;">
  20. <span style="font-size: 16px;color: #5E5E5E;margin: 0 10px 0 0;">{{$t('common.resourceState')}}</span>
  21. <el-select v-model="selectValue" :placeholder="$t('common.EnterContent')" @change="selectChange">
  22. <el-option
  23. v-for="item in selectOptions"
  24. :label="$t(item.value)"
  25. :value="item">
  26. </el-option>
  27. </el-select>
  28. </div>
  29. <div style="clear: both;"></div>
  30. </div>
  31. <!-- 表格 -->
  32. <div style="width: 100%;padding: 0 30px;box-sizing: border-box;margin-top: 10px;">
  33. <el-table
  34. ref="singleTable"
  35. :data="tableData"
  36. highlight-current-row
  37. @current-change="tableChange"
  38. style="width: 100%">
  39. <template slot="empty">
  40. {{ $t('common.resourceData') }}
  41. </template>
  42. <el-table-column
  43. :label="$t('common.Name')"
  44. >
  45. <template slot-scope="scope">
  46. <span style="color: #1890FF;cursor: pointer;" class="threeLine" @click="toDetailDialog(scope.row)">{{ scope.row.name }}</span>
  47. </template>
  48. </el-table-column>
  49. <el-table-column
  50. :label="$t('common.ApplicationType')"
  51. width="160">
  52. <template slot-scope="scope">
  53. <span style="">{{$t(scope.row.reserveOneValue)}}</span>
  54. </template>
  55. </el-table-column>
  56. <el-table-column
  57. :label="$t('common.resourceState')"
  58. width="180">
  59. <template slot-scope="scope">
  60. <span style="">{{$t(scope.row.approveStatusValue)}}</span>
  61. </template>
  62. </el-table-column>
  63. <el-table-column
  64. :label="$t('common.ApplicationTime')"
  65. width="180">
  66. <template slot-scope="scope">
  67. <span style="">{{ scope.row.createDate }}</span>
  68. </template>
  69. </el-table-column>
  70. <el-table-column :label="$t('common.Option')">
  71. <template slot-scope="scope">
  72. <i class="el-icon-view"
  73. style="color: #1296db;font-size: 14px;margin: 0 10px;"
  74. @click="toApplyDialog(scope.row, scope.$index)"></i>
  75. <i class="el-icon-user-solid"
  76. style="color: #1296db;font-size: 14px;margin: 0 10px;"
  77. @click="toApplyListDialogChange(scope.row, scope.$index)"
  78. v-show="scope.row.approveStatus==3&&scope.row.reserveOne==1"></i>
  79. <i class="el-icon-delete"
  80. style="color: #1296db;font-size: 14px;margin: 0 10px;"
  81. @click="tableApplyDelete(scope.$index, scope.row)"
  82. v-show="scope.row.approveStatus !=3"></i>
  83. </template>
  84. </el-table-column>
  85. </el-table>
  86. </div>
  87. <!-- 表格分页 -->
  88. <div style="width: 100%;position: relative;height: 100px;margin-bottom: 30px;">
  89. <el-pagination
  90. background
  91. style="height: 80px;position: absolute;left: 50%;top: 100px;transform: translate(-50%,-50%);"
  92. :current-page="currentPage"
  93. :page-size="10"
  94. @current-change="pageChange"
  95. layout="prev, pager, next"
  96. :page-count="totalPage-0"
  97. ></el-pagination>
  98. </div>
  99. <!-- 详情dialog-->
  100. <el-dialog
  101. :title="$i18n.locale=='zh'?'资源发布申请详情':'Details of resource publication application'"
  102. center
  103. :visible.sync="detailDialog"
  104. width="1200px"
  105. class="detailDialog"
  106. :before-close="beforeClose">
  107. <div style="height: 80%;font-size: 16px;font-weight: 700">
  108. <div style="height: 60px;line-height: 60px;margin-left: 30px;margin-right: 30px; border-bottom: 1px solid rgba(228, 228, 228, 1);">
  109. <span>{{$i18n.locale=='zh'?'资源基本信息':'Basic resource information'}}</span>
  110. <!-- <span style="float: right;"><i class="el-icon-arrow-down" style="color: #00f;font-size: 30px;font-weight: 700"></i></span>-->
  111. </div>
  112. <div v-if="reserveOne==1" style="width: 100%;padding: 0 150px;box-sizing: border-box;font-size: 14px;font-weight: 400;margin-top: 30px;">
  113. <el-tabs v-model="editableTabsValue" type="card" closable>
  114. <el-tab-pane
  115. v-for="(item, index) in detailList"
  116. :key="item.language"
  117. :label="$t(item.languageIndex)"
  118. >
  119. <div style="width: 100%;;box-sizing: border-box">
  120. <!-- <el-form ref="form" :model="form" label-width="25%" class="formStyle"> -->
  121. <el-form ref="form" :model="form" label-width="25%">
  122. <!--图片-->
  123. <el-form-item :label="$t('common.resourceThePicture')">
  124. <div style="height: 80px;">
  125. <img :src="'api/file/pub/'+ item.researchResourcesMedia" alt="" style="width: 80px;height: 80px;margin-right: 10px">
  126. <!-- <img :src="'api/file/pub/'+ i" alt="" style="width: 80px;height: 80px;margin-right: 10px" v-for="i in item.researchResourcesMedia"> -->
  127. <div style="clear: both"></div>
  128. </div>
  129. <!-- <div style="height: 80px;padding: 0 15px">
  130. <span>{{$i18n.locale=='zh'?'暂无图片':'No pictures'}}</span>
  131. </div> -->
  132. </el-form-item>
  133. <!--名称-->
  134. <el-form-item :label="$t('common.resourceName')">
  135. <el-input :value="item.name" style="width: 320px;float: left;" disabled></el-input>
  136. </el-form-item>
  137. <!--所属单位-->
  138. <el-form-item :label="$t('common.resourceSubordinateUnits')">
  139. <el-input :value="item.affiliatedUnitName" style="width: 320px;float: left;" disabled></el-input>
  140. </el-form-item>
  141. <!--地址-->
  142. <el-form-item :label="$t('common.resourceAddress')">
  143. <el-input :value="item.address" style="width: 320px;float: left;" disabled></el-input>
  144. </el-form-item>
  145. <!--国家-->
  146. <el-form-item :label="$t('common.resourceCountries')">
  147. <el-input :value="item.country" style="width: 320px;float: left;" disabled></el-input>
  148. </el-form-item>
  149. <!--容纳人数-->
  150. <!--<el-form-item :label="$i18n.locale=='zh'?'容纳人数':'galleryful'">
  151. <el-input :value="item.a" style="width: 320px;float: left;" disabled></el-input>
  152. </el-form-item>-->
  153. <!--对接方式-->
  154. <el-form-item :label="$t('common.resourceDockingWay')">
  155. <el-input v-show="$i18n.locale=='zh'" :value="item.dockingMode=='dbwdj'?'本单位对接':'合作组织对接'" style="width: 320px;float: left;" disabled></el-input>
  156. <el-input v-show="$i18n.locale=='en'" :value="item.dockingMode=='dbwdj'?'This unit docking':'This unit docking'" style="width: 320px;float: left;" disabled></el-input>
  157. </el-form-item>
  158. <!--联系人-->
  159. <el-form-item :label="$t('common.resourceTheContact')">
  160. <el-input :value="item.contactsName" style="width: 320px;float: left;" disabled></el-input>
  161. </el-form-item>
  162. <!--联系电话-->
  163. <el-form-item :label="$t('common.resourceContactPhoneNumber')">
  164. <el-input :value="item.contactsNumber" style="width: 320px;float: left;" disabled></el-input>
  165. </el-form-item>
  166. <!--邮箱-->
  167. <el-form-item :label="$t('common.resourceEmail')">
  168. <el-input :value="item.contactsEmail" style="width: 320px;float: left;" disabled></el-input>
  169. </el-form-item>
  170. <!--详情介绍-->
  171. <el-form-item :label="$t('common.resourceDetailsAreIntroduced')" v-if="item.informationList">
  172. <div style="width: 80%;height: 200px;border: 1px solid rgba(204, 204, 204, 1);" v-if="item.informationList.length>0">
  173. <div style="width: 80px;height: 100%;float: left;border-right: 1px solid rgba(204, 204, 204, 1);">
  174. {{item.informationList[0].content}}
  175. </div>
  176. <div style="height: 100%;float: left;overflow: hidden;width: calc(100% - 82px);padding: 15px;box-sizing: border-box" v-html="item.informationList[0].content">
  177. </div>
  178. <div style="clear: both"></div>
  179. </div>
  180. <div style="width: 80%;height: 200px;border: 1px solid rgba(204, 204, 204, 1);margin-top: 20px;" v-if="item.informationList&&item.informationList.length>1">
  181. <div style="width: 80px;height: 100%;float: left;border-right: 1px solid rgba(204, 204, 204, 1);">
  182. {{item.informationList[1].content}}
  183. </div>
  184. <div style="height: 100%;float: left;overflow: hidden;width: calc(100% - 82px);padding: 15px;box-sizing: border-box" v-html="item.informationList[1].content">
  185. </div>
  186. <div style="clear: both"></div>
  187. </div>
  188. </el-form-item>
  189. <!--附件-->
  190. <!--<el-form-item :label="$t('common.resourceTheAttachment')">
  191. <el-input v-if="item.researchResultFile" :value="'api/file/pub'+item.researchResourcesFile" style="width: 320px;float: left;" disabled class="inputFile"></el-input>
  192. </el-form-item>-->
  193. <el-form-item style="margin-left: 30%">
  194. <el-button style="margin-right: 50px;" @click="beforeClose">{{$t('common.resourceCancel')}}</el-button>
  195. </el-form-item>
  196. </el-form>
  197. </div>
  198. </el-tab-pane>
  199. </el-tabs>
  200. <!--<div v-show="detailListLength==undefined||detailListLength==0" style="text-align: center;height: 60px;border-bottom: 1px solid #eee;border-top: 1px solid #eee;">
  201. <span v-if="$i18n.locale=='en'" style="line-height: 60px;">no data</span>
  202. <span v-else="$i18n.locale=='zh'" style="line-height: 60px;">暂无数据</span>
  203. </div>-->
  204. </div>
  205. <div v-else-if="reserveOne==0" style="width: 100%;padding: 0 150px;box-sizing: border-box;font-size: 14px;font-weight: 400;margin-top: 30px;">
  206. <el-tabs v-model="editableTabsValue" type="card" closable>
  207. <el-tab-pane
  208. v-for="(item, index) in detailList"
  209. :key="item.language"
  210. :label="$t(item.languageIndex)"
  211. >
  212. <div style="width: 100%;padding: 0 150px;box-sizing: border-box">
  213. <!-- <el-form ref="resultForm" :model="form" label-width="140px" class="formStyle"> -->
  214. <el-form ref="resultForm" :model="form" label-width="140px">
  215. <!--成果封面-->
  216. <el-form-item :label="$t('common.resourceResultsTheCover')">
  217. <div style="height: 60px;">
  218. <img :src="'api/file/pub/'+item.researchResultCover" alt="" style="width: 80px;height: 80px;margin-right: 10px">
  219. <div style="clear: both"></div>
  220. </div>
  221. </el-form-item>
  222. <!--名称-->
  223. <el-form-item :label="$t('common.resourceName')">
  224. <el-input :value="item.name" style="width: 320px;float: left;" disabled></el-input>
  225. </el-form-item>
  226. <!--所属单位-->
  227. <el-form-item :label="$t('common.resourceSubordinateUnits')">
  228. <el-input :value="item.affiliatedUnitName" style="width: 320px;float: left;" disabled></el-input>
  229. </el-form-item>
  230. <!--国家-->
  231. <el-form-item :label="$t('common.resourceCountries')">
  232. <el-input :value="item.country" style="width: 320px;float: left;" disabled></el-input>
  233. </el-form-item>
  234. <!--联系人-->
  235. <el-form-item :label="$t('common.resourceTheContact')">
  236. <el-input :value="item.contactsName" style="width: 320px;float: left;" disabled></el-input>
  237. </el-form-item>
  238. <!--联系电话-->
  239. <el-form-item :label="$t('common.resourceContactPhoneNumber')">
  240. <el-input :value="item.contactsNumber" style="width: 320px;float: left;" disabled></el-input>
  241. </el-form-item>
  242. <!--摘要-->
  243. <el-form-item :label="$t('common.resourceDetailsAbstract')">
  244. <el-input
  245. type="textarea"
  246. maxlength="500"
  247. show-word-limit
  248. rows="6"
  249. disabled
  250. class="inputTextarea"
  251. :value="item.researchResultAbstract"
  252. >
  253. </el-input>
  254. <!-- v-html="item.researchResultAbstract" -->
  255. </el-form-item>
  256. <!--附件-->
  257. <!--<el-form-item :label="$t('common.resourceTheAttachment')">
  258. <el-input v-if="item.researchResultFile" :value="'api/file/pub'+item.researchResultFile" style="width: 320px;float: left;" disabled class="inputFile"></el-input>
  259. <el-input v-else value="" style="width: 320px;float: left;" disabled class="inputFile"></el-input>
  260. </el-form-item>-->
  261. <el-form-item style="margin-left: 30%">
  262. <el-button style="margin-right: 50px;" @click="beforeClose">{{$t('common.resourceCancel')}}</el-button>
  263. </el-form-item>
  264. </el-form>
  265. </div>
  266. </el-tab-pane>
  267. </el-tabs>
  268. </div>
  269. </div>
  270. </el-dialog>
  271. <!-- 查看申请dialog-->
  272. <el-dialog
  273. :title="$i18n.locale=='zh'?'资源发布申请信息':'Resource release application information'"
  274. center
  275. :visible.sync="applyDialog"
  276. width="1200px"
  277. class="applyDialog">
  278. <div style="height: 80%;font-size: 16px;font-weight: 700">
  279. <div style="height: 60px;line-height: 60px;margin-left: 30px;margin-right: 30px; border-bottom: 1px solid rgba(228, 228, 228, 1);">
  280. {{$i18n.locale=='zh'?'资源发布申请结果':'Resource release application results'}}
  281. </div>
  282. <div style="width: 100%;padding: 0 50px;box-sizing: border-box;font-size: 14px;font-weight: 400;position: relative;">
  283. <div style="width: 100%;border-bottom: 1px dashed rgba(102,102,102,0.4);">
  284. <div style="width: 100px; height: 140px;float: left;">
  285. <div style="margin-top:20px;height: 100px;">
  286. <!-- <img src="" alt="" style="width: 100%;background-color: red;">-->
  287. <i class="el-icon-time" style="font-size: 100px;color: #3300FF"></i>
  288. </div>
  289. </div>
  290. <div style="float: left;width: 360px;height: 140px; margin-left: 60px;">
  291. <span style="font-size: 20px;font-weight: 700;color: #3300FF;margin: 20px 0 10px;display: block;">
  292. <span v-show="applyData.approveStatus==2">{{$i18n.locale=='zh'?'您的发布的资源审核中,请耐心等待...':'Please be patient while your release resources are reviewed...'}}</span>
  293. <span v-show="applyData.approveStatus==3">{{$i18n.locale=='zh'?'您的资源发布申请已通过!':'Your resource release application has been approved!'}}</span>
  294. <span v-show="applyData.approveStatus==4">{{$i18n.locale=='zh'?'您的资源发布申请未通过!':'Your resource publishing application was not approved!'}}</span>
  295. </span>
  296. <span style="font-size: 12px;font-weight: 400;color: #1296DB;margin: 5px 0 10px;display: block;">
  297. <span @click="toDetailDialog(applyData)" style="cursor: pointer;">{{$i18n.locale=='zh'?'查看申请详情':'View application details'}}</span>
  298. </span>
  299. <!-- <span style="font-size: 16px;font-weight: 400;color: #999999;margin: 5px 0 0;display: block;">
  300. <span v-show="applyData.approveStatus==4">{{$i18n.locale=='zh'?'未通过原因:涉及到敏感词':'Reason for not passing: involving sensitive words'}}</span>
  301. </span> -->
  302. </div>
  303. <div style="float: left;width: 289px;height: 140px; ">
  304. <span style="font-size: 16px;font-weight: 400;color: #999;margin: 20px 0 10px;display: block;">
  305. {{$i18n.locale=='zh'?'申请时间':'Application time'}}:{{applyData.createDate}}
  306. </span>
  307. </div>
  308. <div style="float: right;width: 118px;height: 140px;text-align: center">
  309. <span style="line-height: 140px;font-size: 16px;color: #1890FF;">
  310. <!-- {{$i18n.locale=='zh'?'快捷处理':'Resource release application results'}}-->
  311. </span>
  312. </div>
  313. <div style="clear: both;"></div>
  314. </div>
  315. <div class="old" v-show="applyDataOld">{{$i18n.locale=='zh'?'历史记录':'history'}}</div>
  316. <div v-for="item in applyDataOld">
  317. <div style="width: 100%;border-bottom: 1px dashed rgba(102,102,102,0.4);">
  318. <div style="width: 100px; height: 140px;float: left;">
  319. <div style="margin-top:20px;height: 100px;">
  320. <img src="../../../assets/img/ResourceSharing/u78920.png" alt="" style="width: 100%;background-color: red;">
  321. <!-- <i class="el-icon-time" style="font-size: 100px;color: #3300FF"></i>-->
  322. </div>
  323. </div>
  324. <div style="float: left;width: 360px;height: 140px; margin-left: 60px;">
  325. <span style="font-size: 20px;font-weight: 700;color: #3300FF;margin: 20px 0 10px;display: block;">
  326. <span v-show="item.approvalType==2">{{$i18n.locale=='zh'?'您的发布的资源审核中,请耐心等待...':'Please be patient while your release resources are reviewed...'}}</span>
  327. <span v-show="item.approvalType==3">{{$i18n.locale=='zh'?'您的资源发布申请已通过!':'Your resource release application has been approved!'}}</span>
  328. <span v-show="item.approvalType==4">{{$i18n.locale=='zh'?'您的资源发布申请未通过!':'Your resource publishing application was not approved!'}}</span>
  329. </span>
  330. <span style="font-size: 12px;font-weight: 400;color: #1296DB;margin: 5px 0 10px;display: block;">
  331. <span></span>
  332. </span>
  333. <span style="font-size: 16px;font-weight: 400;color: #999999;margin: 5px 0 0;display: block;">
  334. <span v-show="item.approvalType==4">{{$i18n.locale=='zh'?'未通过原因:':'Reason for not passing: '}}{{item.approvalMessage}}</span>
  335. <!-- <span v-show="item.approvalType==4">{{$i18n.locale=='zh'?'未通过原因:涉及到敏感词':'Reason for not passing: involving sensitive words'}}</span> -->
  336. </span>
  337. </div>
  338. <div style="float: left;width: 289px;height: 140px; ">
  339. <span style="font-size: 16px;font-weight: 400;color: #999;margin: 20px 0 10px;display: block;">
  340. {{$i18n.locale=='zh'?'申请时间':'Application time'}}:{{item.commitDate}}
  341. </span>
  342. </div>
  343. <div style="float: right;width: 118px;height: 140px;text-align: center">
  344. </div>
  345. <div style="clear: both;"></div>
  346. </div>
  347. </div>
  348. </div>
  349. </div>
  350. </el-dialog>
  351. <!-- 申请列表dialog-->
  352. <el-dialog
  353. :visible.sync="applyListDialog"
  354. width="1200px"
  355. class="applyListDialog">
  356. <div style="height: 80%;font-size: 14px;font-weight: 700">
  357. <!-- 模糊查询 -->
  358. <div style="line-height: 60px;margin-left: 30px;margin-right: 30px; border-bottom: 1px solid rgba(228, 228, 228, 1);">
  359. <div style="width: 100%;line-height: 60px;padding: 0;box-sizing: border-box">
  360. <div style="float: left;margin: 0 10px 0 0;">
  361. <span style="font-size: 14px;color: #5E5E5E;margin: 0 10px 0 0;line-height: 60px;">{{$i18n.locale=='zh'?'申请单位':'Employer name'}}:</span>
  362. <el-input :placeholder="$i18n.locale=='zh'?'请输入申请单位':'plese enter the employer name'" clearable v-model="searchFrom.affiliatedUnitName" class="input-with-select" style="height: 40px;width: 260px;"></el-input>
  363. </div>
  364. <div style="float: left;margin: 0 10px 0 0;height: 61px;" class="search">
  365. <span style="font-size: 14px;color: #5E5E5E;margin: 0 10px 0 0;">{{$i18n.locale=='zh'?'联系电话':'Contact phone'}}:</span>
  366. <el-input :placeholder="$i18n.locale=='zh'?'请输入联系电话':'Please enter the contact phone'" clearable v-model="searchFrom.contactsNumber" class="input-with-select" style="height: 40px;width: 260px;"></el-input>
  367. </div>
  368. <!-- <div style="float: left;margin: 0 10px 0 0;height: 61px;">
  369. <span style="font-size: 14px;color: #5E5E5E;margin: 0 10px 0 0;">{{$i18n.locale=='zh'?'参观时间':'Visit time'}}:</span>
  370. <el-date-picker
  371. v-model="value1"
  372. type="datetimerange"
  373. :range-separator="$i18n.locale=='zh'?'至':'to'"
  374. :start-placeholder="$i18n.locale=='zh'?'开始日期':'Start date'"
  375. :end-placeholder="$i18n.locale=='zh'?'结束日期':'End date'">
  376. </el-date-picker>
  377. </div> -->
  378. <div style="float: left;margin: 0 10px 0 0;height: 61px;" class="search">
  379. <el-button type="primary" @click="tableSearch()">{{$t('common.uquery')}}</el-button>
  380. </div>
  381. <div style="float: right;margin: 0 10px 0 0;height: 61px;">
  382. <!-- 导出-->
  383. <el-button size="mini" @click="tableExport()">{{$t('common.export')}}</el-button>
  384. <!-- 删除-->
  385. <el-button size="mini" type="danger" @click="tableDelete()">{{$t('common.delete')}}</el-button>
  386. </div>
  387. <div style="clear: both;"></div>
  388. </div>
  389. </div>
  390. <!-- 表格 -->
  391. <div style="width: 100%;padding: 0 30px;box-sizing: border-box;margin-top: 10px;font-size: 14px;">
  392. <el-table
  393. ref="singleTable"
  394. :data="tableList"
  395. highlight-current-row
  396. @selection-change ="selectionChange"
  397. :header-cell-style="{textAlign: 'center'}"
  398. :cell-style="{ textAlign: 'center' }"
  399. style="width: 100%">
  400. <template slot="empty">
  401. {{ $t('common.resourceData') }}
  402. </template>
  403. <el-table-column
  404. type="selection"
  405. width="55">
  406. </el-table-column>
  407. <el-table-column
  408. :label="$i18n.locale=='zh'?'申请单位':'Employer name'"
  409. width="130">
  410. <template slot-scope="scope">
  411. <span style="color: #1890FF;cursor: pointer;" @click="tableDetail(scope.row)">{{ scope.row.affiliatedUnitName }}</span>
  412. </template>
  413. </el-table-column>
  414. <el-table-column
  415. :label="$i18n.locale=='zh'?'参观时间':'Visit time'"
  416. width="200">
  417. <template slot-scope="scope">
  418. <span >{{ scope.row.startDateOfVisitors }}--{{ scope.row.endDateOfVisitors }}</span>
  419. </template>
  420. </el-table-column>
  421. <el-table-column
  422. property="numberOfVisitors"
  423. :label="$i18n.locale=='zh'?'参观人数':'Attendance'"
  424. width="130">
  425. <!-- <template slot-scope="scope">
  426. <span style="color: #1890FF;cursor: pointer;" @click="toDetailDialog(scope.row)">{{ scope.row.numberOfVisitors }}</span>
  427. </template> -->
  428. </el-table-column>
  429. <el-table-column
  430. property="contactsName"
  431. :label="$i18n.locale=='zh'?'联系人':'Contact person'">
  432. <!-- <template slot-scope="scope">
  433. <span style="color: #1890FF;cursor: pointer;" @click="toDetailDialog(scope.row)">{{ scope.row.contactsName }}</span>
  434. </template> -->
  435. </el-table-column>
  436. <el-table-column
  437. property="contactsNumber"
  438. :label="$i18n.locale=='zh'?'联系电话':'Contact phone'">
  439. <!-- <template slot-scope="scope">
  440. <span style="color: #1890FF;cursor: pointer;" @click="toDetailDialog(scope.row)">{{ scope.row.contactsNumber }}</span>
  441. </template> -->
  442. </el-table-column>
  443. <el-table-column
  444. property="contactsEmail"
  445. :label="$i18n.locale=='zh'?'邮箱':'Email'">
  446. <!-- <template slot-scope="scope">
  447. <span style="color: #1890FF;cursor: pointer;" @click="toDetailDialog(scope.row)">{{ scope.row.contactsEmail }}</span>
  448. </template> -->
  449. </el-table-column>
  450. <!-- <el-table-column
  451. property="otherInstructions"
  452. :label="$i18n.locale=='zh'?'其他说明':'Other instructions'"
  453. width="200">
  454. </el-table-column> -->
  455. </el-table>
  456. </div>
  457. <!-- 表格分页 -->
  458. <div v-if="listtotalPage >0" style="width: 100%;position: relative;height: 100px;">
  459. <el-pagination
  460. background
  461. style="height: 80px;position: absolute;right:0;top: 100px;transform: translate(-50%,-50%);"
  462. :current-page="listcurrentPage"
  463. :page-sizes="[6, 12, 18, 24]"
  464. :page-size="1"
  465. @current-change="listpageChange"
  466. layout="prev, pager, next"
  467. :total="listtotalPage-0"
  468. ></el-pagination>
  469. </div>
  470. </div>
  471. <span slot="footer" class="dialog-footer">
  472. <el-button @click="applyListDialog = false">{{$i18n.locale=='zh'?'取消':'Cancel'}}</el-button>
  473. </span>
  474. </el-dialog>
  475. <!-- 申请列表详情 -->
  476. <el-dialog :visible.sync="applyListDetailDialog" width="1200px">
  477. <div class="apply">
  478. <el-form :model="applyFrom" label-width="140px">
  479. <el-form-item :label="$t('common.resourceAttendance')">
  480. <el-input v-model="applyFrom.numberOfVisitors" style="width: 40%;" disabled>
  481. </el-input>
  482. </el-form-item>
  483. <el-form-item :label="$t('common.resourceVisitTime')">
  484. <el-input v-model="applyFrom.data" style="width: 40%;" disabled>
  485. </el-input>
  486. </el-form-item>
  487. <el-form-item :label="$t('common.resourceTheContact')" >
  488. <el-input v-model="applyFrom.contactsName" style="width: 95%;" disabled></el-input>
  489. </el-form-item>
  490. <el-form-item :label="$t('common.resourceToApplyForTheUnit')" >
  491. <el-input v-model="applyFrom.affiliatedUnitName" style="width: 95%;" disabled></el-input>
  492. </el-form-item>
  493. <el-form-item :label="$t('common.resourceContactPhoneNumber')" >
  494. <el-input v-model="applyFrom.contactsNumber" style="width: 95%;" disabled></el-input>
  495. </el-form-item>
  496. <el-form-item :label="$t('common.resourceEmail')" >
  497. <el-input v-model="applyFrom.contactsEmail" style="width: 95%;" disabled></el-input>
  498. </el-form-item>
  499. <el-form-item :label="$t('common.resourceOtherInstructions')">
  500. <el-input disabled type="textarea" v-model="applyFrom.otherInstructions" style="width: 95%;" rows="6" disabled>
  501. </el-input>
  502. </el-form-item>
  503. </el-form>
  504. </div>
  505. <span slot="footer" class="dialog-footer">
  506. <el-button @click="applyListDetailDialog = false">{{$t('common.resourceCancel')}}</el-button>
  507. </span>
  508. </el-dialog>
  509. </div>
  510. </template>
  511. <script>
  512. import Base from "@/views/base/Base"
  513. import {getDicts} from '@/api/dict';
  514. import {getAllEntityByUserCenter,deleteOr} from '@/api/research/baseResearchResultEntity';
  515. import {getBaseResearchResultViews, gateResearchResultViewById,gateResearchResultFileById } from "@/api/research/baseResearchResultView";
  516. import { gateResearchResourcesViewById ,getBaseResearchResourcesViews} from "@/api/research/resource/baseResearchResourcesView";
  517. import { getBaseResearchApplications,del,downloadResearchApplication } from "@/api/research/resource/baseResearchApplication";
  518. import { getInfosByEntityId} from "@/api/research/baseResearchResultEntity";
  519. import { getReleaseStatus } from "@/api/project/baseProjectView";
  520. import { getTreeByLanguagePortal } from "@/api/operation/baseCityInformationDict";
  521. import {formatDate} from "@/utils/formatUtils";
  522. export default {
  523. name: 'userCenterResourceSharing',
  524. extends: Base,
  525. data() {
  526. return {
  527. params:{
  528. pageNo:'',
  529. pageSize:'',
  530. language:'',
  531. },
  532. languageList:[
  533. {
  534. label: "common.Chinese",
  535. name: '1',
  536. value: 'ZH',
  537. },
  538. {
  539. label: 'common.English',
  540. name: '2',
  541. value: 'EN',
  542. },
  543. ],
  544. countryList:[],
  545. //搜索
  546. searchValue: '',
  547. searchFrom:{
  548. affiliatedUnitName:'',
  549. contactsNumber:''
  550. },
  551. //选择
  552. selectValue: '',
  553. selectOptions: [
  554. {
  555. value:'common.All',
  556. approveStatus: 0,
  557. label: '全部'
  558. },
  559. {
  560. value:'common.resourcePending',
  561. approveStatus: 2,
  562. label: '待审批'
  563. },
  564. {
  565. value:'common.resourceTrough',
  566. approveStatus: 3,
  567. label: '已通过'
  568. },
  569. {
  570. value:'common.resourceUnfinished',
  571. approveStatus: 4,
  572. label: '未通过'
  573. },
  574. ],
  575. //表格
  576. tableData: [],
  577. currentRow: null,
  578. //分页
  579. currentPage: 1,
  580. totalPage:'',
  581. listcurrentPage: 1,
  582. listtotalPage:'',
  583. entityId:'',
  584. //详情dialog
  585. detailDialog:false,
  586. editableTabsValue:'0',
  587. reserveOne:'',
  588. detailList:[],
  589. detailListLength:'',
  590. form:{},
  591. bannerImg:[],
  592. //查看申请dialog
  593. applyDialog:false,
  594. applyData:'',
  595. applyDataOld:'',
  596. //申请列表dialog
  597. applyListDialog:false,
  598. tableList:[],
  599. value1:'',
  600. multipleSelection:[],//调研资源申请列表选择
  601. applyListDetailDialog:false,
  602. applyFrom:{},//申请详情
  603. }
  604. },
  605. watch: {
  606. '$i18n.locale'() {
  607. this.getDicts()
  608. this.getTableData()
  609. },
  610. // 'selectValue'(){
  611. // this.getTableData()
  612. // }
  613. },
  614. mounted() {
  615. this.getDicts()
  616. this.getTableData()
  617. },
  618. methods: {
  619. //字典
  620. async getDicts() {
  621. if (this.$i18n.locale === 'zh') {
  622. getDicts("APPROVE_STATUS_DICT,MEMBER_APPLY_PHASE_DICT,SERVICE_TYPE_DICT,SERVICE_CHILD_TYPE_DICT,SUPPORT_WAY_DICT,CUSTOM_SERVICE_STATUS,MEMBER_APPLY_AUDIT_STATUS_DICT").then(result => {
  623. if (result.data) {
  624. this.memberApplyStatus = result.data[0];
  625. this.phaseDicts = result.data[1];
  626. this.serviceTypeDicts = result.data[2];
  627. this.childTypeDicts = result.data[3];
  628. this.supportWayDicts = result.data[4]
  629. this.statusDicts = result.data[5] || []
  630. this.auditStatusDicts = result.data[6] || []
  631. this.statusDicts.forEach((item,index) =>{
  632. if(index === 1){
  633. item.label = '待审核'
  634. }else if(index === 0){
  635. item.label = '待审核'
  636. }
  637. });
  638. // this.getinitData(this.taberIndex)
  639. // this.getTableData(this.taberIndex)
  640. }
  641. });
  642. } else {
  643. getDicts("APPROVE_STATUS_DICT_EN,MEMBER_APPLY_PHASE_DICT,SERVICE_TYPE_DICT_EN,SERVICE_CHILD_TYPE_DICT_EN,SUPPORT_WAY_DICT_EN").then(result => {
  644. if (result.data) {
  645. this.memberApplyStatus = result.data[0];
  646. this.phaseDicts = result.data[1];
  647. this.serviceTypeDicts = result.data[2];
  648. this.childTypeDicts = result.data[3];
  649. this.supportWayDicts = result.data[4]
  650. // this.getinitData(this.taberIndex)
  651. // this.getTableData(this.taberIndex)
  652. }
  653. });
  654. }
  655. await getTreeByLanguagePortal(this.$i18n.locale.toUpperCase()).then(result => {
  656. if (result.data) {
  657. let values = Object.values(result.data);
  658. this.countryList = values;
  659. }
  660. })
  661. /*await getDicts(
  662. "LANGUAGE_DICT"
  663. ).then(result => {
  664. if (result.data) {
  665. this.languageList = result.data[0] || [];
  666. }
  667. })*/
  668. },
  669. //资源状态选择框事件
  670. selectChange(){
  671. this.currentPage = 1
  672. this.getTableData()
  673. },
  674. //Data
  675. getTableData(){
  676. const that = this;
  677. let params;
  678. params = {
  679. pageNo:this.currentPage,
  680. pageSize:10,
  681. language:'',
  682. createBy:'',
  683. name:that.searchValue?that.searchValue:'',
  684. approveStatus:that.selectValue?(that.selectValue.approveStatus==0?'':that.selectValue.approveStatus):''
  685. }
  686. if (this.$i18n.locale.toUpperCase() == 'ZH') {
  687. params.language = 'ZH';
  688. } else if (this.$i18n.locale.toUpperCase() == 'EN') {
  689. params.language = 'EN';
  690. }
  691. let createBy = window.localStorage.getItem("user");
  692. params.createBy = JSON.parse(createBy).userId;
  693. getAllEntityByUserCenter(params).then((res)=>{
  694. that.tableData = res.data.allEntity;
  695. that.totalPage = res.data.page.totalPage;
  696. that.tableData.forEach((i)=>{
  697. if(i.approveStatus==2){
  698. i.approveStatusValue = 'common.resourcePending'
  699. }else if(i.approveStatus==3){
  700. i.approveStatusValue = 'common.resourceTrough'
  701. }else if(i.approveStatus==4){
  702. i.approveStatusValue = 'common.resourceUnfinished'
  703. }
  704. if(i.reserveOne==0){
  705. i.reserveOneValue = "common.resource"
  706. }else if(i.reserveOne==1){
  707. i.reserveOneValue = "common.researchResource"
  708. }
  709. i.createDate = i.createDate ? formatDate(i.createDate, "YYYY-MM-DD") : "";
  710. })
  711. })
  712. },
  713. //资源共享删除
  714. tableApplyDelete(index, row){
  715. this.$confirm(this.$i18n.locale.toUpperCase() == 'ZH' ?'确定删除该记录吗?':'Are you sure to delete this record?',
  716. this.$i18n.locale.toUpperCase() == 'ZH' ? '提示':'message', {
  717. confirmButtonText: this.$i18n.locale.toUpperCase() == 'ZH' ?'确定':'OK',
  718. cancelButtonText: this.$i18n.locale.toUpperCase() == 'ZH' ?'取消':'Cancel',
  719. type: 'warning'
  720. }).then(() => {
  721. deleteOr(row.entityId,row.reserveOne).then(res =>{
  722. if(res.data){
  723. this.$message({
  724. message: this.$i18n.locale.toUpperCase() == 'ZH' ?'删除成功!':'successfully delete!',
  725. type: 'success'
  726. });
  727. }else{
  728. this.$message({
  729. message: this.$i18n.locale.toUpperCase() == 'ZH' ?'删除失败!':'failure delete!',
  730. type: 'warning'
  731. });
  732. }
  733. this.getTableData()
  734. })
  735. }).catch(() => {
  736. this.$message({
  737. type: 'info',
  738. message: this.$i18n.locale.toUpperCase() == 'ZH' ?'已取消删除':'Cancelled Delete'
  739. });
  740. });
  741. },
  742. //资源共享删除
  743. // tableApplyDelete(index, row){
  744. // deleteOr(row.entityId,row.reserveOne).then(res =>{
  745. // if(res.data){
  746. // this.$message({
  747. // message: this.$i18n.locale.toUpperCase() == 'ZH' ?'删除成功!':'successfully delete!',
  748. // type: 'success'
  749. // });
  750. // }else{
  751. // this.$message({
  752. // message: this.$i18n.locale.toUpperCase() == 'ZH' ?'删除失败!':'failure delete!',
  753. // type: 'warning'
  754. // });
  755. // }
  756. // this.getTableData()
  757. // })
  758. // },
  759. //表格
  760. tableChange(val) {
  761. this.currentRow = val;
  762. },
  763. selectionChange(row){
  764. this.multipleSelection =[]
  765. if(row.length > 0){
  766. row.forEach((i) =>{
  767. this.multipleSelection.push(i.id)
  768. })
  769. }
  770. },
  771. //调研申请表格查询
  772. tableSearch(){
  773. this.toApplyListDialog(this.entityId)
  774. },
  775. //调研申请表格导出
  776. tableExport(){
  777. let param ={
  778. affiliatedUnitName:this.searchFrom.affiliatedUnitName,
  779. contactsNumber:this.searchFrom.contactsNumber,
  780. pageNo: this.listcurrentPage,
  781. pageSize: 10,
  782. researchResourcesEntityId: this.entityId.entityId,
  783. language:this.$i18n.locale.toUpperCase(),
  784. }
  785. downloadResearchApplication(param).then(response =>{
  786. let blob = new Blob([response.data],{type:"application/vnd.ms-excel"});
  787. let objectURL = URL.createObjectURL(blob);
  788. const a = document.createElement('a');
  789. document.body.appendChild(a);
  790. a.setAttribute('style', 'display:none');
  791. a.setAttribute('href', objectURL);
  792. a.setAttribute('download', decodeURIComponent(response.fileName));
  793. a.click();
  794. URL.revokeObjectURL(objectURL);
  795. })
  796. },
  797. //调研申请表格详情
  798. tableDetail(row) {
  799. this.applyFrom = row
  800. this.applyFrom.data = row.startDateOfVisitors +' -- '+ row.endDateOfVisitors
  801. this.applyListDetailDialog = true
  802. },
  803. //调研申请表格删除
  804. tableDelete() {
  805. if(this.multipleSelection.length > 0){
  806. this.$confirm(this.$i18n.locale.toUpperCase() == 'ZH' ?'确定删除该记录吗?':'Are you sure to delete this record?',
  807. this.$i18n.locale.toUpperCase() == 'ZH' ? '提示':'message', {
  808. confirmButtonText: this.$i18n.locale.toUpperCase() == 'ZH' ?'确定':'OK',
  809. cancelButtonText: this.$i18n.locale.toUpperCase() == 'ZH' ?'取消':'Cancel',
  810. type: 'warning'
  811. }).then(() => {
  812. del(this.multipleSelection).then(res => {
  813. if(res.status === '200'){
  814. this.$message({
  815. type: 'success',
  816. message: this.$i18n.locale.toUpperCase() == 'ZH' ?'删除成功!':'successfully delete!'
  817. })
  818. }
  819. })
  820. this.toApplyListDialog(this.entityId)
  821. }).catch(() => {
  822. this.$message({
  823. type: 'info',
  824. message: this.$i18n.locale.toUpperCase() == 'ZH' ?'已取消删除':'Cancelled Delete'
  825. });
  826. });
  827. }else{
  828. this.$message({type: 'warning',message: this.$i18n.locale.toUpperCase() == 'ZH' ?'请选择数据':'Please Select Data'});
  829. }
  830. },
  831. //表格分页
  832. pageChange(val) {
  833. this.currentPage = val;
  834. this.params.pageNo = val;
  835. this.getTableData();
  836. },
  837. listpageChange(val) {
  838. this.listcurrentPage = val;
  839. this.toApplyListDialog(this.entityId);
  840. },
  841. //详情dialog
  842. async toDetailDialog(ele,index){
  843. const that = this;
  844. this.detailDialog = true;
  845. that.reserveOne = ele.reserveOne;
  846. if(ele.reserveOne==0){
  847. let param = {
  848. id:ele.entityId,
  849. reserveOne:ele.reserveOne,
  850. };
  851. await getInfosByEntityId(param).then((resulet) => {
  852. let data = resulet.data;
  853. if (data.baseResearchResultInfos) {
  854. that.detailList = data.baseResearchResultInfos;
  855. that.detailList.forEach((i)=>{
  856. i.updateDate = i.updateDate ? formatDate(i.updateDate, "YYYY-MM-DD") : "";
  857. })
  858. }
  859. });
  860. }
  861. if(ele.reserveOne==1){
  862. let param = {
  863. id:ele.entityId,
  864. reserveOne:ele.reserveOne,
  865. };
  866. await getInfosByEntityId(param).then((resulet) => {
  867. let data = resulet.data;
  868. if (data.baseResearchResourcesInfos) {
  869. that.detailList = data.baseResearchResourcesInfos;
  870. that.detailList.forEach((i)=>{
  871. i.updateDate = i.updateDate ? formatDate(i.updateDate, "YYYY-MM-DD") : "";
  872. // if(i.researchResourcesMedia&&i.researchResourcesMedia!='null'&&i.researchResourcesMedia!=null){
  873. // that.bannerImg = i.researchResourcesMedia.split(',')
  874. // }
  875. // for(let i=0;i<that.bannerImg.length;i++){
  876. // that.bannerImg[i] = that.bannerImg[i].replace(' ','')
  877. // }
  878. // i.researchResourcesMedia = JSON.parse(JSON.stringify(that.bannerImg))
  879. })
  880. }
  881. });
  882. }
  883. if(that.detailList.length!=0||that.detailList.length!=undefined){
  884. that.detailList.forEach((i)=>{
  885. if(i.language=='ZH'){
  886. that.$set(i,'languageIndex','common.Chinese')
  887. }else{
  888. that.$set(i,'languageIndex','common.English')
  889. }
  890. })
  891. }
  892. if(that.detailList.length!=0||that.detailList.length!=undefined){
  893. for(let i=0;i<that.detailList.length;i++){
  894. that.countryList.forEach((o)=>{
  895. if(that.detailList[i].continent==o.value){
  896. for(let j=0;j<o.data.length;j++){
  897. if(that.detailList[i].country==o.data[j].value){
  898. that.detailList[i].country=o.data[j].label;
  899. }
  900. }
  901. }
  902. })
  903. }
  904. }
  905. },
  906. beforeClose(done){
  907. this.detailList = []
  908. this.detailDialog=false
  909. done()
  910. },
  911. //查看申请dialog
  912. toApplyDialog(ele){
  913. const that = this;
  914. that.applyDataOld = ''
  915. that.applyData = ele;
  916. this.applyDialog = true;
  917. let params = {
  918. baseEntityName:'',
  919. baseEntityId:ele.entityId,
  920. }
  921. if(ele.reserveOne==0){
  922. params.baseEntityName = ''
  923. }else{
  924. params.baseEntityName = 'baseResearchResources'
  925. }
  926. getReleaseStatus(params).then((res)=>{
  927. console.log(res.data,'res.data.baseApprovalMessages')
  928. that.applyDataOld = res.data.baseApprovalMessages;
  929. that.applyDataOld.forEach((i)=>{
  930. i.commitDate = i.commitDate ? formatDate(i.commitDate, "YYYY-MM-DD") : "";
  931. })
  932. })
  933. },
  934. //申请列表dialog
  935. toApplyListDialogChange(ele,index){
  936. this.searchFrom = {
  937. affiliatedUnitName: '',
  938. contactsNumber: '',
  939. }
  940. this.toApplyListDialog(ele)
  941. },
  942. //申请列表dialog数据
  943. toApplyListDialog(ele,index){
  944. this.applyListDialog = true;
  945. const that = this;
  946. that.tableList = [];
  947. that.listtotalPage = 0;
  948. that.entityId = ele;
  949. let param = {
  950. researchResourcesEntityId:ele.entityId,
  951. pageNo:that.listcurrentPage,
  952. pageSize:10,
  953. affiliatedUnitName:that.searchFrom.affiliatedUnitName,
  954. contactsNumber:that.searchFrom.contactsNumber,
  955. };
  956. getBaseResearchApplications(param).then((resulet) => {
  957. let data = resulet.data;
  958. if (data.baseResearchApplications) {
  959. that.tableList = data.baseResearchApplications;
  960. that.tableList.forEach((i)=>{
  961. i.createDate = i.createDate ? formatDate(i.createDate, "YYYY-MM-DD") : "";
  962. i.startDateOfVisitors = i.startDateOfVisitors ? formatDate(i.startDateOfVisitors, "YYYY-MM-DD") : "";
  963. i.endDateOfVisitors = i.endDateOfVisitors ? formatDate(i.endDateOfVisitors, "YYYY-MM-DD") : "";
  964. })
  965. this.listtotalPage = resulet.data.page.totalPage;
  966. }
  967. });
  968. },
  969. //跳转详情
  970. toDetail(){
  971. },
  972. toView(router,json){
  973. this.$router.push({name:router,params:{key:json}})
  974. },
  975. }
  976. }
  977. </script>
  978. <style scoped>
  979. .threeLine {
  980. overflow: hidden ;
  981. text-overflow: ellipsis ;
  982. display: -webkit-box ;
  983. -webkit-line-clamp: 3 ;
  984. -webkit-box-orient: vertical ;
  985. }
  986. .oneLine{
  987. /* 隐藏溢出元素 */
  988. overflow: hidden;
  989. /* 单行显示 */
  990. white-space: nowrap;
  991. /* 溢出显示省略号 */
  992. text-overflow: ellipsis;
  993. }
  994. </style>
  995. <style>
  996. .tableSearch .el-input__inner{
  997. height: 40px;
  998. }
  999. .detailDialog .el-input__inner{
  1000. height: 40px;
  1001. }
  1002. .detailDialog .formStyle .el-input__inner{
  1003. border: none;
  1004. background-color: white;
  1005. color: #606266;
  1006. cursor: text;
  1007. }
  1008. .detailDialog .formStyle .inputTextarea .el-textarea__inner{
  1009. border: none;
  1010. background-color: white;
  1011. color: #606266;
  1012. cursor: text;
  1013. }
  1014. .detailDialog .formStyle .inputFile .el-input__inner{
  1015. color: #1890FF;
  1016. }
  1017. .applyDialog .old{
  1018. position: absolute;
  1019. top: 131px;
  1020. width: 60px;
  1021. height: 20px;
  1022. background-color: white;
  1023. display: block;
  1024. }
  1025. .applyListDialog .search .el-input-group{
  1026. width: 70%;
  1027. }
  1028. </style>