| | |
| | | NODE_ENV = 'development' |
| | | |
| | | # 企业端-仁康 |
| | | VUE_APP_API = 'http://192.168.0.134:10025/' |
| | | #VUE_APP_API = 'http://192.168.0.134:10025/' |
| | | |
| | | # 平台端-仁康 |
| | | # VUE_APP_API = 'http://192.168.0.134:10023/' |
| | |
| | | # 平台端-萍姐 |
| | | # VUE_APP_API = 'http://192.168.0.102:10023/' |
| | | |
| | | # VUE_APP_API = 'http://localhost:10023/' |
| | | VUE_APP_API = 'http://localhost:10023/' |
| | | # VUE_APP_API = 'http://localhost:10023/' |
| | |
| | | trim: true |
| | | }) |
| | | } |
| | | export function backApply(data) { |
| | | return request.post('/business/taxes/backApply', data, { |
| | | trim: true |
| | | }) |
| | | } |
| | |
| | | </div> |
| | | </div> |
| | | </template> |
| | | <upload width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @success="claimsUploadFile($event, 2)" /> |
| | | <template v-else> |
| | | <span style=" width:100%;text-align:center;color: #8c939d;font-size: 12px" v-if="model.status ==2 || model.status ==4">暂无数据</span> |
| | | </template> |
| | | <upload v-if="model.status !=2 && model.status !=4" width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @success="claimsUploadFile($event, 2)" /> |
| | | <!-- <div class="desc_data_list_item">--> |
| | | <!-- <UploadFileCommon :uploadData="{ folder: 'settle' }" />--> |
| | | <!-- <div class="desc_data_list_item_upload">--> |
| | |
| | | </div> |
| | | </div> |
| | | </template> |
| | | <upload width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @success="claimsUploadFile($event, 3)" /> |
| | | <template v-else> |
| | | <span style=" width:100%;text-align:center;color: #8c939d;font-size: 12px" v-if="model.status ==2 || model.status ==4">暂无数据</span> |
| | | </template> |
| | | <upload v-if="model.status !=2 && model.status !=4" width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @success="claimsUploadFile($event, 3)" /> |
| | | <!-- <div class="desc_data_list_item">--> |
| | | <!-- <div class="desc_data_list_item_img" style="cursor: pointer; background: #8c939d;">--> |
| | | <!-- <i class="el-icon-plus"></i>--> |
| | |
| | | </div> |
| | | </div> |
| | | </template> |
| | | <upload width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @success="claimsUploadFile($event, 4)" /> |
| | | <template v-else> |
| | | <span style=" width:100%;text-align:center;color: #8c939d;font-size: 12px" v-if="model.status ==2 || model.status ==4">暂无数据</span> |
| | | </template> |
| | | <upload v-if="model.status !=2 && model.status !=4" width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @success="claimsUploadFile($event, 4)" /> |
| | | <!-- <div class="desc_data_list_item">--> |
| | | <!-- <div class="desc_data_list_item_img" style="cursor: pointer; background: #8c939d;">--> |
| | | <!-- <i class="el-icon-plus"></i>--> |
| | |
| | | </div> |
| | | </div> |
| | | </template> |
| | | <upload width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @success="claimsUploadFile($event, 5)" /> |
| | | <template v-else> |
| | | <span style=" width:100%;text-align:center;color: #8c939d;font-size: 12px" v-if="model.status ==2 || model.status ==4">暂无数据</span> |
| | | </template> |
| | | <upload v-if="model.status !=2 && model.status !=4" width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @success="claimsUploadFile($event, 5)" /> |
| | | <!-- <div class="desc_data_list_item">--> |
| | | <!-- <UploadFileCommon :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileList="form.fileList1" @uploadSuccess="baoxianFileUploaded" />--> |
| | | <!--<!– <div class="desc_data_list_item_img" style="cursor: pointer; background: #8c939d;">--> |
| | |
| | | </div> |
| | | </div> |
| | | </template> |
| | | <upload width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @success="claimsUploadFile($event, 6)" /> |
| | | <template v-else> |
| | | <span style=" width:100%;text-align:center;color: #8c939d;font-size: 12px" v-if="model.status ==2 || model.status ==4">暂无数据</span> |
| | | </template> |
| | | <upload v-if="model.status !=2 && model.status !=4" width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @success="claimsUploadFile($event, 6)" /> |
| | | <!-- <div class="desc_data_list_item">--> |
| | | <!-- <div class="desc_data_list_item_img" style="cursor: pointer; background: #8c939d;">--> |
| | | <!-- <i class="el-icon-plus"></i>--> |
| | |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | <el-dialog |
| | | title="上传发票" |
| | | :visible.sync="visible1" |
| | | width="500px" |
| | | style="margin-top: 150px" |
| | | :show-close="false" |
| | | append-to-body |
| | | :close-on-click-modal="false" |
| | | center> |
| | | <div class="form"> |
| | | <div class="form_item"> |
| | | <div class="form_item_val"> |
| | | <el-form :model="form" ref="form" :rules="rules" style="width: 100%;"> |
| | | <el-form-item label="填写退回说明:":inline="true" prop="backInfo"> |
| | | <el-input v-model="form.backInfo" type="textarea" placeholder="请输入" /> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="visible1 = false">取 消</el-button> |
| | | <el-button type="primary" @click="backDo()">提 交</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | <template v-slot:footer> |
| | | <el-button v-if="model.status ==0 && !visible1" type="danger" @click="visible1=true">退回申请</el-button> |
| | | <el-button @click="visible=false">取消</el-button> |
| | | </template> |
| | | </GlobalWindow> |
| | | </template> |
| | | |
| | | <script> |
| | | import BaseOpera from '@/components/base/BaseOpera' |
| | | import GlobalWindow from '@/components/common/GlobalWindow' |
| | | import { getDetail } from '@/api/business/taxes' |
| | | import { getDetail,backApply } from '@/api/business/taxes' |
| | | export default { |
| | | name: 'OperaCompanyWindow', |
| | | extends: BaseOpera, |
| | |
| | | return { |
| | | // 表单数据 |
| | | model: {}, |
| | | visible1:false, |
| | | form: { |
| | | id: null |
| | | id: null, |
| | | backInfo:'' |
| | | }, |
| | | // 验证规则 |
| | | rules: {}, |
| | | rules: { |
| | | backInfo: [ |
| | | { required: true, message: '请输入退回说明' } |
| | | ], |
| | | }, |
| | | tableData: [], |
| | | tableData1: [], |
| | | tableData2: [] |
| | |
| | | open (title, target) { |
| | | this.title = title |
| | | this.visible = true |
| | | this.visible1 = false |
| | | this.form.backInfo='' |
| | | this.model = {} |
| | | this.tableData = [] |
| | | this.tableData1 = [] |
| | | this.tableData2 = [] |
| | | this.model = target |
| | | this.form.id = target.id |
| | | this.getDetails() |
| | | }, |
| | | backDo(){ |
| | | this.$refs.form.validate((valid) => { |
| | | if (!valid) { |
| | | return |
| | | } |
| | | this.isWorking = true |
| | | backApply(this.form) |
| | | .then(response => { |
| | | this.visible1 = false |
| | | this.getDetails() |
| | | this.$emit('success') |
| | | }).catch(err => { |
| | | this.$tip.apiFailed(err) |
| | | }).finally(() => { |
| | | this.isWorking = false |
| | | }) |
| | | }) |
| | | }, |
| | | getDetails () { |
| | | getDetail(this.model.id).then(res => { |
| | |
| | | color:rgba(249, 86, 1, 0.996078431372549); |
| | | } |
| | | } |
| | | ::v-deep .el-table__header-wrapper th:first-child .cell{ |
| | | color:rgba(249, 86, 1, 0.996078431372549) !important |
| | | } |
| | | ::v-deep table:first-of-type th:first-child .cell{ |
| | | //color:rgba(249, 86, 1, 0.996078431372549) !important |
| | | } |
| | | /* ::v-deep .el-table--border th:first-child .cell { |
| | | &:nth-child(2) { |
| | | color:rgba(249, 86, 1, 0.996078431372549); |
| | | } |
| | | }*/ |
| | | /* ::v-deep .el-table__header-wrapper th:first-child .cell{ |
| | | color:rgba(249, 86, 1, 0.996078431372549) !important |
| | | } |
| | | ::v-deep table:first-of-type th:first-child .cell{ |
| | | //color:rgba(249, 86, 1, 0.996078431372549) !important |
| | | } |
| | | ::v-deep .el-table--border th:first-child .cell { |
| | | &:nth-child(2) { |
| | | color:rgba(249, 86, 1, 0.996078431372549); |
| | | } |
| | | }*/ |
| | | |
| | | |
| | | .info { |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | .form { |
| | | width: 100%; |
| | | display: flex; |
| | | flex-direction: column; |
| | | .form_item { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | margin-bottom: 20px; |
| | | &:last-child { |
| | | margin-bottom: 0 !important; |
| | | } |
| | | .form_item_label { |
| | | width: 100px; |
| | | flex-shrink: 0; |
| | | font-size: 14px; |
| | | color: black; |
| | | } |
| | | .form_item_val { |
| | | flex: 1; |
| | | min-height: 35px; |
| | | display: flex; |
| | | align-items: center; |
| | | input { |
| | | width: 100%; |
| | | height: 100%; |
| | | font-size: 14px; |
| | | color: black; |
| | | padding: 5px 10px; |
| | | outline: none; |
| | | box-sizing: border-box; |
| | | border: 1px solid #ececec; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </style> |
| | |
| | | */ |
| | | @Slf4j |
| | | public class Http { |
| | | |
| | | /** |
| | | * 获取Http连接 |
| | | * @param url 请求地址 |