project.vue 45 KB

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