project.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905
  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)" class="m_edit">下载</button></th>
  95. <th style="position: relative;"><button type="default" size="mini" @click="delete1(index)" class="m_delete">删除</button></th>
  96. <th style="position: relative;"><button type="default" size="mini" @click="audit(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">添加</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="delete1(item)">删除</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. <!-- <locationtemp ref="location_temp"></locationtemp> -->
  214. </view>
  215. </template>
  216. <script>
  217. import msg from "./msg.vue"
  218. import audit from "./audit.vue"
  219. // import locationtemp from "./location_temp.vue"
  220. // import api from "../../../api/project.js"
  221. export default {
  222. name: "home_project",
  223. data() {
  224. return {
  225. index: 1,
  226. title: "",
  227. show: false,
  228. auditshow: false,
  229. callback: "",
  230. arr: [],
  231. data: [],
  232. projectData: [],
  233. ProjectItem: [],
  234. fileData: [],
  235. projectMembers: [],
  236. isShowAddMember: false,
  237. addedMemberModel: {
  238. "IlabAccount": '',
  239. "AddUserID": ''
  240. },
  241. currentSelect:{section:-1,buttonType:'',index:-1},
  242. Type:'asd',
  243. editDialogshow : false,
  244. editDialogData : {name : "", type :"", Introduction : ""},
  245. proType: ['科幻', '现实', '剧情', '历史', '爱情', '惊悚', '公路', '动画'],
  246. index_proType : 0,
  247. }
  248. },
  249. components: {
  250. msg,
  251. audit,
  252. // locationtemp
  253. },
  254. methods: {
  255. paging(obj) {
  256. this.index = obj;
  257. },
  258. editProject(index) {
  259. this.title = "是否修改信息?";
  260. this.arr = ["修改", "取消"]
  261. this.show = true;
  262. this.currentSelect = {section:0,buttonType:'edit',index:index};
  263. console.log("修改什么", this.currentSelect);
  264. },
  265. deleteProject(index) {
  266. this.title = "是否删除信息?";
  267. this.arr = ["删除", "取消"]
  268. this.show = true;
  269. this.currentSelect = {section:0,buttonType:'delete',index:index};
  270. },
  271. // delete1(index) {
  272. // this.title = "是否删除信息?";
  273. // this.arr = ["删除", "取消"]
  274. // this.show = true;
  275. // },
  276. download(index) {
  277. this.title = "下载成功?";
  278. this.arr = ["确认"];
  279. this.show = true;
  280. },
  281. // edit(index) {
  282. // this.title = "是否删除信息?";
  283. // this.arr = ["删除", "取消"]
  284. // this.show = true;
  285. // },
  286. audit(index) {
  287. this.title = "是否确认审核?";
  288. this.arr = ["通过", "未通过"]
  289. this.show = true;
  290. this.callback = "audit"
  291. // this.auditshow = true;
  292. },
  293. editSave() {
  294. if (this.editDialogData.name == "") {
  295. alert("请输入项目名称~");
  296. return false;
  297. }
  298. if (this.editDialogData.type == "") {
  299. alert("请输入项目类型~");
  300. return false;
  301. }
  302. if (this.editDialogData.Introduction == "") {
  303. alert("请输入项目介绍~");
  304. return false;
  305. }
  306. // let data = {
  307. // "CreateUserID":mydata_userInfo.UserID,
  308. // "ProjectName":this.model.projectName,
  309. // "Describe":this.model.describe,
  310. // "Type":this.model.type
  311. // }
  312. // console.log("请求创建项目",data);
  313. // MyRequest.CreateProjectNew(data,function(res){
  314. // console.log("创建项目成功",res);
  315. // },null);
  316. console.log("创建项目自己ID",mydata_userInfo.UserID);
  317. uni.request({
  318. url: this.$Api + "/project/changeprojectinfo",
  319. data: {
  320. "UserID":this.projectData[0].CreateUserID,
  321. "ProjectID" : this.projectData[0].Id,
  322. "ProjectName":this.editDialogData.name,
  323. "Describe":this.editDialogData.Introduction, // 项目描述
  324. "Type":this.editDialogData.type
  325. },
  326. method: "POST",
  327. dataType: "json",
  328. success: res => {
  329. console.log('是否成功',res)
  330. if (res.data.Code == 100) {
  331. // this.projectMembers = res.data.Users;
  332. // console.log();
  333. // this.$refs.table.getList();
  334. this.getlist()
  335. this.editDialogshow = false
  336. // this.editProject(0)
  337. // this.show = false;
  338. return true;
  339. }
  340. // this.tabledata = res.data.Projects
  341. // console.log('res=',this.tabledata)
  342. }
  343. })
  344. // uni.chooseImage({
  345. // success: (chooseImageRes) => {
  346. // const tempFilePaths = chooseImageRes.tempFilePaths;
  347. // uni.uploadFile({
  348. // url: this.$Api+'/project/uploadprojectfile', //仅为示例,非真实的接口地址
  349. // filePath: tempFilePaths[0],
  350. // name: 'file',
  351. // formData: {
  352. // // UserID: //上传用户 id
  353. // // Name: //文件名
  354. // // Type: //规范文件 剧本 拍摄脚本 分镜头脚本 气氛图 项目简介 项目报告 场景图
  355. // // ProjectID: //项目ID
  356. //
  357. // "UserID": this.projectData[0].CreateUserID,
  358. // "Name": this.editDialogData.name,
  359. // "Type": this.editDialogData.type,
  360. // "ProjectID": this.projectData[0].Id,
  361. // },
  362. // success: (uploadFileRes) => {
  363. // console.log('upload ok=', uploadFileRes.data);
  364. // alert("创建成功");
  365. // this.model.projectName='';
  366. // this.model.describe='';
  367. // this.model.type='科幻';
  368. //
  369. // this.$emit('onBackCreateInfo');
  370. // }
  371. // });
  372. // }
  373. // });
  374. },
  375. editDialogDetermine(){
  376. this.editSave()
  377. },
  378. editDialogCancel(){
  379. this.editDialogshow = false
  380. this.editDialogData = {name : "", type :"", Introduction : ""}
  381. },
  382. // editDialogName(event){
  383. // this.editDialogData.name = event.target.value
  384. // },
  385. // editDialogType(event){
  386. // this.editDialogData.type = event.target.value
  387. // },
  388. // editDialogIntroduction(event){
  389. // this.editDialogData.Introduction = event.target.value
  390. // },
  391. determine(obj) {
  392. this.show = false;
  393. this.auditshow = false;
  394. // switch (this.callback) {
  395. // case "audit": //审核
  396. // const data = {
  397. // ProjectItemID: "xxxx",
  398. // Pass: obj == 0
  399. // }
  400. // this.auditPost(data);
  401. // break;
  402. // default:
  403. // break;
  404. // }
  405. // this.currentSelect = {section:0,buttonType:'delete',index:index};
  406. console.log("点了 对话框", obj);
  407. switch (this.currentSelect.section) {
  408. case 0: //項目管理
  409. switch (this.currentSelect.buttonType) {
  410. case 'delete':
  411. console.log("点了 删除", this.currentSelect);
  412. if (obj == 0) {
  413. console.log("点了 确定删除", this.currentSelect);
  414. this.deleteItemProject()
  415. }else if(obj == 1){
  416. console.log("点了 取消删除", this.currentSelect);
  417. }
  418. break;
  419. case 'edit':
  420. console.log("点了 修改", this.currentSelect);
  421. if (obj == 0) {
  422. console.log("点了 确定修改", this.currentSelect,this.projectData[0]);
  423. // CreateTime: "2021-04-17 11:04:09"
  424. // CreateUserID: "1e9c969f-8990-40f2-8a8c-ecbafc5720b2"
  425. // CreateUserName: "李力新"
  426. // Describe: "999"
  427. // Id: 28
  428. // ProjectName: "999"
  429. // ProjectReviewImage: "http://communication-org-simulation.oss-cn-beijing.aliyuncs.com/project_28_timg.jpeg?Expires=1618634575&OSSAccessKeyId=LTAI4G4obJx7AiUgWThKBL47&Signature=az3xXUG%2F6lmxEBTmRtwZ%2FankjK8%3D"
  430. // ReviewImageOss: "project_28_timg.jpeg"
  431. // Type: "科幻"
  432. this.editDialogData = {name : this.projectData[0].ProjectName, type :this.projectData[0].Type, Introduction : this.projectData[0].Describe}
  433. this.editDialogshow = true
  434. console.log("修改数据", this.editDialogData);
  435. }else if(obj == 1){
  436. this.editDialogData = {name : "", type :"", Introduction : ""}
  437. console.log("点了 取消修改", this.currentSelect);
  438. }
  439. break;
  440. default:
  441. break;
  442. }
  443. break;
  444. default:
  445. break;
  446. }
  447. this.currentSelect = {section:-1,buttonType:'',index:-1}
  448. // console.log(obj)
  449. },
  450. auditPost(obj) {
  451. uni.request({
  452. url: this.$Api + "/project/setfilepass",
  453. data: obj,
  454. method: "POST",
  455. dataType: "json",
  456. success: res => {
  457. var {
  458. data
  459. } = res;
  460. alert(data.msg);
  461. }
  462. })
  463. },
  464. getlist() {
  465. uni.request({
  466. url: this.$Api + "/project/getprojectcontent",
  467. data: {
  468. "UserID": this.$UserId,
  469. "ProjectID": this.projectData[0].Id
  470. },
  471. method: "POST",
  472. dataType: "json",
  473. success: res => {
  474. if (res.data.Code == 100) {
  475. this.projectData[0] = null
  476. this.projectData[0] = res.data.Project;
  477. // ++this.projectData
  478. this.$forceUpdate()
  479. }
  480. console.log("获取了什么样子的信息", this.projectData[0]);
  481. }
  482. })
  483. },
  484. getFileList() {
  485. // console.log("用户id");
  486. // console.log(this.$UserId);
  487. // console.log(this.projectData[0].Id);
  488. uni.request({
  489. url: this.$Api + "/project/getprojectcontent",
  490. data: {
  491. "UserID": this.$UserId,
  492. "ProjectID": this.projectData[0].Id
  493. },
  494. method: "POST",
  495. dataType: "json",
  496. success: res => {
  497. this.fileData = res.data.ProjectItem;
  498. // console.log('this.fileData=',this.fileData)
  499. }
  500. })
  501. },
  502. viewProject(obj) {
  503. console.log('进来的什么信息',obj)
  504. this.projectData = [obj];
  505. this.getFileList();
  506. this.getMemberList();
  507. },
  508. getMemberList() {
  509. var temp = {
  510. "ProjectID": this.projectData[0].Id
  511. }
  512. uni.request({
  513. url: this.$Api + "/project/getmember",
  514. data: temp,
  515. method: "POST",
  516. dataType: "json",
  517. success: res => {
  518. // console.log("请求学生", res);
  519. if (res.data.Code == 100) {
  520. this.projectMembers = res.data.Users;
  521. // console.log();
  522. }
  523. }
  524. })
  525. },
  526. addMember() {
  527. this.isShowAddMember = true;
  528. },
  529. onClick_addMember_ok() {
  530. console.log("添加学生", this.addedMemberModel);
  531. var temp = {
  532. "UserID": this.projectData[0].CreateUserID, //项目创建人ID
  533. "ProjectID": this.projectData[0].Id, //项目ID
  534. "AddUserID": mydata_userInfo.UserID, //添加人员ID 支持ilabID UserID
  535. "Type": "美术师" //编剧 摄影师 录音师 灯光师 创建人
  536. }
  537. uni.request({
  538. url: this.$Api + "/project/getmember",
  539. data: temp,
  540. method: "POST",
  541. dataType: "json",
  542. success: res => {
  543. // console.log("请求学生", res);
  544. if (res.data.Code == 100) {
  545. this.projectMembers = res.data.Users;
  546. console.log();
  547. }
  548. }
  549. })
  550. },
  551. onClick_addFile(){
  552. },
  553. //删除条目
  554. deleteItemProject(){
  555. console.log('UserID=',this.$UserId)
  556. console.log('ProjectID=',this.projectData[0].Id)
  557. var temp = {
  558. "UserID":this.projectData[0].CreateUserID,
  559. "ProjectID" : this.projectData[0].Id,
  560. }
  561. uni.request({
  562. url: this.$Api + "/backstage/deleteproject",
  563. data: temp,
  564. method: "POST",
  565. dataType: "json",
  566. success: res => {
  567. console.log("delete project ok", res);
  568. this.$emit('onBackToProjectList');
  569. this.$forceUpdate();//强制刷新页面
  570. }
  571. })
  572. },
  573. bindPickerChange_proType: function(e) {
  574. this.index_proType = e.target.value;
  575. this.editDialogData.type = this.proType[this.index_proType];
  576. // console.log(this.model)
  577. },
  578. }
  579. }
  580. </script>
  581. <style lang="scss">
  582. .m_right {
  583. width: 100%;
  584. margin-top: 5rpx;
  585. // padding: 0 150rpx;
  586. background-color: #fff;
  587. box-shadow: 3px 0px 6px 0px rgba(0, 0, 0, 0.1);
  588. .m_right_container {
  589. padding: 150rpx;
  590. }
  591. .s_logo {
  592. width: 100%;
  593. height: 800rpx;
  594. }
  595. .m_right_hander {
  596. text-align: right;
  597. height: 250rpx;
  598. position: relative;
  599. .m_btn_red {
  600. position: absolute;
  601. height: 80rpx;
  602. line-height: 80rpx;
  603. padding: 0 40rpx;
  604. right: 0;
  605. top: 50%;
  606. transform: translateY(-50%);
  607. background: #EA252C;
  608. color: #fff;
  609. }
  610. }
  611. }
  612. .m_btn_download {
  613. height: 80rpx;
  614. line-height: 80rpx;
  615. padding: 0 70rpx;
  616. background: #EA252C;
  617. color: #fff;
  618. font-family: MicrosoftYaHei;
  619. }
  620. tbody tr {
  621. border-top: 2rpx solid #DDDDDD !important;
  622. }
  623. tbody tr th:first-child {
  624. position: relative;
  625. }
  626. tbody tr th {
  627. font-weight: 400 !important;
  628. height: 140rpx;
  629. line-height: 140rpx;
  630. }
  631. tbody tr:hover {
  632. // color: #fff;
  633. background: #FDEBEC;
  634. // opacity: 0.08;
  635. }
  636. .form-input {
  637. width: 100%;
  638. border: 1px solid #ece8e8;
  639. line-height: 50rpx;
  640. font-size: 30rpx;
  641. border-radius: 6rpx;
  642. padding: 10rpx 40rpx;
  643. }
  644. .m-table-hander {
  645. background-color: #FFF8F7;
  646. height: 140rpx;
  647. line-height: 140rpx;
  648. font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
  649. font-weight: bold;
  650. }
  651. .m_edit {
  652. position: absolute;
  653. top: 50%;
  654. left: 50%;
  655. transform: translate(-50%, -50%);
  656. background: rgb(67, 127, 250);
  657. color: rgb(255, 255, 255);
  658. min-width: 130rpx;
  659. }
  660. .m_delete {
  661. position: absolute;
  662. top: 50%;
  663. left: 50%;
  664. min-width: 130rpx;
  665. transform: translate(-50%, -50%);
  666. background: rgb(234, 37, 44);
  667. color: rgb(255, 255, 255);
  668. }
  669. .m_right_footer {
  670. margin-top: 80rpx;
  671. }
  672. .m_logoimg {
  673. width: 80rpx;
  674. height: 80rpx;
  675. position: absolute;
  676. top: 50%;
  677. left: 50%;
  678. transform: translate(-50%, -50%);
  679. }
  680. .m_paging {
  681. text-align: right;
  682. .m_paging_item {
  683. padding: 10rpx 18rpx;
  684. border: 1rpx solid #DDDDDD;
  685. border-radius: 8rpx;
  686. margin-right: 10rpx;
  687. }
  688. .p_act {
  689. background: #EA252C;
  690. color: #fff;
  691. border: inherit;
  692. }
  693. }
  694. .m_paging_item:hover {
  695. background: #EA252C;
  696. color: #fff;
  697. border: inherit;
  698. }
  699. .m_act1 {
  700. color: #FF0019;
  701. }
  702. .m_row {
  703. display: flex;
  704. height: 60rpx;
  705. line-height: 60rpx;
  706. font-size: 30rpx;
  707. color: #ea252c;
  708. padding: 0 0 80rpx 0;
  709. }
  710. .m_audit {
  711. position: absolute;
  712. top: 50%;
  713. left: 50%;
  714. min-width: 65px;
  715. -webkit-transform: translate(-50%, -50%);
  716. transform: translate(-50%, -50%);
  717. color: white;
  718. background-color: #FF791B;
  719. }
  720. .m_row_link {
  721. width: 10rpx;
  722. height: 60rpx;
  723. background-color: #ea252c;
  724. margin-right: 40rpx;
  725. }
  726. .m_row_title {
  727. color: #ea252c;
  728. font-weight: bold;
  729. font-size: 40rpx;
  730. }
  731. /*向下*/
  732. .triangle_border_down {
  733. width: 0;
  734. height: 0;
  735. border-width: 25rpx 25rpx 0;
  736. border-style: solid;
  737. border-color: #ea252c transparent transparent;
  738. /*灰 透明 透明 */
  739. margin: 20rpx auto;
  740. position: relative;
  741. }
  742. .m_row_class {
  743. margin-bottom: 60rpx;
  744. }
  745. .addMember_box{
  746. margin-bottom: 50rpx;
  747. height: 80rpx;
  748. }
  749. .addMember_input_box{
  750. width: 500rpx;
  751. height: 80rpx;
  752. }
  753. .addMember_input {
  754. width: 100%;
  755. height: 100%;
  756. border: 1px solid #ece8e8;
  757. line-height: 50rpx;
  758. font-size: 30rpx;
  759. border-radius: 6rpx;
  760. padding: 10rpx 40rpx;
  761. }
  762. .addMember_btn {
  763. width: 130rpx;
  764. height: 80rpx;
  765. transform: translate(-50%, -50%);
  766. background: rgb(234, 37, 44);
  767. color: rgb(255, 255, 255);
  768. }
  769. .blank{
  770. // display: flex;
  771. // align-items:center;
  772. // justify-content:center;
  773. border:1px solid black;
  774. }
  775. .table{
  776. // display: flex;
  777. // display: -webkit-flex;
  778. // align-items:center;
  779. // justify-content:center;
  780. border:1px solid black;
  781. }
  782. .input-item {
  783. // height: 110rpx;
  784. // font-size: 40rpx;
  785. // background: #000000;
  786. // text-align: center;
  787. // border-radius: 5%;
  788. // margin-left: 40rpx;
  789. // margin-right: 40rpx;
  790. // color: #00F6FF;
  791. // width: 50%;
  792. // display: flex;
  793. // display: -webkit-flex;
  794. // align-items:center;
  795. // justify-content:center;
  796. border:1px solid black;
  797. }
  798. .m_msg {
  799. width: 1500rpx;
  800. height: 900rpx;
  801. padding: 0rpx 0 40rpx 0;
  802. position: fixed;
  803. top: 50%;
  804. left: 50%;
  805. border-radius: 10rpx;
  806. transform: translate(-50%, -50%);
  807. z-index: 100;
  808. background-color: #fff;
  809. opacity: 1;
  810. .layout{
  811. position: absolute;
  812. left: 50%;
  813. bottom: 2%;
  814. }
  815. .m_edit {
  816. position: relative;
  817. left: 20%;
  818. transform: translate(-50%, -50%);
  819. background: rgb(67, 127, 250);
  820. color: rgb(255, 255, 255);
  821. min-width: 130rpx;
  822. }
  823. .m_delete {
  824. position: relative;
  825. left: 50%;
  826. min-width: 130rpx;
  827. transform: translate(-50%, -50%);
  828. background: rgb(234, 37, 44);
  829. color: rgb(255, 255, 255);
  830. }
  831. }
  832. </style>