| | |
| | | // 修改外围单位人员 |
| | | export function updateExternalperson(data) { |
| | | return request({ |
| | | url: '/project/externalperson', |
| | | method: 'put', |
| | | url: '/project/externalperson/editZJInfo', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | </el-col> |
| | | </el-row> |
| | | <el-row v-if="jurisdiction"> |
| | | <!-- <el-alert title="当前为查看状态,不支持修改存储。" type="warning"> |
| | | </el-alert> --> |
| | | <el-alert |
| | | title="当前为查看状态,不支持修改存储。" |
| | | type="warning" |
| | | show-icon |
| | | > |
| | | </el-alert> |
| | | </el-row> |
| | | <el-row> |
| | | <div style="margin-bottom: 15px;"> |
| | | <el-button |
| | | type="success" |
| | | icon="el-icon-download" |
| | | @click="Batchentry" |
| | | >批量录入</el-button |
| | | > |
| | | </div> |
| | | </el-row> |
| | | <el-row> |
| | | <el-table |
| | |
| | | <el-button type="primary" @click="Savenow">确 定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | |
| | | <!-- 批量选取 --> |
| | | <el-dialog title="批量生成明细信息" :visible.sync="batchdialogVisible" width="30%"> |
| | | <div style="max-height: 300px; overflow-y: auto"> |
| | | <el-checkbox |
| | | :indeterminate="isIndeterminate" |
| | | v-model="checkAll" |
| | | @change="handleCheckAllChange" |
| | | >全选</el-checkbox |
| | | > |
| | | <div style="margin: 15px 0;"></div> |
| | | <el-checkbox-group |
| | | v-model="checkedCities" |
| | | @change="handleCheckedCitiesChange" |
| | | > |
| | | <el-checkbox |
| | | border |
| | | v-for="city in cityOptions" |
| | | :label="city" |
| | | :key="city" |
| | | >{{ city }}</el-checkbox |
| | | > |
| | | </el-checkbox-group> |
| | | </div> |
| | | |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="dialogVisible = false">取 消</el-button> |
| | | <el-button type="primary" @click="dialogVisible = false" |
| | | >确 定</el-button |
| | | > |
| | | </span> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | // 'sdaad2123UD2',1 'wsadadwsad',4 'sdadaddad',3 'ssaaddxs',2 |
| | | //这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等) |
| | | //例如:import 《组件名称》 from '《组件路径》'; |
| | | import { |
| | |
| | | feeUnitList: [], |
| | | // 网络请求头 |
| | | Networkheader: null, |
| | | |
| | | batchdialogVisible: false, |
| | | itemlist: [], |
| | | cityOptions: [ |
| | | "上海", |
| | | "北京", |
| | | "广州", |
| | | "深圳", |
| | | "杭州", |
| | | "温州", |
| | | "河南", |
| | | "莆田", |
| | | "广州", |
| | | "深圳", |
| | | "杭州", |
| | | "温州", |
| | | "河南", |
| | | "莆田", |
| | | "广州", |
| | | "深圳", |
| | | "杭州", |
| | | "温州", |
| | | "河南", |
| | | "莆田", |
| | | "广州", |
| | | "深圳", |
| | | "杭州", |
| | | "温州", |
| | | "河南", |
| | | "莆田", |
| | | "广州", |
| | | "深圳", |
| | | "杭州", |
| | | "温州", |
| | | "河南", |
| | | "莆田", |
| | | "广州", |
| | | "深圳", |
| | | "杭州", |
| | | "温州", |
| | | "河南", |
| | | "莆田", |
| | | "福州" |
| | | ], |
| | | checkAll: false, |
| | | checkedCities: ["上海", "北京"], |
| | | |
| | | isIndeterminate: true, |
| | | |
| | | //是否是专家费的OPO审批人员 |
| | | ismanager: false, |
| | |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | handleCheckAllChange(val) { |
| | | this.checkedCities = val ? this.cityOptions : []; |
| | | this.isIndeterminate = false; |
| | | }, |
| | | handleCheckedCitiesChange(value) { |
| | | let checkedCount = value.length; |
| | | this.checkAll = checkedCount === this.cityOptions.length; |
| | | this.isIndeterminate = |
| | | checkedCount > 0 && checkedCount < this.cityOptions.length; |
| | | }, |
| | | // 批量录入点击 |
| | | Batchentry() { |
| | | this.batchdialogVisible = true; |
| | | }, |
| | | // 确认录入 |
| | | BatchentryFn() {}, |
| | | //新增一行 |
| | | addRow(rowIndex) { |
| | | let rowData = { |
| | |
| | | |
| | | //文件上传 |
| | | handleUploadError() {}, |
| | | |
| | | /** 下载文件按钮操作 */ |
| | | // downFile(item) { |
| | | // const url = process.env.VUE_APP_BASE_API + item.url; |
| | | // var a = document.createElement("a"); |
| | | // var event = new MouseEvent("click"); |
| | | // a.download = item.name; |
| | | // a.href = url; |
| | | // a.dispatchEvent(event); |
| | | // }, |
| | | |
| | | // remove(file) { |
| | | // this.fileList.splice(this.fileList.indexOf(file), 1) |
| | | // }, |
| | | remove(file, fileList) { |
| | | const rbDetails = [...this.rbDetails]; |
| | | this.fileListto.splice(this.fileListto.indexOf(file), 1); |
| | | rbDetails[this.atpresent].annexfilesList = this.fileListto; |
| | | }, |
| | | |
| | | handleExceed() { |
| | | this.$message.error(`上传文件数量不能超过 ${5} 个!`); |
| | | }, |
| | | |
| | | //文件上传成功回调 |
| | |
| | | text-align: center; |
| | | } |
| | | ::v-deep .el-alert__title { |
| | | font-size: 20px; |
| | | line-height: 20px; |
| | | font-size: 25px; |
| | | line-height: 25px; |
| | | } |
| | | ::v-deep .el-checkbox.is-bordered + .el-checkbox.is-bordered { |
| | | margin-left: 0 !important; |
| | | margin-bottom: 10px; |
| | | } |
| | | </style> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column |
| | | <!-- <el-table-column |
| | | prop="foodexpenses" |
| | | label="餐费报销" |
| | | align="center" |
| | |
| | | " |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table-column> --> |
| | | <el-table-column |
| | | prop="foodallowance" |
| | | label="伙食补助" |