ProjectCreate.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665
  1. <template>
  2. <div class="create-container" v-loading="loading">
  3. <div class="title h1">创建项目</div>
  4. <div class="create-body">
  5. <el-form :model="project" :rules="rules" ref="project" label-width="12%" class="demo-project">
  6. <el-form-item label="项目名称" prop="name">
  7. <el-input size="small" v-model="project.name" placeholder="请输入项目名称"></el-input>
  8. </el-form-item>
  9. <el-form-item label="联系人" prop="contactName">
  10. <el-input size="small" v-model="project.contactName" placeholder="请输入联系人姓名"></el-input>
  11. </el-form-item>
  12. <el-form-item label="手机号" prop="contactPhone">
  13. <el-input size="small" v-model="project.contactPhone" placeholder="请输入联系人电话"></el-input>
  14. </el-form-item>
  15. <el-form-item label="机构代发包" v-if="isAgency">
  16. <el-checkbox v-model="forCompany"/>
  17. </el-form-item>
  18. <el-form-item label="代发企业名字" v-if="forCompany" prop="entrustUnit">
  19. <el-input size="small" v-model="project.entrustUnit" placeholder="请输入代发企业名字"></el-input>
  20. </el-form-item>
  21. <el-form-item label="代发企业地址" v-if="forCompany" prop="entrustUnitAddress">
  22. <el-input size="small" v-model="project.entrustUnitAddress" placeholder="请输入代发企业地址"></el-input>
  23. </el-form-item>
  24. <el-form-item label="预算" prop="budget">
  25. <el-input size="small" type="number" v-model="project.budget" placeholder="请输入项目预算">
  26. <template slot="append">¥</template>
  27. </el-input>
  28. </el-form-item>
  29. <el-form-item label="计价标准" prop="valuationStandard">
  30. <el-input type="textarea" style="width: 400px" v-model="project.valuationStandard"
  31. placeholder="请输入项目的计价标准(eg:1200/人天)"></el-input>
  32. </el-form-item>
  33. <el-form-item label="需求描述" prop="desc">
  34. <el-input type="textarea" style="width: 400px" v-model="project.desc"
  35. placeholder="请输入对项目的描述"></el-input>
  36. </el-form-item>
  37. <!--<el-form-item label="价格" prop="price">-->
  38. <!--<el-input type="number" v-model="project.price">-->
  39. <!--<template slot="append">¥</template>-->
  40. <!--</el-input>-->
  41. <!--</el-form-item>-->
  42. <el-form-item label="领域类型" prop="field">
  43. <el-radio-group v-model="project.field">
  44. <span v-for="(item,index) in fields" :key="index">
  45. <el-radio :label="item.code">{{ item.name }}&nbsp;&nbsp;&nbsp;&nbsp;</el-radio>
  46. </span>
  47. </el-radio-group>
  48. </el-form-item>
  49. <el-form-item label="应用类型" prop="platform">
  50. <el-radio-group v-model="project.platform">
  51. <span v-for="(item,index) in platforms" :key="index">
  52. <el-radio :label="item.code">{{ item.name }}&nbsp;&nbsp;&nbsp;&nbsp;</el-radio>
  53. </span>
  54. </el-radio-group>
  55. </el-form-item>
  56. <el-form-item label="测试类型" prop="type">
  57. <el-checkbox-group v-model="project.type">
  58. <span v-for="(item,index) in serviceType" :key="index">
  59. <el-checkbox :label="item.code" name="type">{{item.name}}&nbsp;&nbsp;&nbsp;&nbsp;</el-checkbox>
  60. </span>
  61. <!-- <el-button type="primary" size="mini" @click="dialogVisible = true" v-if="project.type&&project.type.indexOf('BDSPT') > -1">测试配置</el-button>-->
  62. </el-checkbox-group>
  63. </el-form-item>
  64. <el-form-item label="项目可见性" prop="resource">
  65. <el-tabs
  66. :tab-position="tabPosition"
  67. v-model="project.resource"
  68. style="max-height: 200px;"
  69. >
  70. <el-tab-pane :label="resourceType[0]" name="0">
  71. <el-select v-model="value" filterable placeholder="请选择" @change="getValue">
  72. <el-option
  73. v-for="item in institutionArray"
  74. :key="item.id"
  75. :label="item.name"
  76. :value="[item.name,item.id]">
  77. </el-option>
  78. </el-select>
  79. </el-tab-pane>
  80. <el-tab-pane :label="resourceType[1]" name="1">
  81. <provincecity
  82. ref="addFormProvince"
  83. @selectChange="locationChange"
  84. :provinceCode="project.location.provinceCode"
  85. :cityCode="project.location.cityCode"
  86. ></provincecity>
  87. </el-tab-pane>
  88. <el-tab-pane :label="resourceType[2]" name="2"></el-tab-pane>
  89. </el-tabs>
  90. </el-form-item>
  91. <el-form-item label="需求文档" prop="doc">
  92. <el-upload
  93. style="width: 400px"
  94. drag
  95. class="upload-demo"
  96. action=""
  97. :on-remove="handleRemove"
  98. :before-remove="beforeRemove"
  99. :limit="1"
  100. :on-exceed="handleExceed"
  101. :before-upload="beforeFileUpload"
  102. :http-request="uploadRequireDoc"
  103. :file-list="project.doc"
  104. >
  105. <i class="el-icon-upload"></i>
  106. <div class="el-upload__text">
  107. 将文件拖到此处,或
  108. <em>点击上传</em>
  109. </div>
  110. </el-upload>
  111. </el-form-item>
  112. <el-form-item label="安装包" prop="file">
  113. <el-upload
  114. drag
  115. style="width: 400px"
  116. class="upload-demo"
  117. action=""
  118. :on-remove="handleRemove"
  119. :limit="1"
  120. :on-exceed="handleExceed"
  121. :before-upload="beforeApkUpload"
  122. :http-request="uploadApkFile"
  123. :file-list="project.file"
  124. >
  125. <i class="el-icon-upload"></i>
  126. <div class="el-upload__text">
  127. 将文件拖到此处,或
  128. <em>点击上传</em>
  129. </div>
  130. </el-upload>
  131. </el-form-item>
  132. <el-form-item label="项目截止时间" prop="datetime">
  133. <div class="block">
  134. <el-date-picker
  135. size="small"
  136. v-model="project.datetime"
  137. type="datetime"
  138. placeholder="选择截止时间"
  139. align="right"
  140. :picker-options="pickerOptions"
  141. ></el-date-picker>
  142. </div>
  143. </el-form-item>
  144. <el-form-item>
  145. <div class="btn btn-medium btn-info" v-on:click="submitForm('project')">立即申请</div>
  146. <!--<div class="btn btn-medium" @click="resetForm('project')">重置</div>-->
  147. </el-form-item>
  148. </el-form>
  149. </div>
  150. </div>
  151. </template>
  152. <script>
  153. import Http from '@/js/http.js'
  154. import Apis from '@/js/api.js'
  155. import provincecity from '@/components/commons/ProvinceCity'
  156. import provinceCityJSON from '@/constants/provinceCity.json'
  157. import ResourceType from '@/constants/enum/resource-type'
  158. import {notify} from '@/constants/index'
  159. import {
  160. getAllFields,
  161. getAllInstitutions,
  162. getAllApplicationTypes,
  163. getAllServiceTypes,
  164. getProvinceNameByProvinceCode,
  165. storageGet,
  166. checkFileType
  167. } from '@/js/index'
  168. export default {
  169. name: 'ProjectCreate',
  170. components: {
  171. provincecity
  172. },
  173. data () {
  174. var validatePass = (rule, value, callback) => {
  175. var reg = /^(0|86|17951)?(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57])[0-9]{8}$/
  176. if (this.contactPhone) {
  177. if (!reg.test(this.contactPhone)) {
  178. callback(new Error('请检查手机号码'))
  179. } else {
  180. callback()
  181. }
  182. }
  183. }
  184. return {
  185. dialogVisible: false,
  186. user: {},
  187. loading: false,
  188. tabPosition: 'top',
  189. institutionArray: [],
  190. value:'',
  191. fields:[{code: '', name: ''}],
  192. platforms:[{code: '', name: ''}],
  193. // platforms: [],
  194. serviceType: [{code: '', name: ''}],
  195. resourceType: ResourceType,
  196. isAgency: storageGet('rolesPermissions').isAgency,
  197. forCompany: storageGet('rolesPermissions').isAgency,
  198. project: {
  199. userId: 0,
  200. name: '',
  201. contactName: '',
  202. contactPhone: '',
  203. type: [],
  204. platform: '',
  205. valuationStandard: '',
  206. field: '',
  207. desc: '',
  208. doc: [],
  209. file: [],
  210. requireDocUrl: '',
  211. fileUrl: '',
  212. resource: '0',
  213. location: {provinceCode: '3200', cityCode: ''},
  214. institution: {},
  215. datetime: '',
  216. price: '',
  217. usage: '',
  218. budget: '',
  219. entrustUnit: '',
  220. entrustUnitAddress: ''
  221. },
  222. pickerOptions: {
  223. disabledDate(time) {
  224. return time.getTime() <= Date.now();
  225. },
  226. shortcuts: [
  227. {
  228. text: '今天',
  229. onClick (picker) {
  230. picker.$emit('pick', new Date())
  231. }
  232. },
  233. {
  234. text: '明天',
  235. onClick (picker) {
  236. const date = new Date()
  237. date.setTime(date.getTime() + 3600 * 1000 * 24)
  238. picker.$emit('pick', date)
  239. }
  240. },
  241. {
  242. text: '一周后',
  243. onClick (picker) {
  244. const date = new Date()
  245. date.setTime(date.getTime() + 3600 * 1000 * 24 * 7)
  246. picker.$emit('pick', date)
  247. }
  248. }
  249. ]
  250. },
  251. rules: {
  252. name: [
  253. {required: true, message: '请输入项目名称', trigger: 'blur'},
  254. {min: 5, max: 50, message: '项目名称长度在 5 到 50 个字符', trigger: 'blur'}
  255. ],
  256. contactName: [
  257. {required: true, message: '请输入联系人姓名', trigger: 'blur'}
  258. // { min: 3, max: 5, message: "长度在 3 到 5 个字符", trigger: "blur" }
  259. ],
  260. contactPhone: [
  261. {required: true, message: '请输入手机号', trigger: 'blur'},
  262. {min: 11, max: 11, message: '请输入正确的手机号', trigger: 'blur'},
  263. {
  264. validator: (rule, value, callback) => {
  265. if (!this.checkPhoneNumber(value)) {
  266. callback(new Error('手机号输入有误'))
  267. } else {
  268. callback()
  269. }
  270. }, trigger: 'blur'
  271. },
  272. ],
  273. entrustUnit: [
  274. {required: true, message: '请输入代发企业名字', trigger: 'blur'}
  275. ],
  276. entrustUnitAddress: [
  277. {required: true, message: '请输入代发企业地址', trigger: 'blur'}
  278. ],
  279. type: [
  280. {
  281. required: true,
  282. message: '请至少选择一种测试类型',
  283. trigger: 'change'
  284. }
  285. ],
  286. platform: [
  287. {
  288. required: true,
  289. message: '请至少选择一个应用类型',
  290. trigger: 'change'
  291. }
  292. ],
  293. field: [
  294. {
  295. required: true,
  296. message: '请至少选择一个领域类型',
  297. trigger: 'change'
  298. }
  299. ],
  300. desc: [{required: false, message: '请填写描述', trigger: 'blur'}],
  301. //price: [{required: true, message: '请填写价格', trigger: 'blur'}],
  302. budget: [
  303. {required: true, message: '预算不可为空', trigger: 'blur'},
  304. {
  305. validator: (rule, value, callback) => {
  306. if(parseInt(value) < 0){
  307. callback(new Error('请输入不小于0的数'))
  308. } else {
  309. callback()
  310. }
  311. }, trigger: 'blur'
  312. },
  313. ],
  314. resource: [
  315. {required: true},
  316. {
  317. validator: (rule, value, callback) => {
  318. if (value == 0 && this.project.institution.id == null) {
  319. callback(new Error('定向发布至少要选择一个区域管理员'))
  320. } else {
  321. callback()
  322. }
  323. }, trigger: 'change'
  324. },
  325. ],
  326. datetime:[{required: true, message: '截止时间不可为空', trigger: 'blur'}],
  327. },
  328. }
  329. },
  330. mounted () {
  331. this.$nextTick(() => {
  332. this.init()
  333. })
  334. },
  335. watch: {
  336. serviceType (val) {
  337. this.serviceType = val
  338. },
  339. institutionArray (val) {
  340. this.institutionArray = val
  341. },
  342. // 'project.institution' () {
  343. // if (this.project.institution) {
  344. // this.$refs.addFormProvince.resetProviceCity()
  345. // this.project.location = {provinceCode: '', cityCode: ''}
  346. // }
  347. // },
  348. // 'project.location' () {
  349. // if (this.project.location.provinceCode || this.project.location.cityCode) {
  350. // this.project.institution = ''
  351. // }
  352. // },
  353. // 'project.resource' () {
  354. // if (this.project.resource == '2') {
  355. // this.$refs.addFormProvince.resetProviceCity()
  356. // this.project.institution = ''
  357. // this.project.location = {provinceCode: '', cityCode: ''}
  358. // }
  359. // },
  360. deep: true
  361. },
  362. methods: {
  363. updateLocation (location) {
  364. var provinceName = ''
  365. var cityName = ''
  366. for (var item of provinceCityJSON.provinces) {
  367. if (item.code === location.provinceCode) {
  368. provinceName = item.name
  369. for (var city of item.cities) {
  370. if (city.code === location.cityCode) {
  371. cityName = city.name
  372. break
  373. }
  374. }
  375. }
  376. }
  377. return provinceName + ' / ' + cityName
  378. },
  379. getValue (svalue) {
  380. // console.log(svalue);
  381. this.value = svalue[0];
  382. // console.log(this.value);
  383. this.project.institution.id = svalue[1];
  384. this.project.institution.name = svalue[0];
  385. },
  386. locationChange (provinceId, cityId) {
  387. // console.log("测试省:" + provinceId);
  388. // console.log("测试市:" + cityId);
  389. if (provinceId || cityId) {
  390. this.project.location = {provinceCode: provinceId, cityCode: cityId}
  391. }
  392. },
  393. init () {
  394. this.setServiceType()
  395. this.setFields()
  396. this.setPlatforms()
  397. this.setInstitution()
  398. this.setUserInfo()
  399. // this.project.platform.map(item => {
  400. // this.platformType.push(PlatformType[item])
  401. // })
  402. },
  403. submitForm () {
  404. this.$refs['project'].validate(valid => {
  405. if (valid) {
  406. //console.log(this.project)
  407. this.showLoading()
  408. const newLocation = getProvinceNameByProvinceCode(this.project.location.provinceCode, this.project.location.cityCode)
  409. const newProject = {
  410. userId: this.user.userVO.id,
  411. name: this.project.name,
  412. type: this.project.type,
  413. platform: this.project.platform,
  414. field: this.project.field,
  415. desc: this.project.desc,
  416. valuationStandard: this.project.valuationStandard,
  417. resource: this.project.resource,
  418. location: newLocation,
  419. institution: this.project.institution.id,
  420. contactName: this.project.contactName,
  421. contactPhone: this.project.contactPhone,
  422. doc: this.project.requireDocUrl,
  423. file: this.project.fileUrl,
  424. budget: this.project.budget,
  425. datetime: this.project.datetime,
  426. usage: this.project.usage,
  427. price: this.project.price,
  428. entrustUnit: this.forCompany ? this.project.entrustUnit : '',
  429. entrustUnitAddress: this.forCompany ? this.project.entrustUnitAddress : ''
  430. }
  431. console.log(newProject)
  432. Http.post(Apis.PROJECT.CREATE_PROJECT, newProject).then((res) => {
  433. //notify('success', '创建成功')
  434. this.hideLoading()
  435. this.createProjectSuccess(res.projectDetails.id)
  436. // if (window.history.length <= 1) {
  437. // this.$router.push({path: '/'})
  438. // return false
  439. // } else {
  440. // this.$router.go(-1)
  441. // }
  442. }).catch(error => {
  443. //console.log(error)
  444. this.hideLoading()
  445. notify('error', error.data)
  446. })
  447. } else {
  448. console.log(valid)
  449. this.hideLoading()
  450. notify('error','表单填写错误!')
  451. return false
  452. }
  453. })
  454. },
  455. resetForm (formName) {
  456. this.$refs[formName].resetFields()
  457. this.project.name = ''
  458. this.project.type = []
  459. this.project.platform = ''
  460. this.project.field = ''
  461. this.project.desc = ''
  462. this.project.valuationStandard = ''
  463. this.project.file = ''
  464. this.project.doc = ''
  465. this.project.contactName = ''
  466. this.project.contactPhone = ''
  467. this.project.resource = '非定向'
  468. this.project.institution = ''
  469. this.project.datetime = ''
  470. this.project.price = ''
  471. this.project.usage = ''
  472. this.project.budget = ''
  473. this.project.entrustUnit = ''
  474. this.project.entrustUnitAddress = ''
  475. },
  476. beforeApkUpload (file) {
  477. console.log(3, file.type)
  478. const isEXE = (file.type === 'application/octet-stream' || file.type === 'application/x-msdownload')
  479. const iSAPK = file.type === 'application/vnd.android.package-archive'
  480. const isDMG = file.type === 'application/x-apple-diskimage'
  481. if (!(isEXE || iSAPK || isDMG)) {
  482. this.$message.error('上传文件只能是 EXE、APK、DMG格式!')
  483. }
  484. return isEXE || iSAPK || isDMG
  485. },
  486. beforeApkUploadError () {
  487. this.$message.error('上传文件只能是exe,dmg,apk格式!')
  488. },
  489. beforeFileUpload (file) {
  490. const isPDF = file.type === 'application/pdf'
  491. const isDOC = file.type === 'application/msword'
  492. const isDOCX = file.type === 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
  493. const isEXCEL = file.type === 'application/vnd.ms-excel'
  494. const isXLS = file.type === 'application/x-xls'
  495. const isTXT = file.type === 'text/plain'
  496. const isXLSX = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
  497. const isZIP = file.type === 'application/x-zip-compressed'
  498. if (!(isDOC || isDOCX || isEXCEL || isPDF || isTXT || isXLS || isXLSX || isZIP)) {
  499. this.$message.error('上传文件只能是 PDF、DOC、DOCX、XLS、TXT、XLSX、ZIP!')
  500. }
  501. return isDOC || isEXCEL || isPDF || isTXT || isXLS || isXLSX || isZIP
  502. },
  503. beforeFileUploadError () {
  504. this.$message.error('上传文件只能是PDF、DOC、DOCX、XLS、TXT、XLSX、ZIP 格式!')
  505. },
  506. loadData () {
  507. Http.get(Apis.PAGE.PROJECT_DETAIL_PAGE).then((res) => {
  508. this.project = res.project
  509. })
  510. },
  511. handleRemove (file, fileList) {
  512. //console.log(file, fileList)
  513. },
  514. handleExceed (files, fileList) {
  515. this.$message.warning(
  516. `当前限制选择 1 个文件,本次选择了 ${
  517. files.length
  518. } 个文件,共选择了 ${files.length + fileList.length} 个文件`
  519. )
  520. },
  521. beforeRemove (file, fileList) {
  522. //return this.$confirm(`确定移除 ${file.name}?`)
  523. },
  524. uploadRequireDoc (param) {
  525. this.showLoading()
  526. const formData = new FormData()
  527. let config = {
  528. //添加请求头
  529. headers: {'Content-Type': 'multipart/form-data'},
  530. }
  531. formData.append('file', param.file)
  532. Http.upload(Apis.FILE.REQUIREMENT_FILE.replace('{userId}', this.user.userVO.id), formData, config).then((res) => {
  533. //console.log('上传成功')
  534. this.hideLoading()
  535. notify('success', '需求文档上传成功')
  536. this.project.requireDocUrl = res.data
  537. //console.log(this.project.doc)
  538. //console.log(res.data)
  539. }).catch((error) => {
  540. this.hideLoading()
  541. this.project.doc = []
  542. notify('error', '需求文档上传失败:' + error.data)
  543. })
  544. },
  545. uploadApkFile (param) {
  546. this.showLoading()
  547. const formData = new FormData()
  548. let config = {
  549. //添加请求头
  550. headers: {'Content-Type': 'multipart/form-data'},
  551. }
  552. formData.append('file', param.file)
  553. Http.upload(Apis.FILE.APK.replace('{userId}', this.user.userVO.id), formData, config).then((res) => {
  554. this.hideLoading()
  555. notify('success', '文件上传成功')
  556. this.project.fileUrl = res.data
  557. console.log(res)
  558. }).catch((error) => {
  559. this.hideLoading()
  560. this.project.file = []
  561. notify('error', '文件上传失败:' + error.data)
  562. })
  563. },
  564. setServiceType () {
  565. getAllServiceTypes().then((res) => {
  566. this.serviceType = res
  567. })
  568. },
  569. setFields(){
  570. getAllFields().then((res) => {
  571. this.fields = res
  572. })
  573. },
  574. setPlatforms () {
  575. getAllApplicationTypes().then((res) => {
  576. this.platforms = res
  577. })
  578. },
  579. setInstitution () {
  580. getAllInstitutions().then((res) => {
  581. this.institutionArray = res
  582. })
  583. },
  584. setUserInfo () {
  585. this.user = storageGet('user')
  586. },
  587. createProjectSuccess (projectId) {
  588. this.$alert('项目创建成功', '创建成功', {
  589. confirmButtonText: '确定',
  590. callback: action => {
  591. this.$router.push({
  592. name: 'Project',
  593. params: {projectId: projectId}
  594. })
  595. }
  596. })
  597. },
  598. checkPhoneNumber(phoneNumber){
  599. return /^1[3456789]\d{9}$/.test(phoneNumber)
  600. },
  601. showLoading () {
  602. this.loading = true
  603. },
  604. hideLoading () {
  605. this.loading = false
  606. }
  607. }
  608. }
  609. </script>
  610. <style lang="scss" scoped>
  611. .el-col {
  612. padding: 0 !important;
  613. }
  614. .el-row {
  615. margin-bottom: 10px;
  616. }
  617. .el-radio {
  618. margin: 10px 20px 10px 0;
  619. }
  620. .el-form-item /deep/ .el-tabs__content {
  621. /*max-height: 120px !important;*/
  622. overflow: auto;
  623. }
  624. .el-input {
  625. width: 400px;
  626. }
  627. </style>
  628. <!--<el-form-item label="联系方式" prop="contact">-->
  629. <!--<div>-->
  630. <!--<el-row :gutter="2">-->
  631. <!--<el-col :span="2">-->
  632. <!--<span>联系人</span>-->
  633. <!--</el-col>-->
  634. <!--<el-col :span="10">-->
  635. <!--<el-input v-model="project.contactName" placeholder="请输入联系人姓名"></el-input>-->
  636. <!--</el-col>-->
  637. <!--</el-row>-->
  638. <!--<el-row :gutter="2">-->
  639. <!--<el-col :span="2">-->
  640. <!--<span>联系人电话</span>-->
  641. <!--</el-col>-->
  642. <!--<el-col :span="10">-->
  643. <!--<el-input v-model="project.contactPhone" placeholder="请输入联系人电话"></el-input>-->
  644. <!--</el-col>-->
  645. <!--</el-row>-->
  646. <!--</div>-->
  647. <!--</el-form-item>-->
  648. <!--<el-form-item label="用途" prop="usage">-->
  649. <!--<el-input v-model="project.usage"></el-input>-->
  650. <!--</el-form-item>-->