| | |
| | | data: params |
| | | }) |
| | | } |
| | | // éæç³»ç»ä¿¡æ¯ç®¡çæ°å¢ |
| | | // éæç³»ç»ä¿¡æ¯ç®¡çä¿®æ¹ |
| | | export const sysInfoEdit = (params) => { |
| | | return request({ |
| | | url: '/api/ubcs-code/dockingManagement/editSave', |
| | |
| | | data: params |
| | | }) |
| | | } |
| | | // éæç³»ç»ä¿¡æ¯ç®¡çæ°å¢ |
| | | // éæç³»ç»ä¿¡æ¯ç®¡çå é¤ |
| | | export const sysInfoDel = (params) => { |
| | | return request({ |
| | | url: '/api/ubcs-code/dockingManagement/deleteDataById', |
¶Ô±ÈÐÂÎļþ |
| | |
| | | import request from '@/router/axios'; |
| | | |
| | | // æ¨¡æ¿æµç¨å表 |
| | | export const getFlowpathList = (params) => { |
| | | return request({ |
| | | url: '/api/ubcs-flow/processTS/tlist', |
| | | method: 'get', |
| | | params: params |
| | | }) |
| | | } |
| | | // æ¨¡æ¿æµç¨è·åé项 |
| | | export const getStartList = () => { |
| | | return request({ |
| | | url: '/api/ubcs-flow/work/start-list', |
| | | method: 'get', |
| | | params: {mode:'1',current:1,size:100} |
| | | }) |
| | | } |
| | | // æ¨¡æ¿æµç¨æ°å¢ |
| | | export const flowpathSave = (params) => { |
| | | return request({ |
| | | url: '/api/ubcs-flow/processTS/tsou', |
| | | method: 'post', |
| | | data: params |
| | | }) |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <el-dialog :title="`æ§è¡${title}`" width="90%" append-to-body="true" :visible.sync="visible"> |
| | | <div class="dialogwarp"> |
| | | <div class="dialogwarp_tab"> |
| | | <el-card class="dialogwarp_tab_card"> |
| | | <el-tabs v-model="activeName" @tab-click="handleClick"> |
| | | <el-tab-pane label="ä¸å¡æ°æ®ä¿¡æ¯" name="first"> |
| | | |
| | | </el-tab-pane> |
| | | <el-tab-pane label="æµç¨è·è¸ª" name="second"> |
| | | <avue-crud :data="data" :option="option" ref="crud"> |
| | | </avue-crud> |
| | | <div style="padding: 10px 0; width: 100%; height: 100% "> |
| | | <el-image :src="url" flt="fill"></el-image> |
| | | </div> |
| | | |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </el-card> |
| | | </div> |
| | | <div class="dialogwarp_card"> |
| | | <el-card class="box-card"> |
| | | <div slot="header" class="clearfix"> |
| | | <span>å½åä»»å¡ï¼</span> |
| | | <span>{{ title }}</span> |
| | | </div> |
| | | <div style="width: 100%;"> |
| | | <p>请å¨ä¸æ¹è¾å
¥æ¨çå®¡æ¹æè§ï¼</p> |
| | | <el-input type="textarea" :rows="4" placeholder="请è¾å
¥å
容" show-word-limit v-model="opinionVal"> |
| | | </el-input> |
| | | </div> |
| | | <div style="width: 100%;"> |
| | | <p>å®¡æ¹æè§éä»¶ï¼</p> |
| | | <el-upload drag action="https://jsonplaceholder.typicode.com/posts/" multiple style="width: 100%;"> |
| | | <i class="el-icon-upload"></i> |
| | | <div class="el-upload__text">å°æä»¶æå°æ¤å¤ï¼æ<em>ç¹å»ä¸ä¼ </em></div> |
| | | </el-upload> |
| | | </div> |
| | | <div style="width: 100%;"> |
| | | <p>å·²ä¸ä¼ å®¡æ¹æä»¶ï¼</p> |
| | | <el-card class="box-card"> |
| | | <el-table :data="tableData" stripe style="width: 100%"> |
| | | <el-table-column prop="date" label="æä»¶å"> |
| | | </el-table-column> |
| | | <el-table-column prop="name" label="ä¸ä¼ 人 "> |
| | | </el-table-column> |
| | | <el-table-column prop="address" label="æä½"> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-card> |
| | | </div> |
| | | <div style="margin-top: 20px;"> |
| | | <el-button v-if="!isRefuse" type="primary" size="mini" @click="handelAgree">åæ</el-button> |
| | | <el-button v-if="!isAgree" type="primary" size="mini" @click="handelRefuse">ä¸åæ</el-button> |
| | | <el-button v-if="isAgree && !isRefuse" type="primary" size="mini" @click="handelRevert" |
| | | v-for="item in btnList" :key="item">{{ item }}</el-button> |
| | | <el-button v-if="isRefuse" type="primary" size="mini" @click="handelExecute">æ§è¡</el-button> |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | | </template> |
| | | <script> |
| | | export default { |
| | | name:'FlowBusiness', |
| | | props: { |
| | | // æ¯å¦æå¼ |
| | | visible: { |
| | | typeof: Boolean, |
| | | default: false |
| | | } |
| | | }, |
| | | watch: { |
| | | visible(n) { |
| | | this.dialogVisible = n; |
| | | }, |
| | | dialogVisible(n) { |
| | | this.$emit('update:visible', n) |
| | | }, |
| | | }, |
| | | data() { |
| | | return { |
| | | dialogVisible: this.visible, |
| | | destroyClose: true, |
| | | activeName: 'first', |
| | | fits: ['fill', 'contain', 'cover', 'none', 'scale-down'], |
| | | url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', |
| | | title: 'ä¸å¡æµè¯-ç³è¯·-ç©å-å®¡æ ¸', |
| | | data: [ |
| | | { |
| | | name: 'å¼ ä¸', |
| | | sex: 'ç·' |
| | | }, { |
| | | name: 'æå', |
| | | sex: '女' |
| | | }, { |
| | | name: 'æå', |
| | | sex: '女' |
| | | }, { |
| | | name: 'æå', |
| | | sex: '女' |
| | | } |
| | | ], |
| | | btnList: ['è¿å1', 'è¿å1', 'è¿å1'], |
| | | isAgree: false, |
| | | isRefuse: false, |
| | | opinionVal: '', |
| | | option: { |
| | | menu: false, |
| | | addBtn: false, |
| | | refreshBtn: false, |
| | | columnBtn: false, |
| | | index: true, |
| | | header: false, |
| | | stripe: true, |
| | | indexLabelClassName: 'åºå·', |
| | | column: [ |
| | | { label: 'ä»»å¡åç§°', prop: 'name', minWidth: 120 }, |
| | | { label: 'æ§è¡æä½', prop: 'sex', minWidth: 80 }, |
| | | { label: 'ä»»å¡å¼å§æ¶é´', prop: 'sex', minWidth: 140 }, |
| | | { label: 'å®¡æ¹æè§', prop: 'sex', minWidth: 220, overHidden: true }, |
| | | { label: 'æ§è¡äºº', prop: 'sex', minWidth: 80 }, |
| | | { label: 'ä»»å¡å®ææ¶é´', prop: 'sex', minWidth: 140 }, |
| | | { label: 'å·²ä¸ä¼ å®¡æ¹æä»¶', prop: 'sex', minWidth: 220, overHidden: true }, |
| | | ] |
| | | }, |
| | | } |
| | | }, |
| | | methods: { |
| | | closeDialog() { |
| | | this.destroyClose = true |
| | | this.outerVisible = false |
| | | }, |
| | | handleClick(tab, event) { |
| | | console.log(event) |
| | | }, |
| | | handelAgree() { |
| | | this.isAgree = !this.isAgree |
| | | this.outerVisible = false |
| | | console.log(this.isAgree) |
| | | }, |
| | | handelRefuse() { |
| | | if (!this.opinionVal) { |
| | | this.$alert('å½å¤çæ¹å¼ä¸ºä¸åææ¶ï¼éè¦å¡«åå®¡æ¹æè§', 'æç¤ºä¿¡æ¯', { |
| | | confirmButtonText: 'ç¡®å®', |
| | | }).then(() => { |
| | | |
| | | }); |
| | | } else { |
| | | this.isRefuse = true |
| | | this.isAgree = true |
| | | this.outerVisible = false |
| | | this.opinionVal = '' |
| | | } |
| | | }, |
| | | handelExecute() { |
| | | this.outerVisible = false |
| | | this.isAgree = false |
| | | this.isRefuse = false |
| | | }, |
| | | handelRevert() { |
| | | this.outerVisible = false |
| | | this.isAgree = false |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | <style lang="scss" scoped> |
| | | .dialogwarp { |
| | | display: -webkit-box; |
| | | display: -ms-flexbox; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | height: 70vh; |
| | | |
| | | &_tab { |
| | | width: 79%; |
| | | |
| | | |
| | | &_card { |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | } |
| | | |
| | | &_card { |
| | | // margin-left: 20px; |
| | | width: 20%; |
| | | } |
| | | } |
| | | |
| | | ::v-deep(.el-upload) { |
| | | width: 100%; |
| | | height: 120px; |
| | | } |
| | | |
| | | ::v-deep(.el-upload-dragger) { |
| | | width: 100%; |
| | | height: 120px; |
| | | } |
| | | |
| | | ::v-deep(.el-upload-dragger .el-icon-upload) { |
| | | margin: 15px 0 16px; |
| | | } |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <el-dialog title="æ¨¡æ¿æµç¨" width="90%" append-to-body="true" :visible.sync="dialogVisible"> |
| | | <avue-crud ref="crud" :table-loading="loading" :data="data" v-model="form" :option="option" :page.sync="page" |
| | | :search.sync="search" @on-load="getDataList" @row-save="handleSave" @row-del="handleDelete" |
| | | @row-update="handleEdit" @refresh-change="handleRefresh" @size-change="handleSizePage" |
| | | @current-change="handleCurrentPage" @selection-change="selectionChange" @row-click="handleRowClick"> |
| | | <template slot="menuLeft"> |
| | | <el-button icon="el-icon-delete" size="small" type="danger" @click="handleDeleteByIds">å é¤ |
| | | </el-button> |
| | | </template> |
| | | <template slot="search" slot-scope="{row,size}"> |
| | | <el-input :placeholder="`请è¾å
¥${selectValue === 'id' ? 'ç³»ç»ç¼å·' : 'ç³»ç»åç§°'}å¹¶æå车æ¥è¯¢`" :size="size" |
| | | style="width:300px;margin-left: 10px;" v-model="search[selectValue]" clearable |
| | | @keyup.enter.native="handleEnter" @clear="handleClear"></el-input> |
| | | </template> |
| | | </avue-crud> |
| | | </el-dialog> |
| | | </template> |
| | | |
| | | <script> |
| | | import { getFlowpathList, getStartList, flowpathSave } from '@/api/template/flowpath.js' |
| | | export default { |
| | | name: 'FlowPath', |
| | | props: { |
| | | // æ¯å¦æå¼ |
| | | visible: { |
| | | typeof: Boolean, |
| | | default: false |
| | | }, |
| | | code: { |
| | | typeof: String, |
| | | required: true, |
| | | default: "" |
| | | } |
| | | }, |
| | | watch: { |
| | | visible(n) { |
| | | this.dialogVisible = n; |
| | | }, |
| | | dialogVisible(n) { |
| | | this.$emit('update:visible', n) |
| | | }, |
| | | }, |
| | | data() { |
| | | return { |
| | | dialogVisible: this.visible, |
| | | loading: false, |
| | | page: { |
| | | currentPage: 1, |
| | | pageSize: 10, |
| | | total: 0 |
| | | }, |
| | | search: {}, |
| | | delIds: [], |
| | | data: [], |
| | | startData: [], |
| | | form: {}, |
| | | option: { |
| | | height: "auto", |
| | | border: true, |
| | | align: 'center', |
| | | menuAlign: 'center', |
| | | index: true, |
| | | searchMenuSpan: 8, |
| | | searchBtn: false, |
| | | emptyBtn: false, |
| | | columnBtn: false, |
| | | defaultSort: { |
| | | prop: 'id,name,description,version', |
| | | order: 'descending' |
| | | }, |
| | | selection: true, |
| | | column: [ |
| | | { |
| | | label: '模æ¿key', |
| | | prop: 'modelKey', |
| | | sortable: true, |
| | | type: 'tree', |
| | | dicData: [], |
| | | props: { |
| | | label: "key", |
| | | value: "key" |
| | | }, |
| | | rules: [{ |
| | | required: true, |
| | | message: '模æ¿keyä¸è½ä¸ºç©º', |
| | | trigger: 'blur' |
| | | }], |
| | | nodeClick: (data) => { |
| | | console.log(data) |
| | | // èç¹ç¹å»çæ¶åä¼è·åå°æ°æ® |
| | | this.form.modeName = data.name |
| | | } |
| | | }, { |
| | | label: '模æ¿åç§°', |
| | | prop: 'modelName', |
| | | sortable: true, |
| | | addDisabled: true, |
| | | editDisabled: true, |
| | | }, |
| | | { |
| | | label: 'æµç¨æ¨¡æ¿ç¨é', |
| | | prop: 'buttonTypeKey', |
| | | type: 'tree', |
| | | dicUrl: '/api/ubcs-flow/processTS/tt', |
| | | dicMethod: 'post', |
| | | props: { |
| | | value: "codee", |
| | | label: "namee", |
| | | }, |
| | | }, |
| | | ] |
| | | }, |
| | | } |
| | | }, |
| | | created() { |
| | | this.getStart() |
| | | }, |
| | | methods: { |
| | | async getStart() { |
| | | const response = await getStartList() |
| | | if (response.status === 200) { |
| | | console.log(response.data.data.records) |
| | | const data = response.data.data.records |
| | | let newData = data.map(item => { |
| | | const { key, name, version } = item |
| | | return { key, name, version } |
| | | }) |
| | | this.option.column[0].dicData = newData |
| | | |
| | | } |
| | | }, |
| | | // è·åå表 |
| | | async getDataList() { |
| | | this.loading = false |
| | | console.log(this.search) |
| | | const { pageSize, currentPage } = this.page |
| | | let param = { size: pageSize, current: currentPage } |
| | | const response = await getFlowpathList({ ...param, ...this.search }) |
| | | if (response.status === 200) { |
| | | console.log(response) |
| | | this.loading = false |
| | | const data = response.data.data |
| | | this.data = data.records |
| | | this.page.total = data.total |
| | | }else this.loading = false |
| | | }, |
| | | // æ°å¢ |
| | | async handleSave(row, done, loading) { |
| | | console.log(row) |
| | | const response = await flowpathSave({...row,...{templateId:this.code}}) |
| | | if(response.status ===200){ |
| | | loading() |
| | | console.log(response) |
| | | this.$message({ |
| | | type: 'success', |
| | | message: 'æ°å¢æ°æ®æåï¼' |
| | | }) |
| | | done() |
| | | this.getDataList() |
| | | } |
| | | |
| | | }, |
| | | // ç¼è¾ |
| | | async handleEdit(row, index, done, loading) { |
| | | console.log(row) |
| | | const {modelName,modelKey,buttonTypeKey,id} = row |
| | | let param = {modelName,modelKey,buttonTypeKey,id} |
| | | const response = await flowpathSave({...param,...{templateId:this.code}}) |
| | | if (response.status === 200) { |
| | | loading() |
| | | this.$message({ |
| | | type: 'success', |
| | | message: 'ä¿®æ¹æ°æ®æåï¼' |
| | | }) |
| | | done() |
| | | this.getDataList() |
| | | } |
| | | |
| | | }, |
| | | // å é¤åæ¡ |
| | | handleDelete(row) { |
| | | const { oid } = row |
| | | }, |
| | | // 夿¡æ°æ®å é¤ |
| | | handleDeleteByIds() { |
| | | |
| | | }, |
| | | // å 餿¥å£ |
| | | deleteSysInfo(param) { |
| | | this.$confirm('æ¯å¦ç¡®å®å é¤éæ©çéæç³»ç»?', 'æç¤º', { |
| | | confirmButtonText: 'ç¡®å®', |
| | | cancelButtonText: 'åæ¶', |
| | | type: 'warning' |
| | | }).then(async () => { |
| | | // æ¥å£ |
| | | }) |
| | | }, |
| | | // enteræç´¢ |
| | | handleEnter() { |
| | | if (this.search[this.selectValue] === '') return |
| | | else this.getDataList() |
| | | }, |
| | | // è¾å
¥æ¡æ¸
空 |
| | | handleClear() { |
| | | |
| | | }, |
| | | // å·æ°æé® |
| | | handleRefresh() { |
| | | this.getDataList() |
| | | }, |
| | | handleSizePage(event) { |
| | | this.page.pageSize = event |
| | | }, |
| | | handleCurrentPage(event) { |
| | | this.page.currentPage = event |
| | | }, |
| | | // ç¹å»éæ© |
| | | handleRowClick(row) { |
| | | this.$refs.crud.toggleRowSelection(row, true) |
| | | }, |
| | | // å¤é |
| | | selectionChange(list) { |
| | | console.log(list) |
| | | |
| | | }, |
| | | } |
| | | } |
| | | </script> |
| | |
| | | <template> |
| | | <div> |
| | | <el-button @click="outerVisible = true">æµç¨æµè¯</el-button> |
| | | <el-dialog :title="`æ§è¡${title}`" width="90%" append-to-body="true" :visible.sync="outerVisible"> |
| | | <div class="dialogwarp"> |
| | | <div class="dialogwarp_tab"> |
| | | <el-card class="dialogwarp_tab_card"> |
| | | <el-tabs v-model="activeName" @tab-click="handleClick"> |
| | | <el-tab-pane label="ä¸å¡æ°æ®ä¿¡æ¯" name="first"> |
| | | |
| | | </el-tab-pane> |
| | | <el-tab-pane label="æµç¨è·è¸ª" name="second"> |
| | | <avue-crud :data="data" :option="option" ref="crud"> |
| | | </avue-crud> |
| | | <div style="padding: 10px 0; width: 100%; height: 100% "> |
| | | <el-image :src="url" flt="fill"></el-image> |
| | | </div> |
| | | |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </el-card> |
| | | </div> |
| | | <div class="dialogwarp_card"> |
| | | <el-card class="box-card"> |
| | | <div slot="header" class="clearfix"> |
| | | <span>å½åä»»å¡ï¼</span> |
| | | <span>{{ title }}</span> |
| | | </div> |
| | | <div style="width: 100%;"> |
| | | <p>请å¨ä¸æ¹è¾å
¥æ¨çå®¡æ¹æè§ï¼</p> |
| | | <el-input type="textarea" :rows="4" placeholder="请è¾å
¥å
容" show-word-limit v-model="opinionVal"> |
| | | </el-input> |
| | | </div> |
| | | <div style="width: 100%;"> |
| | | <p>å®¡æ¹æè§éä»¶ï¼</p> |
| | | <el-upload drag action="https://jsonplaceholder.typicode.com/posts/" multiple |
| | | style="width: 100%;"> |
| | | <i class="el-icon-upload"></i> |
| | | <div class="el-upload__text">å°æä»¶æå°æ¤å¤ï¼æ<em>ç¹å»ä¸ä¼ </em></div> |
| | | </el-upload> |
| | | </div> |
| | | <div style="width: 100%;"> |
| | | <p>å·²ä¸ä¼ å®¡æ¹æä»¶ï¼</p> |
| | | <el-card class="box-card"> |
| | | <el-table :data="tableData" stripe style="width: 100%"> |
| | | <el-table-column prop="date" label="æä»¶å"> |
| | | </el-table-column> |
| | | <el-table-column prop="name" label="ä¸ä¼ 人 "> |
| | | </el-table-column> |
| | | <el-table-column prop="address" label="æä½"> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-card> |
| | | </div> |
| | | <div style="margin-top: 20px;"> |
| | | <el-button v-if="!isRefuse" type="primary" size="mini" @click="handelAgree">åæ</el-button> |
| | | <el-button v-if="!isAgree" type="primary" size="mini" @click="handelRefuse">ä¸åæ</el-button> |
| | | <el-button v-if="isAgree && !isRefuse" type="primary" size="mini" @click="handelRevert" |
| | | v-for="item in btnList" :key="item">{{ item }}</el-button> |
| | | <el-button v-if="isRefuse" type="primary" size="mini" @click="handelExecute">æ§è¡</el-button> |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | | <el-button @click="visibleFlow = true">æ¨¡æ¿æµç¨</el-button> |
| | | <flow-business :visible.sync="outerVisible"></flow-business> |
| | | <flow-path :visible.sync="visibleFlow" code="A12826E4-2B66-6D56-DE30-92BB1D7F607F"></flow-path> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import FlowBusiness from '@/components/template/Business' |
| | | import FlowPath from '@/components/template/FlowPath' |
| | | export default { |
| | | components:{ |
| | | FlowBusiness, |
| | | FlowPath |
| | | }, |
| | | data() { |
| | | return { |
| | | outerVisible: false, |
| | | destroyClose: true, |
| | | activeName: 'first', |
| | | fits: ['fill', 'contain', 'cover', 'none', 'scale-down'], |
| | | url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', |
| | | title: 'ä¸å¡æµè¯-ç³è¯·-ç©å-å®¡æ ¸', |
| | | data: [ |
| | | { |
| | | name: 'å¼ ä¸', |
| | | sex: 'ç·' |
| | | }, { |
| | | name: 'æå', |
| | | sex: '女' |
| | | }, { |
| | | name: 'æå', |
| | | sex: '女' |
| | | }, { |
| | | name: 'æå', |
| | | sex: '女' |
| | | } |
| | | ], |
| | | btnList: ['è¿å1', 'è¿å1', 'è¿å1'], |
| | | isAgree: false, |
| | | isRefuse: false, |
| | | opinionVal: '', |
| | | option: { |
| | | menu: false, |
| | | addBtn: false, |
| | | refreshBtn: false, |
| | | columnBtn: false, |
| | | index: true, |
| | | header: false, |
| | | stripe: true, |
| | | indexLabelClassName: 'åºå·', |
| | | column: [ |
| | | { label: 'ä»»å¡åç§°', prop: 'name', minWidth: 120 }, |
| | | { label: 'æ§è¡æä½', prop: 'sex', minWidth: 80 }, |
| | | { label: 'ä»»å¡å¼å§æ¶é´', prop: 'sex', minWidth: 140 }, |
| | | { label: 'å®¡æ¹æè§', prop: 'sex', minWidth: 220, overHidden: true }, |
| | | { label: 'æ§è¡äºº', prop: 'sex', minWidth: 80 }, |
| | | { label: 'ä»»å¡å®ææ¶é´', prop: 'sex', minWidth: 140 }, |
| | | { label: 'å·²ä¸ä¼ å®¡æ¹æä»¶', prop: 'sex', minWidth: 220, overHidden: true }, |
| | | ] |
| | | }, |
| | | visibleFlow: false, |
| | | |
| | | } |
| | | }, |
| | | methods: { |
| | | closeDialog() { |
| | | this.destroyClose = true |
| | | this.outerVisible = false |
| | | }, |
| | | handleClick(tab, event) { |
| | | console.log(event) |
| | | }, |
| | | handelAgree() { |
| | | this.isAgree = !this.isAgree |
| | | this.outerVisible = false |
| | | console.log(this.isAgree) |
| | | }, |
| | | handelRefuse() { |
| | | if (!this.opinionVal) { |
| | | this.$alert('å½å¤çæ¹å¼ä¸ºä¸åææ¶ï¼éè¦å¡«åå®¡æ¹æè§', 'æç¤ºä¿¡æ¯', { |
| | | confirmButtonText: 'ç¡®å®', |
| | | }).then(() => { |
| | | |
| | | }); |
| | | } else { |
| | | this.isRefuse = true |
| | | this.isAgree = true |
| | | this.outerVisible = false |
| | | this.opinionVal = '' |
| | | } |
| | | }, |
| | | handelExecute() { |
| | | this.outerVisible = false |
| | | this.isAgree = false |
| | | this.isRefuse = false |
| | | }, |
| | | handelRevert() { |
| | | this.outerVisible = false |
| | | this.isAgree = false |
| | | } |
| | | |
| | | } |
| | | } |
| | | </script> |
| | | <style lang="scss" scoped> |
| | | .dialogwarp { |
| | | display: -webkit-box; |
| | | display: -ms-flexbox; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | height: 70vh; |
| | | |
| | | &_tab { |
| | | width: 79%; |
| | | |
| | | |
| | | &_card { |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | } |
| | | |
| | | &_card { |
| | | // margin-left: 20px; |
| | | width: 20%; |
| | | } |
| | | } |
| | | ::v-deep(.el-upload){ |
| | | width: 100%; |
| | | height: 120px; |
| | | } |
| | | ::v-deep(.el-upload-dragger){ |
| | | width: 100%; |
| | | height: 120px; |
| | | } |
| | | ::v-deep(.el-upload-dragger .el-icon-upload) { |
| | | margin: 15px 0 16px; |
| | | } |
| | | </style> |
| | |
| | | proxy: { |
| | | '/api': { |
| | | //æ¬å°æå¡æ¥å£å°å |
| | | target: 'http://192.168.1.104:37000', |
| | | // target: 'http://localhost:37000', |
| | | // target: 'http://localhost:37000', |
| | | // target: 'http://192.168.1.51:37000', |
| | | target: 'http://192.168.1.46:37000', |
| | | // target: 'http://192.168.1.46:37000', |
| | | // target: 'http://dev.vci-tech.com:37000', |
| | | // target: 'http://192.168.1.51:37000/', |
| | | // target: 'http://localhost:37000', |