Commit f5fcf719 authored by zhengke's avatar zhengke

修改

parent 10a61bc1
...@@ -173,7 +173,7 @@ export default { ...@@ -173,7 +173,7 @@ export default {
} }
</script> </script>
<style> <style>
@import "//at.alicdn.com/t/font_635492_jhwh1knmwnd.css"; @import "//at.alicdn.com/t/font_635492_3ih8u0oth65.css";
@import "./assets/css/Semibold.css"; @import "./assets/css/Semibold.css";
@import "./assets/css/global/config.css"; @import "./assets/css/global/config.css";
@import "./assets/css/fileIcon.css"; @import "./assets/css/fileIcon.css";
......
...@@ -190,17 +190,14 @@ ...@@ -190,17 +190,14 @@
<el-button type="info" icon="el-icon-upload2" circle @click="SubmitContract(item)"></el-button> <el-button type="info" icon="el-icon-upload2" circle @click="SubmitContract(item)"></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" v-if="item.Status==2" effect="dark" content="复制链接发送给客户" placement="top-start"> <el-tooltip class="item" v-if="item.Status==2" effect="dark" content="复制链接发送给客户" placement="top-start">
<el-button type="info" icon="el-icon-upload2" circle @click="CopyUrl('Copy'+index)"></el-button> <el-button type="info" icon="iconfont icon-copy-l" circle @click="CopyUrl(item)" style="padding:4px;background-color:#9266f9;border-color:#9266f9;"></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="取消" placement="top-start"> <el-tooltip class="item" effect="dark" content="取消" placement="top-start">
<el-button type="danger" icon="el-icon-close" circle @click="DeleteContract(item)"></el-button> <el-button type="danger" icon="el-icon-close" circle @click="DeleteContract(item)"></el-button>
</el-tooltip> </el-tooltip>
<!-- 隐藏的复制项 -->
<input type="text" v-model="item.Url" :id="'Copy'+index" style="display:none;">
</td> </td>
</tr> </tr>
</table> </table>
<input type="text" v-model="hidInput" id="copyObj" style="opacity:0">
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total"> layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total">
</el-pagination> </el-pagination>
...@@ -215,7 +212,6 @@ ...@@ -215,7 +212,6 @@
currentPage: 1, currentPage: 1,
dataList: [], dataList: [],
loading: false, //页面加载 loading: false, //页面加载
hidInput:'',
msg: { msg: {
T_ContractNum: "", //合同编号 T_ContractNum: "", //合同编号
CType: 0, //合同类型 CType: 0, //合同类型
...@@ -295,10 +291,15 @@ ...@@ -295,10 +291,15 @@
}); });
}, },
//复制URL //复制URL
CopyUrl(id){ CopyUrl(item){
let url = document.querySelector('#'+id); var oInput = document.createElement('input');
url.select(); // 选择对象 oInput.value = item.Url;
document.execCommand("Copy"); document.body.appendChild(oInput);
oInput.select(); // 选择对象
document.execCommand("Copy"); // 执行浏览器复制命令
oInput.className = 'oInput';
oInput.style.display='none';
this.Info("复制成功!");
}, },
//跳转 //跳转
getImport(command) { getImport(command) {
......
...@@ -111,9 +111,13 @@ export default { ...@@ -111,9 +111,13 @@ export default {
//域名管理对象 //域名管理对象
Vue.prototype.domainManager = function () { Vue.prototype.domainManager = function () {
let domainUrl = ''; let domainUrl = '';
//domainUrl = "http://192.168.2.214:8082"; //domainUrl = "http://192.168.0.125";
//domainUrl = "http://192.168.2.65:8025"; //domainUrl = "http://192.168.2.65:8025";
domainUrl = "http://192.168.2.16:8083"; // 吴春 domainUrl = "http://192.168.2.16:8083"; // 吴春
//domainUrl = "http://192.168.2.214:8082"; // 吴春
//domainUrl = "http://192.168.0.125"; // 吴春
//domainUrl='http://reborn.oytour.com'
//domainUrl = "http://testapi.oytour.com";
let locationName = window.location.hostname; let locationName = window.location.hostname;
let javaUrldo=""; let javaUrldo="";
...@@ -361,7 +365,7 @@ export default { ...@@ -361,7 +365,7 @@ export default {
//请求Java接口 //请求Java接口
Vue.prototype.apiJavaPost = function (cmd, msg, successCall, faildCall) { Vue.prototype.apiJavaPost = function (cmd, msg, successCall, faildCall) {
if (this.$route.name.indexOf('login') === -1 && this.$route.name.indexOf('confirmationOrderDownLoad') === -1 && this.$route.name.indexOf('PrintPage') === -1 && this.$route.name.indexOf('clientConfirm') === -1) { if (this.$route.name.indexOf('login') === -1 && this.$route.name.indexOf('confirmationOrderDownLoad') === -1 && this.$route.name.indexOf('PrintPage') === -1 && this.$route.name.indexOf('clientConfirm') === -1&& this.$route.name.indexOf('TravelContractConfirm') === -1) {
let previousPathInfo = { let previousPathInfo = {
path: this.$route.name, path: this.$route.name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment