agencyDetail.vue 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841
  1. <template>
  2. <section>
  3. <!-- 机构信息 -->
  4. <el-col :span="24" class="agencyHead">
  5. <el-container>
  6. <el-container>
  7. <el-aside width="335px;">
  8. <div class="agencyHead_img">
  9. <el-image class="agencyHead_imgbox" src="../../assets/image/userHead.png">
  10. <img src="../../assets/image/userHead.png">
  11. </el-image>
  12. </div>
  13. </el-aside>
  14. <el-container>
  15. <el-header height="90px;">
  16. {{detail.name}}
  17. <el-button type="text" @click="editDetail(0)" icon="el-icon-edit" class="agencyHead_edit"></el-button>
  18. <el-button type="text" @click="backToList" class="agencyHead_back"><i class="iconfont iconfanhui1"></i></el-button>
  19. </el-header>
  20. <el-footer>{{detail.headIntroduction}}</el-footer>
  21. </el-container>
  22. </el-container>
  23. </el-container>
  24. </el-col>
  25. <el-col :span="24" :style="allDetail">
  26. <!-- 轮播图 -->
  27. <el-col :span="24" class="agencyBody_title">轮播图</el-col>
  28. <el-col :span="24" class="agencyBody_main">
  29. <!-- <el-upload ref="upload" action="customize" :http-request="uploadFile" list-type="picture-card" :auto-upload="true"> -->
  30. <el-upload action="/api/projectfile/uploadFile/" accept="image/*" multiple :limit="5" :data="uploadMsg" list-type="picture-card"
  31. :on-preview="handlePictureCardPreview"
  32. :on-remove="handleRemove">
  33. <i slot="default" class="el-icon-plus"></i>
  34. <div slot="file" slot-scope="{file}">
  35. <img class="el-upload-list__item-thumbnail" :src="file.url" alt="">
  36. <span class="el-upload-list__item-actions">
  37. <span class="el-upload-list__item-preview" @click="handlePictureCardPreview(file)">
  38. <i class="el-icon-zoom-in"></i>
  39. </span>
  40. <span v-if="!disabled" class="el-upload-list__item-delete" @click="handleDownload(file)">
  41. <i class="el-icon-download"></i>
  42. </span>
  43. <span v-if="!disabled" class="el-upload-list__item-delete" @click="handleRemove(file)">
  44. <i class="el-icon-delete"></i>
  45. </span>
  46. </span>
  47. </div>
  48. </el-upload>
  49. <el-dialog :visible.sync="dialogVisible">
  50. <img width="100%" :src="dialogImageUrl" alt="">
  51. </el-dialog>
  52. </el-col>
  53. <!-- 基本信息 -->
  54. <el-col :span="24" class="agencyBody_title">
  55. 基本信息
  56. <el-button type="text" @click="editDetail(1)" icon="el-icon-edit" class="agencyHead_edit"></el-button>
  57. </el-col>
  58. <el-col :span="24" class="agencyBody_main">
  59. <el-col :span="24" class="agencyBody_detail">
  60. 上课时间:
  61. <span class="info" v-if="detail.amTime != null || detail.pmTime != null">{{detail.amTime}} - {{detail.pmTime}}</span>
  62. <span class="info" v-else>暂无</span>
  63. </el-col>
  64. <el-col :span="24" class="agencyBody_detail">
  65. 收费标准:
  66. <span class="info">{{detail.chargingStandard==null?'暂无':detail.chargingStandard}}</span>
  67. </el-col>
  68. <el-col :span="24" class="agencyBody_detail">
  69. 机构位置:
  70. <span class="info">{{detail.address==null?'暂无':detail.address}}</span>
  71. </el-col>
  72. <el-col :span="24" class="agencyBody_detail">
  73. 联系电话:
  74. <span class="info">{{detail.projectNo==null?'暂无':detail.address}}</span>
  75. </el-col>
  76. </el-col>
  77. <!-- 机构简介 -->
  78. <el-col :span="24" class="agencyBody_title">
  79. 机构简介
  80. <el-button type="text" @click="editDetail(2)" icon="el-icon-edit" class="agencyHead_edit"></el-button>
  81. </el-col>
  82. <el-col :span="24" class="agencyBody_main">
  83. <el-col :span="24" class="agencyBody_detail">
  84. <span class="info">{{detail.briefIntroduction==null?'暂无':detail.briefIntroduction}}</span>
  85. </el-col>
  86. </el-col>
  87. <!-- 课程特色 -->
  88. <el-col :span="24" class="agencyBody_title">
  89. 课程特色
  90. <el-button type="text" @click="editDetail(3)" icon="el-icon-edit" class="agencyHead_edit"></el-button>
  91. </el-col>
  92. <el-col :span="24" class="agencyBody_main">
  93. <el-col :span="24" class="agencyBody_detail">
  94. <span class="info">{{detail.classAdvantages==null?'暂无':detail.classAdvantages}}</span>
  95. </el-col>
  96. </el-col>
  97. </el-col>
  98. <!--编辑界面-->
  99. <el-dialog title="编辑培训机构" v-if="editFormVisible" :visible.sync="editFormVisible" :close-on-click-modal="false" customClass='customWidth'>
  100. <el-form :model="editForm" label-width="120px" :rules="formRules" ref="editForm">
  101. <el-col :span="24">
  102. <el-form-item label="机构名称" prop="projectName">
  103. <el-input v-model="editForm.projectName" autocomplete="off" placeholder="请输入项目名称" style="width:510px"></el-input>
  104. </el-form-item>
  105. </el-col>
  106. <el-col :span="24">
  107. <el-form-item label="机构简介">
  108. <el-input type="textarea" :rows="5" placeholder="请输入机构简介" v-model="editForm.modelIds"></el-input>
  109. </el-form-item>
  110. </el-col>
  111. <el-col :span="24">
  112. <el-form-item label="机构图片">
  113. <el-upload class="avatar-uploader" accept="image/*" :limit="1" action="action" :on-success="handleAvatarSuccess" :before-upload="beforeAvatarUpload">
  114. <i slot="default" class="el-icon-plus"></i>
  115. </el-upload>
  116. <el-dialog :visible.sync="dialogVisible">
  117. <img width="100%" :src="dialogImageUrl" alt="">
  118. </el-dialog>
  119. </el-form-item>
  120. </el-col>
  121. </el-form>
  122. <div slot="footer" class="dialog-footer">
  123. <el-button @click.native="editFormVisible = false">取消</el-button>
  124. <el-button type="primary" @click.native="addSubmit" :loading="editLoading">提交</el-button>
  125. </div>
  126. </el-dialog>
  127. </section>
  128. </template>
  129. <script>
  130. import util from "../../common/js/util";
  131. export default {
  132. data() {
  133. return {
  134. //基础信息
  135. detailId: this.$route.params.id,
  136. user: JSON.parse(sessionStorage.getItem('user')),
  137. detail: {},
  138. dialogImageUrl: '',
  139. dialogVisible: false,
  140. disabled: false,
  141. uploadMsg: {
  142. "projectId": this.$route.params.id,
  143. "token": JSON.parse(sessionStorage.getItem('user')).headImgurl
  144. },
  145. //临时数据
  146. proDetail: {},
  147. files: [],
  148. opers: [],
  149. allDetail: {
  150. overflow: 'auto',
  151. padding: '0px 5px',
  152. height: 0
  153. },
  154. listLoading: false,
  155. modelsLoading: false,
  156. upLoading: false,
  157. oplistLoading: false,
  158. activePage: 0,
  159. update: 0,
  160. download: 0,
  161. view: 0,
  162. approve: 0,
  163. company: [],
  164. staffComp: [],
  165. allUser: [],
  166. assets: [],
  167. produce: [],
  168. charger: [],
  169. general: [],
  170. formRules: {
  171. projectName: [
  172. { required: true, message: '请输入项目名称', trigger: 'blur' }
  173. ],
  174. customerCompany: [
  175. { required: true, message: '请选择客户公司', trigger: 'blur' }
  176. ],
  177. modelIds: [
  178. { required: true, message: '请选择项目模具', trigger: ['blur','change'] }
  179. ],
  180. managerId: [
  181. { required: true, message: '请选择项目经理', trigger: ['blur','change'] }
  182. ],
  183. ownerApproverId: [
  184. { required: true, message: '请选择资产方审批人', trigger: ['blur','change'] }
  185. ],
  186. customerApproverId: [
  187. { required: true, message: '请选择生产方审批人', trigger: ['blur','change'] }
  188. ],
  189. // 新建人员
  190. username: [
  191. { required: true, message: '请输入姓名', trigger: 'blur' }
  192. ],
  193. teamName: [
  194. { required: true, message: '请选择人员类型', trigger: ["blur",'change'] }
  195. ],
  196. companyId: [
  197. { required: true, message: '请选择所属公司', trigger: ["blur",'change'] }
  198. ],
  199. },
  200. editFormVisible: false,//编辑界面是否显示
  201. editLoading: false,
  202. //编辑界面数据
  203. editForm: {
  204. projectName: '',
  205. customerCompany: [],
  206. managerId: '',
  207. ownerApproverId: '',
  208. customerApproverId: '',
  209. modelIds: [],
  210. users: []
  211. },
  212. editType: 0,
  213. };
  214. },
  215. methods: {
  216. //返回
  217. backToList() {
  218. this.$router.go(-1);
  219. },
  220. //获取详情
  221. getDetail() {
  222. this.modelsLoading = true;
  223. this.http.post(this.port.agency.detail, {
  224. id: this.detailId
  225. }, res => {
  226. this.modelsLoading = false;
  227. if (res.code == "ok") {
  228. this.detail = res.data;
  229. } else {
  230. this.$message({
  231. message: res.msg,
  232. type: 'error'
  233. });
  234. }
  235. }, error => {
  236. this.modelsLoading = false;
  237. this.$message({
  238. message: error,
  239. type: 'error'
  240. });
  241. })
  242. },
  243. getFileList() {
  244. this.listLoading = true;
  245. // 获取文档列表
  246. this.http.post(this.port.project.fileList, {
  247. projectId: this.detailId
  248. }, res => {
  249. this.listLoading = false;
  250. if (res.code == "ok") {
  251. this.files = res.data;
  252. } else {
  253. this.$message({
  254. message: res.msg,
  255. type: 'error'
  256. });
  257. }
  258. }, error => {
  259. this.listLoading = false;
  260. this.$message({
  261. message: error,
  262. type: 'error'
  263. });
  264. })
  265. },
  266. getOperList() {
  267. this.oplistLoading = true;
  268. // 获取文档列表
  269. this.http.post(this.port.project.operList, {
  270. projectId: this.detailId
  271. }, res => {
  272. this.oplistLoading = false;
  273. if (res.code == "ok") {
  274. this.opers = res.data;
  275. } else {
  276. this.$message({
  277. message: res.msg,
  278. type: 'error'
  279. });
  280. }
  281. }, error => {
  282. this.oplistLoading = false;
  283. this.$message({
  284. message: error,
  285. type: 'error'
  286. });
  287. })
  288. },
  289. //获取信息
  290. getMsg() {
  291. // 获取公司
  292. this.http.post(this.port.base.addCompanyListToProject, {
  293. parentId: this.user.parentId,
  294. id: this.user.id
  295. }, res => {
  296. if (res.code == "ok") {
  297. var list = res.data , array = [];
  298. for(var i in list){
  299. if(list[i].id != this.proDetail.ownerCompany){
  300. array.push(list[i])
  301. }
  302. }
  303. this.company = array;
  304. } else {
  305. this.$message({
  306. message: res.msg,
  307. type: 'error'
  308. });
  309. }
  310. }, error => {
  311. this.$message({
  312. message: error,
  313. type: 'error'
  314. });
  315. })
  316. // 获取模具
  317. this.http.post(this.port.mold.chooseModelList, {
  318. projectId: this.detailId
  319. }, res => {
  320. if (res.code == "ok") {
  321. this.molds = res.data;
  322. } else {
  323. this.$message({
  324. message: res.msg,
  325. type: 'error'
  326. });
  327. }
  328. }, error => {
  329. this.$message({
  330. message: error,
  331. type: 'error'
  332. });
  333. })
  334. this.http.post(this.port.base.getProduceCompany, {
  335. projectId: this.detailId
  336. }, res => {
  337. if (res.code == "ok") {
  338. this.staffComp = res.data;
  339. } else {
  340. this.$message({
  341. message: res.msg,
  342. type: 'error'
  343. });
  344. }
  345. }, error => {
  346. this.$message({
  347. message: error,
  348. type: 'error'
  349. });
  350. })
  351. },
  352. doSomething(e){
  353. e.stopPropagation();
  354. },
  355. //切换人员
  356. changeStaff(i) {
  357. if(i == 0){
  358. var list = this.allUser , array = [];
  359. for(var i in list){
  360. if(list[i].id != this.editForm.customerApproverId && list[i].id != this.editForm.managerId.id && list[i].id != this.editForm.ownerApproverId){
  361. array.push(list[i])
  362. }
  363. }
  364. this.general = array;
  365. } else if(i == 1) {
  366. var list = this.allUser , str = this.editForm.users.toString() , array = [] , assets = [] , produce = [];
  367. for(var i in list) {
  368. if(str.indexOf(list[i].id) == -1) {
  369. array.push(list[i]);
  370. }
  371. }
  372. for(var i in list) {
  373. if(str.indexOf(list[i].id) == -1) {
  374. if(list[i].subordinateType == 0){
  375. assets.push(list[i])
  376. } else {
  377. produce.push(list[i])
  378. }
  379. }
  380. }
  381. this.charger = array;
  382. this.assets = assets;
  383. this.produce = produce;
  384. }
  385. },
  386. //选择公司切换人员
  387. companyChange() {
  388. var param = {} ,
  389. str = this.proDetail.ownerCompany;
  390. for(var i in this.editForm.modelIds){
  391. str += "," + this.editForm.modelIds[i].produceCompanyId;
  392. }
  393. param.companyIds = str;
  394. param.id = this.user.id;
  395. param.projectId = this.detailId;
  396. this.http.post(this.port.project.getUserById, param , res => {
  397. if (res.code == "ok") {
  398. var list = res.data , assets = [] , produce = [];
  399. var allUserId = [];
  400. for(var i in list) {
  401. allUserId.push(list[i].id);
  402. if(list[i].companyId == this.proDetail.ownerCompany){
  403. if(list[i].id != this.user.id){
  404. if(list[i].id != this.proDetail.managerId){
  405. assets.push(list[i])
  406. }
  407. }
  408. } else {
  409. produce.push(list[i])
  410. }
  411. }
  412. var manager = allUserId.indexOf(this.editForm.managerId.id),
  413. customerApprover = allUserId.indexOf(this.editForm.customerApproverId),
  414. array = res.data , newAssets = [] , newProduce = [],newCharger = [];
  415. this.allUser = res.data;
  416. if(manager == -1) {
  417. this.editForm.managerId = "";
  418. this.charger = res.data;
  419. } else {
  420. for(var i in list) {
  421. newCharger.push(list[i]);
  422. }
  423. this.charger = newCharger;
  424. }
  425. if(customerApprover == -1) {
  426. this.editForm.customerApproverId = "";
  427. } else {
  428. for(var i in list) {
  429. if(str.indexOf(list[i].id) == -1) {
  430. if(list[i].subordinateType == 0){
  431. newAssets.push(list[i])
  432. } else {
  433. newProduce.push(list[i])
  434. }
  435. }
  436. }
  437. this.assets = newAssets;
  438. this.produce = newAssets;
  439. }
  440. var oldUsers = [] , backUsers = this.proDetail.participateUsers;
  441. for(var i in backUsers) {
  442. oldUsers.push(backUsers[i]);
  443. }
  444. for(var i in oldUsers) {
  445. var num = allUserId.indexOf(oldUsers[i].id);
  446. if(num == -1) {
  447. oldUsers.splice(num - 1, 1);
  448. } else {
  449. for(var j in list){
  450. if(oldUsers[i].id == list[j].id) {
  451. if(list[j].id == this.editForm.customerApproverId || list[j].id == this.editForm.managerId.id || list[j].id == this.editForm.ownerApproverId){
  452. array.splice(j,1)
  453. }
  454. }
  455. }
  456. }
  457. }
  458. var editUser = [];
  459. for(var i in oldUsers) {
  460. for(var j in this.editForm.users) {
  461. if(this.editForm.users[j] == oldUsers[i].id) {
  462. editUser.push(oldUsers[i].id)
  463. }
  464. }
  465. }
  466. this.editForm.users = editUser;
  467. this.general = array;
  468. this.setMember();
  469. } else {
  470. this.$message({
  471. message: res.msg,
  472. type: 'error'
  473. });
  474. }
  475. }, error => {
  476. this.$message({
  477. message: error,
  478. type: 'error'
  479. });
  480. })
  481. },
  482. //打开编辑页面
  483. edit() {
  484. },
  485. //提交
  486. addSubmit() {
  487. this.$refs.editForm.validate((valid) => {
  488. if (valid) {
  489. var cId = "",
  490. cName = "",
  491. modelIds = "",
  492. userIds = "";
  493. for(var i in this.editForm.modelIds){
  494. if(cId.indexOf(this.editForm.modelIds[i].produceCompanyId) == -1){
  495. cId += this.editForm.modelIds[i].produceCompanyId + ",";
  496. cName += this.editForm.modelIds[i].produceCompanyName + ",";
  497. }
  498. modelIds += this.editForm.modelIds[i].id + ","
  499. }
  500. cId = cId.substring(0,cId.length-1);
  501. cName = cName.substring(0,cName.length-1);
  502. modelIds = modelIds.substring(0,modelIds.length-1);
  503. for(var i in this.editForm.users) {
  504. if(i == this.editForm.users.length -1){
  505. userIds += this.editForm.users[i]
  506. } else {
  507. userIds += this.editForm.users[i] + ","
  508. }
  509. }
  510. this.editLoading = true;
  511. this.http.post(this.port.project.addProject, {
  512. id: this.editForm.id,
  513. projectName: this.editForm.projectName,
  514. customerCompanyIds: cId,
  515. customerCompanyNames: cName,
  516. manager: this.editForm.managerId.username,
  517. managerId: this.editForm.managerId.id,
  518. ownerApproverId: this.editForm.ownerApproverId,
  519. customerApproverId: this.editForm.customerApproverId,
  520. modelIds: modelIds,
  521. userIds: userIds,
  522. flag: 1
  523. } , res => {
  524. this.editLoading = false;
  525. this.editFormVisible = false;
  526. if (res.code == "ok") {
  527. this.$message({
  528. message: '修改成功',
  529. type: 'success'
  530. });
  531. this.getDetail();
  532. } else {
  533. this.$message({
  534. message: res.msg,
  535. type: 'error'
  536. });
  537. }
  538. }, error => {
  539. this.editLoading = false;
  540. this.editFormVisible = false;
  541. this.$message({
  542. message: error,
  543. type: 'error'
  544. });
  545. })
  546. }
  547. });
  548. },
  549. //上传
  550. uploadFile(params) {
  551. this.upLoading = true;
  552. var fileObj = params.file;
  553. var form = new FormData();
  554. form.append("projectId", this.proDetail.id);
  555. form.append("file", fileObj);
  556. this.http.uploadFile(this.port.project.uploadFile, form , res => {
  557. this.upLoading = false;
  558. this.$refs.upload.clearFiles();
  559. if (res.code == "ok") {
  560. this.$message({
  561. message: '上传成功',
  562. type: 'success'
  563. });
  564. this.getFileList();
  565. this.getOperList();
  566. } else {
  567. this.$message({
  568. message: res.msg,
  569. type: 'error'
  570. });
  571. }
  572. }, error => {
  573. this.upLoading = false;
  574. this.$refs.upload.clearFiles();
  575. this.$message({
  576. message: error,
  577. type: 'error'
  578. });
  579. })
  580. },
  581. //删除上传文件
  582. fileDel(id) {
  583. this.$confirm('确认删除该文档吗?', '提示', {
  584. type: 'warning'
  585. }).then(() => {
  586. this.http.post(this.port.project.delFile, {
  587. id: id
  588. }, res => {
  589. if (res.code == "ok") {
  590. this.$message({
  591. message: '删除成功',
  592. type: 'success'
  593. });
  594. this.getFileList();
  595. this.getOperList();
  596. } else {
  597. this.$message({
  598. message: res.msg,
  599. type: 'error'
  600. });
  601. }
  602. }, error => {
  603. this.$message({
  604. message: error,
  605. type: 'error'
  606. });
  607. })
  608. });
  609. },
  610. // 在线预览
  611. viewFile(row) {
  612. this.http.post(this.port.file.view, {
  613. fileId: row.id,
  614. type: 1
  615. }, res => {
  616. if (res.code == "ok") {
  617. this.openWin(res.data);
  618. } else {
  619. this.$message({
  620. message: res.msg,
  621. type: 'error'
  622. });
  623. }
  624. }, error => {
  625. this.$message({
  626. message: error,
  627. type: 'error'
  628. });
  629. })
  630. },
  631. openWin(url) {
  632. var el = document.createElement("a");
  633. document.body.appendChild(el);
  634. el.href = encodeURI(url);
  635. el.target = '_blank';
  636. el.click();
  637. document.body.removeChild(el);
  638. },
  639. handleRemove(file) {
  640. console.log(file);
  641. },
  642. handlePictureCardPreview(file) {
  643. this.dialogImageUrl = file.url;
  644. this.dialogVisible = true;
  645. },
  646. handleDownload(file) {
  647. console.log(file);
  648. },
  649. editDetail(type) {
  650. this.editType = type;
  651. this.editFormVisible = true;
  652. }
  653. },
  654. created() {
  655. let height = window.innerHeight;
  656. this.allDetail.height = height - 140 + "px";
  657. const that = this;
  658. window.onresize = function temp() {
  659. that.allDetail.height = window.innerHeight - 160;
  660. };
  661. },
  662. mounted() {
  663. this.getDetail();
  664. this.getFileList();
  665. this.getOperList();
  666. }
  667. };
  668. </script>
  669. <style scoped lang="scss">
  670. .container .main .content-container {
  671. overflow: auto!important;
  672. }
  673. a {
  674. text-decoration:none;
  675. color: #333;
  676. }
  677. .el-header {
  678. font-size: 18px;
  679. font-weight: 600;
  680. color: #333;
  681. line-height: 40px;
  682. }
  683. .el-footer {
  684. font-size: 16px;
  685. color: #333;
  686. line-height: 30px;
  687. }
  688. .el-container.is-vertical {
  689. overflow: hidden;
  690. }
  691. .agencyHead {
  692. margin: 20px 0 0 0;
  693. padding: 0 20px;
  694. }
  695. .agencyHead_img {
  696. width:335px;
  697. height:160px;
  698. overflow:hidden;
  699. .agencyHead_imgbox {
  700. width:335px;
  701. height:160px;
  702. }
  703. }
  704. .agencyHead_edit {
  705. font-size:16px;
  706. margin: 0 0 0 15px;
  707. padding: 0;
  708. }
  709. .agencyHead_back {
  710. float: right;
  711. margin: 0;
  712. position: relative;
  713. .iconfont {
  714. font-size: 25px;
  715. position: absolute;
  716. right: -10px;
  717. top: 0px;
  718. }
  719. }
  720. .allDetail {
  721. overflow-y: auto;
  722. }
  723. .agencyBody_title {
  724. padding-left: 10px;
  725. padding-bottom: 0px;
  726. margin: 20px 0;
  727. font-size: 16px;
  728. line-height: 20px;
  729. border-left: 1px #20a0ff solid;
  730. position: relative;
  731. }
  732. .agencyBody_main {
  733. padding-left: 40px;
  734. }
  735. .agencyBody_detail {
  736. margin-bottom: 20px;
  737. }
  738. .toolbar .el-form-item {
  739. font-size: 14px;
  740. vertical-align: middle;
  741. }
  742. .divLine {
  743. width: 2px;
  744. background: #c3c3c3;
  745. height: 100%;
  746. }
  747. .projectTitle {
  748. font-size: 18px;
  749. color: #333;
  750. }
  751. .upload-demo {
  752. position: absolute;
  753. right: 0;
  754. top: -5px;
  755. }
  756. .editDetail {
  757. margin-left: 10px;
  758. color:#20a0ff;
  759. cursor: pointer;
  760. }
  761. .info {
  762. color: grey;
  763. }
  764. .model {
  765. cursor: pointer;
  766. color:#20a0ff;
  767. }
  768. .el-collapse {
  769. border: none;
  770. }
  771. </style>