project.vue 46 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441
  1. <template>
  2. <view class="m_right">
  3. <image src="../../../assets/home/homeBG.png" class="s_logo" mode=""></image>
  4. <view class="m_right_container">
  5. <view class="m_row_class">
  6. <view class="m_row">
  7. <view class="m_row_link">
  8. </view>
  9. <view class="m_row_title" v-text="'项目管理'">
  10. </view>
  11. <view style="position: relative;margin-left: 40rpx;">
  12. <div class="triangle_border_down">
  13. <span></span>
  14. </div>
  15. </view>
  16. </view>
  17. <table style="width: 100%;border: 1px solid #DDDDDD;border-collapse: collapse">
  18. <thead class="m-table-hander">
  19. <tr>
  20. <th>名称</th>
  21. <th>类型</th>
  22. <th>介绍</th>
  23. <th>创始人</th>
  24. <th>修改</th>
  25. <th>删除</th>
  26. </tr>
  27. </thead>
  28. <!-- <tbody class='table'> -->
  29. <tbody>
  30. <tr v-for="(item,index) in projectData" :key="index">
  31. <!-- <t-table @change="change">
  32. <t-tr> </t-tr>
  33. <t-tr>{{item.ProjectName}}</t-tr>
  34. <t-tr>{{item.Type}}</t-tr>
  35. <t-tr>{{item.Describe}}</t-tr>
  36. <t-tr>{{item.CreateUserName}}</t-tr>
  37. <t-tr style="position: relative;"><button type="default" size="mini" @click="edit(index)" class="m_edit">修改</button></t-tr>
  38. <t-tr style="position: relative;"><button type="default" size="mini" @click="delete1(index)" class="m_delete">删除</button></t-tr>
  39. </t-table> -->
  40. <th>{{item.ProjectName}}</th>
  41. <th>{{item.Type}}</th>
  42. <th>{{item.Describe}}</th>
  43. <th>{{item.CreateUserName}}</th>
  44. <th style="position: relative;"><button type="default" size="mini" @click="editProject(index)" class="m_edit">修改</button></th>
  45. <th style="position: relative;"><button type="default" size="mini" @click="deleteProject(index)" class="m_delete">删除</button></th>
  46. <!-- <th class='blank'><input type="text" :value='item.ProjectName' class='input-item'/></th>
  47. <th class='blank'><input type="text" :value='item.Type' class='input-item'/></th>
  48. <th class='blank'><input type="text" :value='item.Type' class='input-item'/></th>
  49. <th class='blank'><input type="text" :value='item.CreateUserName' class='input-item'/></th>
  50. <th style="position:relative;" class='blank'><button type="default" size="mini" @click="editProject(index)" class="m_edit">修改</button></th>
  51. <th style="position:relative;" class='blank'><button type="default" size="mini" @click="deleteProject(index)" class="m_delete">删除</button></th>
  52. -->
  53. </tr>
  54. </tbody>
  55. </table>
  56. </view>
  57. <view class="m_row_class">
  58. <view class="" style="display: flex;justify-content: space-between;">
  59. <view class="m_row">
  60. <view class="m_row_link">
  61. </view>
  62. <view class="m_row_title" v-text="'文件管理'">
  63. </view>
  64. <view style="position: relative;margin-left: 40rpx;">
  65. <div class="triangle_border_down">
  66. <span></span>
  67. </div>
  68. </view>
  69. </view>
  70. <view class="">
  71. <button type="default" class="m_btn_download" size="mini" @click="onClick_addFile">添加文件</button>
  72. </view>
  73. </view>
  74. <table style="width: 100%;border: 1px solid #DDDDDD;border-collapse: collapse">
  75. <thead class="m-table-hander">
  76. <tr>
  77. <th>文件</th>
  78. <th>文件名</th>
  79. <th>文件类型</th>
  80. <th>上传人</th>
  81. <th>上传日期</th>
  82. <th>下载</th>
  83. <th>删除</th>
  84. <th>审核</th>
  85. <th>审核状态</th>
  86. </tr>
  87. </thead>
  88. <tbody>
  89. <tr v-for="(item,index) in fileData" :key="index">
  90. <th>{{index+1}}</th>
  91. <th>{{item.Name}}</th>
  92. <th>{{item.Type}}</th>
  93. <th>{{item.UploadUserName}}</th>
  94. <th>{{item.UPloadTime.substring(0,9)}}</th>
  95. <th style="position: relative;"><button type="default" size="mini" @click="download(index,item)" class="m_edit">下载</button></th>
  96. <th style="position: relative;"><button type="default" size="mini" @click="deleteFile(index,item)" class="m_delete">删除</button></th>
  97. <th style="position: relative;"><button type="default" size="mini" @click="audit(index,item)" class="m_audit">审核</button></th>
  98. <th>{{getShenheText(item.Pass)}}</th>
  99. </tr>
  100. </tbody>
  101. </table>
  102. </view>
  103. <view class="m_row_class">
  104. <view class="" style="display: flex;justify-content: space-between;">
  105. <view class="m_row">
  106. <view class="m_row_link">
  107. </view>
  108. <view class="m_row_title" v-text="'成员管理'">
  109. </view>
  110. <view style="position: relative;margin-left: 40rpx;">
  111. <div class="triangle_border_down">
  112. <span></span>
  113. </div>
  114. </view>
  115. </view>
  116. <view class="">
  117. <button type="default" class="m_btn_download" size="mini" @click="addMember">添加学生</button>
  118. </view>
  119. </view>
  120. <!--<view class="df fdr aic addMember_box showboder" v-show="isShowAddMember">-->
  121. <!--<view class="addMember_input_box">-->
  122. <!--<input class="addMember_input" type="string" v-model="addedMemberModel.IlabAccount" />-->
  123. <!--</view>-->
  124. <!--<view class="addMember_btn df aic jcc" @click="addMemberData">添加</view>-->
  125. <!--</view>-->
  126. <table style="width: 100%;border: 1px solid #DDDDDD;border-collapse: collapse">
  127. <thead class="m-table-hander">
  128. <tr>
  129. <th>用户名</th>
  130. <th>姓名</th>
  131. <th>专业</th>
  132. <th>班级</th>
  133. <th>职务</th>
  134. <th>电话</th>
  135. <th>删除</th>
  136. </tr>
  137. </thead>
  138. <tbody>
  139. <tr v-for="(item,index) in projectMembers" :key="index">
  140. <th>{{item.User.IlabAccount}}</th>
  141. <th>{{item.User.Name}}</th>
  142. <th>{{item.User.Profession}}</th>
  143. <th>{{item.User.Class}}</th>
  144. <th>
  145. <div>
  146. <!-- <input type="number" value="" /> -->
  147. {{item.User.Type}}
  148. </div>
  149. </th>
  150. <th>{{item.User.PhoneNum}}</th>
  151. <th style="position: relative;"><button type="default" size="mini" class="m_delete" @click="deleteMember(item)" v-show="item.User.Id != projectData[0].CreateUserID">删除</button></th>
  152. </tr>
  153. </tbody>
  154. </table>
  155. </view>
  156. </view>
  157. <msg ref="msg" :title="title" @determine="determine" :btnArr="arr" v-show="show"></msg>
  158. <audit ref="audit" v-show="auditshow" @determine="determine"></audit>
  159. <!--修改对话框-->
  160. <view class="m_msg" v-show="editDialogshow">
  161. <table style="width: 100%;border: 1px solid #DDDDDD;border-collapse: collapse">
  162. <thead class="m-table-hander">
  163. <tr>
  164. <th>名称</th>
  165. <th>类型</th>
  166. <th>介绍</th>
  167. </tr>
  168. </thead>
  169. <!-- <tbody class='table'> -->
  170. <tbody>
  171. <tr>
  172. <!-- <t-table @change="change">
  173. <t-tr> </t-tr>
  174. <t-tr>{{item.ProjectName}}</t-tr>
  175. <t-tr>{{item.Type}}</t-tr>
  176. <t-tr>{{item.Describe}}</t-tr>
  177. <t-tr>{{item.CreateUserName}}</t-tr>
  178. <t-tr style="position: relative;"><button type="default" size="mini" @click="edit(index)" class="m_edit">修改</button></t-tr>
  179. <t-tr style="position: relative;"><button type="default" size="mini" @click="delete1(index)" class="m_delete">删除</button></t-tr>
  180. </t-table> -->
  181. <th>
  182. <input class="uni-input" placeholder-style="color:#F76260" placeholder="名称" v-model="editDialogData.name"/>
  183. </th>
  184. <!--<th>-->
  185. <!--<input class="uni-input" placeholder-style="color:#F76260" placeholder="类型" v-model="editDialogData.type"/>-->
  186. <!--</th>-->
  187. <th>
  188. <picker class="form-input" @change="bindPickerChange_proType" :value="index_proType" :range="proType">
  189. <view class=" df fdr aic jcsb">
  190. <view>{{proType[index_proType]}}</view>
  191. <view>
  192. <img src="../../../assets/user/pic_user_03.png" />
  193. </view>
  194. </view>
  195. </picker>
  196. </th>
  197. <th>
  198. <input class="uni-input" placeholder-style="color:#F76260" placeholder="介绍" v-model="editDialogData.Introduction"/>
  199. </th>
  200. <!-- <th class='blank'><input type="text" :value='item.ProjectName' class='input-item'/></th>
  201. <th class='blank'><input type="text" :value='item.Type' class='input-item'/></th>
  202. <th class='blank'><input type="text" :value='item.Type' class='input-item'/></th>
  203. <th class='blank'><input type="text" :value='item.CreateUserName' class='input-item'/></th>
  204. <th style="position:relative;" class='blank'><button type="default" size="mini" @click="editProject(index)" class="m_edit">修改</button></th>
  205. <th style="position:relative;" class='blank'><button type="default" size="mini" @click="deleteProject(index)" class="m_delete">删除</button></th>
  206. -->
  207. </tr>
  208. </tbody>
  209. </table>
  210. <view class="layout">
  211. <button type="default" size="mini" @click="editDialogDetermine(index)" class="m_edit">修改</button>
  212. <button type="default" size="mini" @click="editDialogCancel(index)" class="m_delete">取消</button>
  213. </view>
  214. </view>
  215. <!--添加用户对话框-->
  216. <view class="m_msg" v-show="isShowAddMember">
  217. <table style="width: 100%;border: 1px solid #DDDDDD;border-collapse: collapse">
  218. <thead class="m-table-hander">
  219. <tr>
  220. <th>名称</th>
  221. <th>类型</th>
  222. <!--<th>介绍</th>-->
  223. </tr>
  224. </thead>
  225. <!-- <tbody class='table'> -->
  226. <tbody>
  227. <tr>
  228. <!-- <t-table @change="change">
  229. <t-tr> </t-tr>
  230. <t-tr>{{item.ProjectName}}</t-tr>
  231. <t-tr>{{item.Type}}</t-tr>
  232. <t-tr>{{item.Describe}}</t-tr>
  233. <t-tr>{{item.CreateUserName}}</t-tr>
  234. <t-tr style="position: relative;"><button type="default" size="mini" @click="edit(index)" class="m_edit">修改</button></t-tr>
  235. <t-tr style="position: relative;"><button type="default" size="mini" @click="delete1(index)" class="m_delete">删除</button></t-tr>
  236. </t-table> -->
  237. <th>
  238. <!--<input class="uni-input" placeholder-style="color:#F76260" placeholder="名称" v-model="editDialogData.name"/>-->
  239. <view class="addMember_input_box">
  240. <input class="addMember_input" type="string" v-model="addedMemberModel.IlabAccount" placeholder="学员id" />
  241. </view>
  242. </th>
  243. <!--<th>-->
  244. <!--<input class="uni-input" placeholder-style="color:#F76260" placeholder="类型" v-model="editDialogData.type"/>-->
  245. <!--</th>-->
  246. <th>
  247. <picker class="form-input" @change="bindPickerChange_proTypeadd" :value="index_addproType" :range="addproType">
  248. <view class=" df fdr aic jcsb">
  249. <view>{{addproType[index_addproType]}}</view>
  250. <view>
  251. <img src="../../../assets/user/pic_user_03.png" />
  252. </view>
  253. </view>
  254. </picker>
  255. </th>
  256. <!--<th>-->
  257. <!--<input class="uni-input" placeholder-style="color:#F76260" placeholder="介绍" v-model="editDialogData.Introduction"/>-->
  258. <!--</th>-->
  259. <!-- <th class='blank'><input type="text" :value='item.ProjectName' class='input-item'/></th>
  260. <th class='blank'><input type="text" :value='item.Type' class='input-item'/></th>
  261. <th class='blank'><input type="text" :value='item.Type' class='input-item'/></th>
  262. <th class='blank'><input type="text" :value='item.CreateUserName' class='input-item'/></th>
  263. <th style="position:relative;" class='blank'><button type="default" size="mini" @click="editProject(index)" class="m_edit">修改</button></th>
  264. <th style="position:relative;" class='blank'><button type="default" size="mini" @click="deleteProject(index)" class="m_delete">删除</button></th>
  265. -->
  266. </tr>
  267. </tbody>
  268. </table>
  269. <view class="layout">
  270. <!--<view class="addMember_btn df aic jcc" @click="addMemberData">添加</view>-->
  271. <button type="default" size="mini" @click="addMemberData(index)" class="m_edit">添加</button>
  272. <button type="default" size="mini" @click="addMemberDataCancel(index)" class="m_delete">取消</button>
  273. </view>
  274. </view>
  275. <!--上传文件对话框-->
  276. <view class="m_msg" v-show="isShowAddFile">
  277. <table style="width: 100%;border: 1px solid #DDDDDD;border-collapse: collapse">
  278. <thead class="m-table-hander">
  279. <tr>
  280. <th>名字</th>
  281. <th>类型</th>
  282. <!--<th>介绍</th>-->
  283. </tr>
  284. </thead>
  285. <!-- <tbody class='table'> -->
  286. <tbody>
  287. <tr>
  288. <!-- <t-table @change="change">
  289. <t-tr> </t-tr>
  290. <t-tr>{{item.ProjectName}}</t-tr>
  291. <t-tr>{{item.Type}}</t-tr>
  292. <t-tr>{{item.Describe}}</t-tr>
  293. <t-tr>{{item.CreateUserName}}</t-tr>
  294. <t-tr style="position: relative;"><button type="default" size="mini" @click="edit(index)" class="m_edit">修改</button></t-tr>
  295. <t-tr style="position: relative;"><button type="default" size="mini" @click="delete1(index)" class="m_delete">删除</button></t-tr>
  296. </t-table> -->
  297. <th>
  298. <!--<input class="uni-input" placeholder-style="color:#F76260" placeholder="名称" v-model="editDialogData.name"/>-->
  299. <view class="addMember_input_box">
  300. <input class="addMember_input" type="string" v-model="fileDialogData.name" placeholder="文件名字" />
  301. </view>
  302. </th>
  303. <!--<th>-->
  304. <!--<input class="uni-input" placeholder-style="color:#F76260" placeholder="类型" v-model="editDialogData.type"/>-->
  305. <!--</th>-->
  306. <th>
  307. <picker class="form-input" @change="bindPickerChange_fileType" :value="index_FileType" :range="addFileType">
  308. <view class=" df fdr aic jcsb">
  309. <view>{{addFileType[index_FileType]}}</view>
  310. <view>
  311. <img src="../../../assets/user/pic_user_03.png" />
  312. </view>
  313. </view>
  314. </picker>
  315. </th>
  316. <!--<th>-->
  317. <!--<input class="uni-input" placeholder-style="color:#F76260" placeholder="介绍" v-model="editDialogData.Introduction"/>-->
  318. <!--</th>-->
  319. <!-- <th class='blank'><input type="text" :value='item.ProjectName' class='input-item'/></th>
  320. <th class='blank'><input type="text" :value='item.Type' class='input-item'/></th>
  321. <th class='blank'><input type="text" :value='item.Type' class='input-item'/></th>
  322. <th class='blank'><input type="text" :value='item.CreateUserName' class='input-item'/></th>
  323. <th style="position:relative;" class='blank'><button type="default" size="mini" @click="editProject(index)" class="m_edit">修改</button></th>
  324. <th style="position:relative;" class='blank'><button type="default" size="mini" @click="deleteProject(index)" class="m_delete">删除</button></th>
  325. -->
  326. </tr>
  327. </tbody>
  328. </table>
  329. <view class="layout">
  330. <!--<view class="addMember_btn df aic jcc" @click="addMemberData">添加</view>-->
  331. <button type="default" size="mini" @click="addFileData(index)" class="m_edit">添加</button>
  332. <button type="default" size="mini" @click="addFileDataCancel(index)" class="m_delete">取消</button>
  333. </view>
  334. </view>
  335. <!-- <locationtemp ref="location_temp"></locationtemp> -->
  336. </view>
  337. </template>
  338. <script>
  339. import msg from "./msg.vue"
  340. import audit from "./audit.vue"
  341. // import locationtemp from "./location_temp.vue"
  342. // import api from "../../../api/project.js"
  343. export default {
  344. name: "home_project",
  345. data() {
  346. return {
  347. index: 1,
  348. title: "",
  349. show: false,
  350. auditshow: false,
  351. callback: "",
  352. arr: [],
  353. data: [],
  354. projectData: [],
  355. ProjectItem: [],
  356. fileData: [],
  357. projectMembers: [],
  358. isShowAddMember: false,
  359. isShowAddFile: false,
  360. addedMemberModel: {
  361. "IlabAccount": '',
  362. "type": ''
  363. },
  364. currentSelect:{section:-1,buttonType:'',index:-1},
  365. Type:'asd',
  366. editDialogshow : false,
  367. editDialogData : {name : "", type :"", Introduction : ""},
  368. proType: ['科幻', '现实', '剧情', '历史', '爱情', '惊悚', '公路', '动画'],
  369. addproType: ['编剧', '摄影师' ,'录音师', '灯光师', '创建人'],
  370. addFileType: ['剧本' ,'拍摄脚本' ,'分镜头脚本' ,'气氛图', '项目简介', '项目报告' ,'场景图'],
  371. index_addproType : 0,
  372. index_proType : 0,
  373. index_FileType : 0,
  374. fileDialogData : {name : "", type :""},
  375. }
  376. },
  377. components: {
  378. msg,
  379. audit,
  380. // locationtemp
  381. },
  382. methods: {
  383. paging(obj) {
  384. this.index = obj;
  385. },
  386. editProject(index) {
  387. this.title = "是否修改信息?";
  388. this.arr = ["修改", "取消"]
  389. this.show = true;
  390. this.currentSelect = {section:0,buttonType:'edit',index:index};
  391. console.log("修改什么", this.currentSelect);
  392. },
  393. //审核状态中文
  394. getShenheText(pass){
  395. let t = "成功"
  396. if (pass == false) {
  397. t = "失败"
  398. }
  399. return t
  400. },
  401. deleteProject(index) {
  402. this.title = "是否删除信息?";
  403. this.arr = ["删除", "取消"]
  404. this.show = true;
  405. this.currentSelect = {section:0,buttonType:'delete',index:index};
  406. },
  407. // delete1(index) {
  408. // this.title = "是否删除信息?";
  409. // this.arr = ["删除", "取消"]
  410. // this.show = true;
  411. // },
  412. download(index,item) {
  413. this.title = "下载成功?";
  414. this.arr = ["确认"];
  415. this.show = true;
  416. this.currentSelect = {section:0,buttonType:'downloadIMG',index:index,item:item};
  417. },
  418. deleteFile(index,item) {
  419. this.title = "是否删除文件?";
  420. this.arr = ["删除", "取消"]
  421. this.show = true;
  422. this.currentSelect = {section:0,buttonType:'deleteFile',index:index,item:item};
  423. },
  424. // edit(index) {
  425. // this.title = "是否删除信息?";
  426. // this.arr = ["删除", "取消"]
  427. // this.show = true;
  428. // },
  429. audit(index,item) {
  430. this.title = "是否确认审核?";
  431. this.arr = ["通过", "未通过"]
  432. this.show = true;
  433. this.callback = "audit"
  434. // this.auditshow = true;
  435. this.currentSelect = {section:0,buttonType:'audit',index:index,item:item};
  436. },
  437. editSave() {
  438. if (this.editDialogData.name == "") {
  439. alert("请输入项目名称~");
  440. return false;
  441. }
  442. if (this.editDialogData.type == "") {
  443. alert("请输入项目类型~");
  444. return false;
  445. }
  446. if (this.editDialogData.Introduction == "") {
  447. alert("请输入项目介绍~");
  448. return false;
  449. }
  450. // let data = {
  451. // "CreateUserID":mydata_userInfo.UserID,
  452. // "ProjectName":this.model.projectName,
  453. // "Describe":this.model.describe,
  454. // "Type":this.model.type
  455. // }
  456. // console.log("请求创建项目",data);
  457. // MyRequest.CreateProjectNew(data,function(res){
  458. // console.log("创建项目成功",res);
  459. // },null);
  460. console.log("创建项目自己ID",mydata_userInfo.UserID);
  461. uni.request({
  462. url: this.$Api + "/project/changeprojectinfo",
  463. data: {
  464. "UserID":this.projectData[0].CreateUserID,
  465. "ProjectID" : this.projectData[0].Id,
  466. "ProjectName":this.editDialogData.name,
  467. "Describe":this.editDialogData.Introduction, // 项目描述
  468. "Type":this.editDialogData.type
  469. },
  470. method: "POST",
  471. dataType: "json",
  472. success: res => {
  473. console.log('是否成功',res)
  474. if (res.data.Code == 100) {
  475. // this.projectMembers = res.data.Users;
  476. // console.log();
  477. // this.$refs.table.getList();
  478. this.getlist()
  479. this.editDialogshow = false
  480. // this.editProject(0)
  481. // this.show = false;
  482. return true;
  483. }
  484. // this.tabledata = res.data.Projects
  485. // console.log('res=',this.tabledata)
  486. }
  487. })
  488. // uni.chooseImage({
  489. // success: (chooseImageRes) => {
  490. // const tempFilePaths = chooseImageRes.tempFilePaths;
  491. // uni.uploadFile({
  492. // url: this.$Api+'/project/uploadprojectfile', //仅为示例,非真实的接口地址
  493. // filePath: tempFilePaths[0],
  494. // name: 'file',
  495. // formData: {
  496. // // UserID: //上传用户 id
  497. // // Name: //文件名
  498. // // Type: //规范文件 剧本 拍摄脚本 分镜头脚本 气氛图 项目简介 项目报告 场景图
  499. // // ProjectID: //项目ID
  500. //
  501. // "UserID": this.projectData[0].CreateUserID,
  502. // "Name": this.editDialogData.name,
  503. // "Type": this.editDialogData.type,
  504. // "ProjectID": this.projectData[0].Id,
  505. // },
  506. // success: (uploadFileRes) => {
  507. // console.log('upload ok=', uploadFileRes.data);
  508. // alert("创建成功");
  509. // this.model.projectName='';
  510. // this.model.describe='';
  511. // this.model.type='科幻';
  512. //
  513. // this.$emit('onBackCreateInfo');
  514. // }
  515. // });
  516. // }
  517. // });
  518. },
  519. editDialogDetermine(){
  520. this.editSave()
  521. },
  522. editDialogCancel(){
  523. this.editDialogshow = false
  524. this.editDialogData = {name : "", type :"", Introduction : ""}
  525. },
  526. // editDialogName(event){
  527. // this.editDialogData.name = event.target.value
  528. // },
  529. // editDialogType(event){
  530. // this.editDialogData.type = event.target.value
  531. // },
  532. // editDialogIntroduction(event){
  533. // this.editDialogData.Introduction = event.target.value
  534. // },
  535. determine(obj) {
  536. this.show = false;
  537. this.auditshow = false;
  538. // switch (this.callback) {
  539. // case "audit": //审核
  540. // const data = {
  541. // ProjectItemID: "xxxx",
  542. // Pass: obj == 0
  543. // }
  544. // this.auditPost(data);
  545. // break;
  546. // default:
  547. // break;
  548. // }
  549. // this.currentSelect = {section:0,buttonType:'delete',index:index};
  550. console.log("点了 对话框", obj);
  551. switch (this.currentSelect.section) {
  552. case 0: //項目管理
  553. switch (this.currentSelect.buttonType) {
  554. case 'delete':
  555. console.log("点了 删除", this.currentSelect);
  556. if (obj == 0) {
  557. console.log("点了 确定删除", this.currentSelect);
  558. this.deleteItemProject()
  559. }else if(obj == 1){
  560. console.log("点了 取消删除", this.currentSelect);
  561. }
  562. break;
  563. case 'edit':
  564. console.log("点了 修改", this.currentSelect);
  565. if (obj == 0) {
  566. console.log("点了 确定修改", this.currentSelect,this.projectData[0]);
  567. // CreateTime: "2021-04-17 11:04:09"
  568. // CreateUserID: "1e9c969f-8990-40f2-8a8c-ecbafc5720b2"
  569. // CreateUserName: "李力新"
  570. // Describe: "999"
  571. // Id: 28
  572. // ProjectName: "999"
  573. // ProjectReviewImage: "http://communication-org-simulation.oss-cn-beijing.aliyuncs.com/project_28_timg.jpeg?Expires=1618634575&OSSAccessKeyId=LTAI4G4obJx7AiUgWThKBL47&Signature=az3xXUG%2F6lmxEBTmRtwZ%2FankjK8%3D"
  574. // ReviewImageOss: "project_28_timg.jpeg"
  575. // Type: "科幻"
  576. this.editDialogData = {name : this.projectData[0].ProjectName, type :this.projectData[0].Type, Introduction : this.projectData[0].Describe}
  577. this.editDialogshow = true
  578. console.log("修改数据", this.editDialogData);
  579. }else if(obj == 1){
  580. this.editDialogData = {name : "", type :"", Introduction : ""}
  581. console.log("点了 取消修改", this.currentSelect);
  582. }
  583. break;
  584. case 'downloadIMG':
  585. console.log("点了 下载", this.currentSelect);
  586. if (obj == 0) {
  587. console.log("点了 确定下载", this.currentSelect,this.projectData[0]);
  588. // CreateTime: "2021-04-17 11:04:09"
  589. // CreateUserID: "1e9c969f-8990-40f2-8a8c-ecbafc5720b2"
  590. // CreateUserName: "李力新"
  591. // Describe: "999"
  592. // Id: 28
  593. // ProjectName: "999"
  594. // ProjectReviewImage: "http://communication-org-simulation.oss-cn-beijing.aliyuncs.com/project_28_timg.jpeg?Expires=1618634575&OSSAccessKeyId=LTAI4G4obJx7AiUgWThKBL47&Signature=az3xXUG%2F6lmxEBTmRtwZ%2FankjK8%3D"
  595. // ReviewImageOss: "project_28_timg.jpeg"
  596. // Type: "科幻"
  597. // this.editDialogData = {name : this.projectData[0].ProjectName, type :this.projectData[0].Type, Introduction : this.projectData[0].Describe}
  598. // this.editDialogshow = true
  599. // console.log("修改数据", this.editDialogData);
  600. // this.currentSelect.item
  601. this.DownloadFile()
  602. }else if(obj == 1){
  603. // this.editDialogData = {name : "", type :"", Introduction : ""}
  604. console.log("点了 取消下载", this.currentSelect);
  605. }
  606. break;
  607. case 'deleteFile':
  608. console.log("点了 删除", this.currentSelect);
  609. if (obj == 0) {
  610. console.log("点了 确定删除", this.currentSelect,this.projectData[0]);
  611. // CreateTime: "2021-04-17 11:04:09"
  612. // CreateUserID: "1e9c969f-8990-40f2-8a8c-ecbafc5720b2"
  613. // CreateUserName: "李力新"
  614. // Describe: "999"
  615. // Id: 28
  616. // ProjectName: "999"
  617. // ProjectReviewImage: "http://communication-org-simulation.oss-cn-beijing.aliyuncs.com/project_28_timg.jpeg?Expires=1618634575&OSSAccessKeyId=LTAI4G4obJx7AiUgWThKBL47&Signature=az3xXUG%2F6lmxEBTmRtwZ%2FankjK8%3D"
  618. // ReviewImageOss: "project_28_timg.jpeg"
  619. // Type: "科幻"
  620. // this.editDialogData = {name : this.projectData[0].ProjectName, type :this.projectData[0].Type, Introduction : this.projectData[0].Describe}
  621. // this.editDialogshow = true
  622. // console.log("修改数据", this.editDialogData);
  623. // this.currentSelect.item
  624. this.delFile()
  625. }else if(obj == 1){
  626. // this.editDialogData = {name : "", type :"", Introduction : ""}
  627. console.log("点了 取消删除", this.currentSelect);
  628. }
  629. break;
  630. case 'audit':
  631. console.log("点了 审核", this.currentSelect);
  632. if (obj == 0) {
  633. console.log("点了 确定审核", this.currentSelect,this.projectData[0]);
  634. // CreateTime: "2021-04-17 11:04:09"
  635. // CreateUserID: "1e9c969f-8990-40f2-8a8c-ecbafc5720b2"
  636. // CreateUserName: "李力新"
  637. // Describe: "999"
  638. // Id: 28
  639. // ProjectName: "999"
  640. // ProjectReviewImage: "http://communication-org-simulation.oss-cn-beijing.aliyuncs.com/project_28_timg.jpeg?Expires=1618634575&OSSAccessKeyId=LTAI4G4obJx7AiUgWThKBL47&Signature=az3xXUG%2F6lmxEBTmRtwZ%2FankjK8%3D"
  641. // ReviewImageOss: "project_28_timg.jpeg"
  642. // Type: "科幻"
  643. // this.editDialogData = {name : this.projectData[0].ProjectName, type :this.projectData[0].Type, Introduction : this.projectData[0].Describe}
  644. // this.editDialogshow = true
  645. // console.log("修改数据", this.editDialogData);
  646. // this.currentSelect.item
  647. let data = {
  648. ProjectItemID: this.currentSelect.item,
  649. Pass: true
  650. }
  651. this.auditPost(data);
  652. }else if(obj == 1){
  653. // this.editDialogData = {name : "", type :"", Introduction : ""}
  654. console.log("点了 取消审核", this.currentSelect);
  655. let data = {
  656. ProjectItemID: this.currentSelect.item,
  657. Pass: false
  658. }
  659. this.auditPost(data);
  660. }
  661. break;
  662. default:
  663. break;
  664. }
  665. break;
  666. default:
  667. break;
  668. }
  669. this.currentSelect = {section:-1,buttonType:'',index:-1}
  670. // console.log(obj)
  671. },
  672. auditPost(obj) {
  673. console.log("审核信息", obj.ProjectItemID.ProjectID);
  674. let url = this.$Api + "/project/setfilepass"
  675. // const data = {
  676. // // ProjectItemID: "xxxx",
  677. // // Pass: obj == 0
  678. // // }
  679. let data = {
  680. "ProjectItemID" : obj.ProjectItemID.Id,
  681. "Pass":obj.Pass,
  682. }
  683. console.log('审核 发送数据 '," 地址 ",url," 数据 ",data,"项目数据",this.projectData)
  684. uni.request({
  685. url: url,
  686. data: data,
  687. method: "POST",
  688. dataType: "json",
  689. success: res => {
  690. console.log('审核 返回',res)
  691. if (res.data.Code == 100) {
  692. // this.$refs.table.getList();
  693. // this.$forceUpdate()
  694. // this.isShowAddMember = false
  695. this.getFileList();
  696. }
  697. }
  698. })
  699. },
  700. getlist() {
  701. uni.request({
  702. url: this.$Api + "/project/getprojectcontent",
  703. data: {
  704. "UserID": this.$UserId,
  705. "ProjectID": this.projectData[0].Id
  706. },
  707. method: "POST",
  708. dataType: "json",
  709. success: res => {
  710. if (res.data.Code == 100) {
  711. this.projectData[0] = null
  712. this.projectData[0] = res.data.Project;
  713. // ++this.projectData
  714. this.$forceUpdate()
  715. }
  716. console.log("获取了什么样子的信息", this.projectData[0]);
  717. }
  718. })
  719. },
  720. getFileList() {
  721. // console.log("用户id");
  722. // console.log(this.$UserId);
  723. // console.log(this.projectData[0].Id);
  724. uni.request({
  725. url: this.$Api + "/project/getprojectcontent",
  726. data: {
  727. "UserID": this.$UserId,
  728. "ProjectID": this.projectData[0].Id
  729. },
  730. method: "POST",
  731. dataType: "json",
  732. success: res => {
  733. this.fileData = res.data.ProjectItem;
  734. console.log('this.fileData=',this.fileData)
  735. }
  736. })
  737. },
  738. viewProject(obj) {
  739. console.log('进来的什么信息',obj)
  740. this.projectData = [obj];
  741. this.getFileList();
  742. this.getMemberList();
  743. },
  744. getMemberList() {
  745. var temp = {
  746. "ProjectID": this.projectData[0].Id
  747. }
  748. uni.request({
  749. url: this.$Api + "/project/getmember",
  750. data: temp,
  751. method: "POST",
  752. dataType: "json",
  753. success: res => {
  754. // console.log("请求学生", res);
  755. if (res.data.Code == 100) {
  756. this.projectMembers = res.data.Users;
  757. // console.log();
  758. }
  759. }
  760. })
  761. },
  762. addMember() {
  763. this.isShowAddMember = true;
  764. },
  765. addMemberData(){
  766. console.log("添加学生", this.addedMemberModel,this.projectData[0]);
  767. // "userID" : "12eqwed12",
  768. // "ProjectID":1,
  769. // "DeleteUserID":"12eqwe12"
  770. // userID User.Id
  771. // ProjectID this.projectData[0].Id,
  772. // "UserID" : "12eqwed12", //项目创建人ID
  773. // "ProjectID": 10001, //项目ID
  774. // "AddUserID":"12eqwe12" //添加人员ID 支持ilabID UserID
  775. // "Type":"美术师" //编剧 摄影师 录音师 灯光师 创建人
  776. if (this.addedMemberModel.IlabAccount == "") {
  777. alert("学员id不能为空")
  778. return
  779. }
  780. console.log('删掉成员 ')
  781. let url = this.$Api + "/project/addmember"
  782. let data = {
  783. "UserID" : this.projectData[0].CreateUserID,
  784. "ProjectID":this.projectData[0].Id,
  785. "AddUserID":this.addedMemberModel.IlabAccount,
  786. "Type":this.addedMemberModel.type,
  787. }
  788. console.log('添加成员 发送数据 '," 地址 ",url," 数据 ",data,"项目数据",this.projectData)
  789. uni.request({
  790. url: url,
  791. data: data,
  792. method: "POST",
  793. dataType: "json",
  794. success: res => {
  795. console.log('添加成员 返回',res)
  796. if (res.data.Code == 100) {
  797. // this.$refs.table.getList();
  798. this.$forceUpdate()
  799. this.isShowAddMember = false
  800. }
  801. this.getMemberList();
  802. this.$forceUpdate()
  803. this.isShowAddMember = false
  804. // this.projectData.splice(index,index);
  805. }
  806. })
  807. },
  808. addFileData(){
  809. // console.log("添加学生", this.addedMemberModel,this.projectData[0]);
  810. // // "userID" : "12eqwed12",
  811. // // "ProjectID":1,
  812. // // "DeleteUserID":"12eqwe12"
  813. // // userID User.Id
  814. // // ProjectID this.projectData[0].Id,
  815. //
  816. // // "UserID" : "12eqwed12", //项目创建人ID
  817. // // "ProjectID": 10001, //项目ID
  818. // // "AddUserID":"12eqwe12" //添加人员ID 支持ilabID UserID
  819. // // "Type":"美术师" //编剧 摄影师 录音师 灯光师 创建人
  820. // if (this.addedMemberModel.IlabAccount == "") {
  821. // alert("学员id不能为空")
  822. // return
  823. // }
  824. //
  825. //
  826. // console.log('删掉成员 ')
  827. //
  828. // let url = this.$Api + "/project/addmember"
  829. //
  830. //
  831. // let data = {
  832. // "UserID" : this.projectData[0].CreateUserID,
  833. // "ProjectID":this.projectData[0].Id,
  834. // "AddUserID":this.addedMemberModel.IlabAccount,
  835. // "Type":this.addedMemberModel.type,
  836. // }
  837. // console.log('添加成员 发送数据 '," 地址 ",url," 数据 ",data,"项目数据",this.projectData)
  838. //
  839. // uni.request({
  840. // url: url,
  841. // data: data,
  842. // method: "POST",
  843. // dataType: "json",
  844. // success: res => {
  845. // console.log('添加成员 返回',res)
  846. // if (res.data.Code == 100) {
  847. // // this.$refs.table.getList();
  848. // this.$forceUpdate()
  849. // this.isShowAddMember = false
  850. // }
  851. // this.getMemberList();
  852. // this.$forceUpdate()
  853. // this.isShowAddMember = false
  854. // // this.projectData.splice(index,index);
  855. // }
  856. // })
  857. // parameter:
  858. // UserID: //上传用户 id
  859. // Name: //文件名
  860. // Type: //规范文件 剧本 拍摄脚本 分镜头脚本 气氛图 项目简介 项目报告 场景图
  861. // ProjectID: //项目ID
  862. // files:
  863. // file: 文件
  864. uni.chooseImage({
  865. success: (chooseImageRes) => {
  866. const tempFilePaths = chooseImageRes.tempFilePaths;
  867. uni.uploadFile({
  868. url: this.$Api+'/project/uploadprojectfile', //仅为示例,非真实的接口地址
  869. filePath: tempFilePaths[0],
  870. name: 'file',
  871. formData: {
  872. // UserID: //上传用户 id
  873. // Name: //文件名
  874. // Type: //规范文件 剧本 拍摄脚本 分镜头脚本 气氛图 项目简介 项目报告 场景图
  875. // ProjectID: //项目ID
  876. "UserID": this.projectData[0].CreateUserID,
  877. "Name": this.fileDialogData.name,
  878. "Type": this.fileDialogData.type,
  879. "ProjectID": this.projectData[0].Id,
  880. },
  881. success: (uploadFileRes) => {
  882. console.log('upload ok=', uploadFileRes.data);
  883. this.isShowAddFile = false
  884. this.fileDialogData = {name : "", type :""}
  885. this.getFileList();
  886. alert("创建成功");
  887. // this.model.projectName='';
  888. // this.model.describe='';
  889. // this.model.type='科幻';
  890. // this.$emit('onBackCreateInfo');
  891. }
  892. });
  893. }
  894. });
  895. },
  896. addFileDataCancel(){
  897. this.isShowAddFile = false
  898. },
  899. addMemberDataCancel(){
  900. this.isShowAddMember = false;
  901. },
  902. onClick_addMember_ok() {
  903. console.log("添加学生", this.addedMemberModel);
  904. var temp = {
  905. "UserID": this.projectData[0].CreateUserID, //项目创建人ID
  906. "ProjectID": this.projectData[0].Id, //项目ID
  907. "AddUserID": mydata_userInfo.UserID, //添加人员ID 支持ilabID UserID
  908. "Type": "美术师" //编剧 摄影师 录音师 灯光师 创建人
  909. }
  910. uni.request({
  911. url: this.$Api + "/project/getmember",
  912. data: temp,
  913. method: "POST",
  914. dataType: "json",
  915. success: res => {
  916. // console.log("请求学生", res);
  917. if (res.data.Code == 100) {
  918. this.projectMembers = res.data.Users;
  919. console.log();
  920. }
  921. }
  922. })
  923. },
  924. onClick_addFile(){
  925. console.log("项目 点了添加文件")
  926. this.isShowAddFile = true
  927. },
  928. //删除条目
  929. deleteItemProject(){
  930. console.log('UserID=',this.$UserId)
  931. console.log('ProjectID=',this.projectData[0].Id)
  932. var temp = {
  933. "UserID":this.projectData[0].CreateUserID,
  934. "ProjectID" : this.projectData[0].Id,
  935. }
  936. console.log("要删除过去的数据为",temp)
  937. uni.request({
  938. url: this.$Api + "/backstage/deleteproject",
  939. data: temp,
  940. method: "POST",
  941. dataType: "json",
  942. success: res => {
  943. console.log("delete project ok", res);
  944. this.$emit('onBackToProjectList');
  945. this.getlist()
  946. this.$forceUpdate();//强制刷新页面
  947. }
  948. })
  949. },
  950. bindPickerChange_proType: function(e) {
  951. this.index_proType = e.target.value;
  952. this.editDialogData.type = this.proType[this.index_proType];
  953. // console.log(this.model)
  954. },
  955. bindPickerChange_proTypeadd: function(e) {
  956. this.index_addproType = e.target.value;
  957. this.addedMemberModel.type = this.addproType[this.index_addproType];
  958. // console.log(this.model)
  959. },
  960. bindPickerChange_fileType: function(e) {
  961. this.index_FileType = e.target.value;
  962. this.fileDialogData.type = this.addFileType[this.index_FileType];
  963. // console.log(this.model)
  964. },
  965. deleteMember(item){
  966. // "userID" : "12eqwed12",
  967. // "ProjectID":1,
  968. // "DeleteUserID":"12eqwe12"
  969. // userID User.Id
  970. // ProjectID this.projectData[0].Id,
  971. console.log('删掉成员 ',item)
  972. let url = this.$Api + "/project/deletemember"
  973. let data = {
  974. "userID" : this.projectData[0].CreateUserID,
  975. "DeleteUserID":item.User.Id,
  976. "ProjectID":this.projectData[0].Id,
  977. }
  978. console.log('删掉成员 发送数据 '," 地址 ",url," 数据 ",data)
  979. uni.request({
  980. url: url,
  981. data: data,
  982. method: "POST",
  983. dataType: "json",
  984. success: res => {
  985. console.log('删掉成员 返回',res)
  986. if (res.data.Code == 100) {
  987. // this.$refs.table.getList();
  988. this.getMemberList();
  989. this.$forceUpdate();//强制刷新页面
  990. }
  991. // this.projectData.splice(index,index);
  992. }
  993. })
  994. },
  995. delFile(){
  996. // this.currentSelect
  997. console.log('删除文件', this.currentSelect)
  998. // SetFilePass
  999. let url = this.$Api + "/project/deleteprojectcontent"
  1000. // "UserID":"xxxx", //上传人或者项目创建人
  1001. // "ProjectItemID" : "123"
  1002. let data = {
  1003. "UserID" : this.projectData[0].CreateUserID,
  1004. "ProjectItemID":this.currentSelect.item.Id
  1005. }
  1006. console.log('删除文件 发送数据 '," 地址 ",url," 数据 ",data,"项目数据",this.projectData)
  1007. uni.request({
  1008. url: url,
  1009. data: data,
  1010. method: "POST",
  1011. dataType: "json",
  1012. success: res => {
  1013. console.log('删除文件 返回',res)
  1014. if (res.data.Code == 100) {
  1015. // this.$refs.table.getList();
  1016. // this.$forceUpdate()
  1017. // this.isShowAddMember = false
  1018. this.getFileList();
  1019. }
  1020. // this.getMemberList();
  1021. // this.$forceUpdate()
  1022. // this.isShowAddMember = false
  1023. // this.projectData.splice(index,index);
  1024. }
  1025. })
  1026. },
  1027. DownloadFile() {
  1028. window.location.href = this.currentSelect.item.URL;
  1029. // uni.downloadFile({
  1030. // // url: 'http://192.168.0.200:8058/files/200200711.doc',//下载地址接口返回
  1031. // url: this.currentSelect.item.URL,//下载地址接口返回
  1032. // success: (data) => {
  1033. // if (data.statusCode === 200) {
  1034. // uni.showToast({
  1035. // icon: 'none',
  1036. // mask: true,
  1037. // title: '下载成功' , //保存路径
  1038. // duration: 3000,
  1039. // });
  1040. //
  1041. //
  1042. // //文件保存到本地
  1043. // // uni.saveFile({
  1044. // // tempFilePath: data.tempFilePath, //临时路径
  1045. // // success: function(res) {
  1046. // // uni.showToast({
  1047. // // icon: 'none',
  1048. // // mask: true,
  1049. // // title: '文件已保存:' + res.savedFilePath, //保存路径
  1050. // // duration: 3000,
  1051. // // });
  1052. // // // setTimeout(() => {
  1053. // // // //打开文档查看
  1054. // // // uni.openDocument({
  1055. // // // filePath: res.savedFilePath,
  1056. // // // success: function(res) {
  1057. // // // // console.log('打开文档成功');
  1058. // // // }
  1059. // // // });
  1060. // // // }, 3000)
  1061. // // }
  1062. // // });
  1063. // }
  1064. // },
  1065. // fail: (err) => {
  1066. // console.log(err);
  1067. // uni.showToast({
  1068. // icon: 'none',
  1069. // mask: true,
  1070. // title: '失败请重新下载',
  1071. // });
  1072. // },
  1073. // });
  1074. },
  1075. }
  1076. }
  1077. </script>
  1078. <style lang="scss">
  1079. .m_right {
  1080. width: 100%;
  1081. margin-top: 5rpx;
  1082. // padding: 0 150rpx;
  1083. background-color: #fff;
  1084. box-shadow: 3px 0px 6px 0px rgba(0, 0, 0, 0.1);
  1085. .m_right_container {
  1086. padding: 150rpx;
  1087. }
  1088. .s_logo {
  1089. width: 100%;
  1090. height: 800rpx;
  1091. }
  1092. .m_right_hander {
  1093. text-align: right;
  1094. height: 250rpx;
  1095. position: relative;
  1096. .m_btn_red {
  1097. position: absolute;
  1098. height: 80rpx;
  1099. line-height: 80rpx;
  1100. padding: 0 40rpx;
  1101. right: 0;
  1102. top: 50%;
  1103. transform: translateY(-50%);
  1104. background: #EA252C;
  1105. color: #fff;
  1106. }
  1107. }
  1108. }
  1109. .m_btn_download {
  1110. height: 80rpx;
  1111. line-height: 80rpx;
  1112. padding: 0 70rpx;
  1113. background: #EA252C;
  1114. color: #fff;
  1115. font-family: MicrosoftYaHei;
  1116. }
  1117. tbody tr {
  1118. border-top: 2rpx solid #DDDDDD !important;
  1119. }
  1120. tbody tr th:first-child {
  1121. position: relative;
  1122. }
  1123. tbody tr th {
  1124. font-weight: 400 !important;
  1125. height: 140rpx;
  1126. line-height: 140rpx;
  1127. }
  1128. tbody tr:hover {
  1129. // color: #fff;
  1130. background: #FDEBEC;
  1131. // opacity: 0.08;
  1132. }
  1133. .form-input {
  1134. width: 100%;
  1135. border: 1px solid #ece8e8;
  1136. line-height: 50rpx;
  1137. font-size: 30rpx;
  1138. border-radius: 6rpx;
  1139. padding: 10rpx 40rpx;
  1140. }
  1141. .m-table-hander {
  1142. background-color: #FFF8F7;
  1143. height: 140rpx;
  1144. line-height: 140rpx;
  1145. font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
  1146. font-weight: bold;
  1147. }
  1148. .m_edit {
  1149. position: absolute;
  1150. top: 50%;
  1151. left: 50%;
  1152. transform: translate(-50%, -50%);
  1153. background: rgb(67, 127, 250);
  1154. color: rgb(255, 255, 255);
  1155. min-width: 130rpx;
  1156. }
  1157. .m_delete {
  1158. position: absolute;
  1159. top: 50%;
  1160. left: 50%;
  1161. min-width: 130rpx;
  1162. transform: translate(-50%, -50%);
  1163. background: rgb(234, 37, 44);
  1164. color: rgb(255, 255, 255);
  1165. }
  1166. .m_right_footer {
  1167. margin-top: 80rpx;
  1168. }
  1169. .m_logoimg {
  1170. width: 80rpx;
  1171. height: 80rpx;
  1172. position: absolute;
  1173. top: 50%;
  1174. left: 50%;
  1175. transform: translate(-50%, -50%);
  1176. }
  1177. .m_paging {
  1178. text-align: right;
  1179. .m_paging_item {
  1180. padding: 10rpx 18rpx;
  1181. border: 1rpx solid #DDDDDD;
  1182. border-radius: 8rpx;
  1183. margin-right: 10rpx;
  1184. }
  1185. .p_act {
  1186. background: #EA252C;
  1187. color: #fff;
  1188. border: inherit;
  1189. }
  1190. }
  1191. .m_paging_item:hover {
  1192. background: #EA252C;
  1193. color: #fff;
  1194. border: inherit;
  1195. }
  1196. .m_act1 {
  1197. color: #FF0019;
  1198. }
  1199. .m_row {
  1200. display: flex;
  1201. height: 60rpx;
  1202. line-height: 60rpx;
  1203. font-size: 30rpx;
  1204. color: #ea252c;
  1205. padding: 0 0 80rpx 0;
  1206. }
  1207. .m_audit {
  1208. position: absolute;
  1209. top: 50%;
  1210. left: 50%;
  1211. min-width: 65px;
  1212. -webkit-transform: translate(-50%, -50%);
  1213. transform: translate(-50%, -50%);
  1214. color: white;
  1215. background-color: #FF791B;
  1216. }
  1217. .m_row_link {
  1218. width: 10rpx;
  1219. height: 60rpx;
  1220. background-color: #ea252c;
  1221. margin-right: 40rpx;
  1222. }
  1223. .m_row_title {
  1224. color: #ea252c;
  1225. font-weight: bold;
  1226. font-size: 40rpx;
  1227. }
  1228. /*向下*/
  1229. .triangle_border_down {
  1230. width: 0;
  1231. height: 0;
  1232. border-width: 25rpx 25rpx 0;
  1233. border-style: solid;
  1234. border-color: #ea252c transparent transparent;
  1235. /*灰 透明 透明 */
  1236. margin: 20rpx auto;
  1237. position: relative;
  1238. }
  1239. .m_row_class {
  1240. margin-bottom: 60rpx;
  1241. }
  1242. .addMember_box{
  1243. margin-bottom: 50rpx;
  1244. height: 80rpx;
  1245. }
  1246. .addMember_input_box{
  1247. width: 500rpx;
  1248. height: 80rpx;
  1249. }
  1250. .addMember_input {
  1251. width: 100%;
  1252. height: 100%;
  1253. border: 1px solid #ece8e8;
  1254. line-height: 50rpx;
  1255. font-size: 30rpx;
  1256. border-radius: 6rpx;
  1257. padding: 10rpx 40rpx;
  1258. }
  1259. .addMember_btn {
  1260. width: 130rpx;
  1261. height: 80rpx;
  1262. transform: translate(-50%, -50%);
  1263. background: rgb(234, 37, 44);
  1264. color: rgb(255, 255, 255);
  1265. }
  1266. .blank{
  1267. // display: flex;
  1268. // align-items:center;
  1269. // justify-content:center;
  1270. border:1px solid black;
  1271. }
  1272. .table{
  1273. // display: flex;
  1274. // display: -webkit-flex;
  1275. // align-items:center;
  1276. // justify-content:center;
  1277. border:1px solid black;
  1278. }
  1279. .input-item {
  1280. // height: 110rpx;
  1281. // font-size: 40rpx;
  1282. // background: #000000;
  1283. // text-align: center;
  1284. // border-radius: 5%;
  1285. // margin-left: 40rpx;
  1286. // margin-right: 40rpx;
  1287. // color: #00F6FF;
  1288. // width: 50%;
  1289. // display: flex;
  1290. // display: -webkit-flex;
  1291. // align-items:center;
  1292. // justify-content:center;
  1293. border:1px solid black;
  1294. }
  1295. .m_msg {
  1296. width: 1500rpx;
  1297. height: 900rpx;
  1298. padding: 0rpx 0 40rpx 0;
  1299. position: fixed;
  1300. top: 50%;
  1301. left: 50%;
  1302. border-radius: 10rpx;
  1303. transform: translate(-50%, -50%);
  1304. z-index: 100;
  1305. background-color: #fff;
  1306. opacity: 1;
  1307. .layout{
  1308. position: absolute;
  1309. left: 50%;
  1310. bottom: 2%;
  1311. }
  1312. .m_edit {
  1313. position: relative;
  1314. left: 20%;
  1315. transform: translate(-50%, -50%);
  1316. background: rgb(67, 127, 250);
  1317. color: rgb(255, 255, 255);
  1318. min-width: 130rpx;
  1319. }
  1320. .m_delete {
  1321. position: relative;
  1322. left: 50%;
  1323. min-width: 130rpx;
  1324. transform: translate(-50%, -50%);
  1325. background: rgb(234, 37, 44);
  1326. color: rgb(255, 255, 255);
  1327. }
  1328. }
  1329. </style>