样式调整

dev_2022-03-03
e 3 years ago
parent 336e0a9421
commit 9e20bf4afa
  1. 10
      src/setting.js
  2. 13
      src/views/order/AddOrder.vue
  3. 2
      src/views/serve/projectList.vue

@ -4,7 +4,7 @@
const url = location.host; const url = location.host;
const isDev = process.env.NODE_ENV === 'development'; // 开发环境 const isDev = process.env.NODE_ENV === 'development'; // 开发环境
const isTest = url.includes('39.108.250.202'); //测试服 const isTest = url.includes('39.108.250.202'); //测试服
const isPro = url.includes('124.71.12.62'); //正式服 const isPro = url.includes('www.huorantech.cn'); //正式服
let jumpPath = ""; let jumpPath = "";
let host = ""; let host = "";
@ -23,10 +23,10 @@ if (isDev) {
host = "http://39.108.250.202:9000"; host = "http://39.108.250.202:9000";
// host = "http://124.71.12.62:9000";//线上 // host = "http://124.71.12.62:9000";//线上
} else if (isPro) { } else if (isPro) {
jumpPath = "http://124.71.12.62/judgmentPoint/"; // jumpPath = "http://124.71.12.62/judgmentPoint/";
host = "http://124.71.12.62:9000";//线上 // host = "http://124.71.12.62:9000";//线上
// jumpPath = "http://www.huorantech.cn/judgmentPoint/"; jumpPath = "http://www.huorantech.cn/judgmentPoint/";
// host = "http://www.huorantech.cn:9000";//线上 host = "http://www.huorantech.cn:9000";//线上
} }

@ -249,12 +249,12 @@
</div> </div>
<!--:summary-method="getSummaries"--> <!--:summary-method="getSummaries"-->
<el-table :data="dataPlatformPermissions" class="orderTable" stripe header-align="center"> <el-table :data="dataPlatformPermissions" class="orderTable orderTables" stripe header-align="center">
<el-table-column type="index" width="60" label="序号" align="center"> <el-table-column type="index" width="60" label="序号" align="center">
</el-table-column> </el-table-column>
<el-table-column prop="productName" label="产品名称" align="center" min-width="150"> <el-table-column prop="productName" label="产品名称" align="center" min-width="100">
</el-table-column> </el-table-column>
<el-table-column label="使用期限" align="center" min-width="80"> <el-table-column label="使用期限" align="center" min-width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="small"> <div class="small">
<el-input onkeyup="value=this.value.replace(/\D+/g,'')" <el-input onkeyup="value=this.value.replace(/\D+/g,'')"
@ -273,7 +273,7 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="起止日期" align="center" min-width="100"> <el-table-column label="起止日期" align="center" min-width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<p v-if="!scope.row.startTime"> <p v-if="!scope.row.startTime">
<el-date-picker <el-date-picker
@ -295,7 +295,7 @@
<span v-if="scope.row.startTime"><span v-if='scope.row.endTime'> - </span>{{ scope.row.endTime }}</span></p> <span v-if="scope.row.startTime"><span v-if='scope.row.endTime'> - </span>{{ scope.row.endTime }}</span></p>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="剩余期限" align="center" min-width="80"> <el-table-column label="剩余期限" align="center" min-width="65">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="small"> <div class="small">
<el-input disabled v-model="scope.row.remainingPeriod" placeholder="" <el-input disabled v-model="scope.row.remainingPeriod" placeholder=""
@ -1464,6 +1464,9 @@ export default {
/deep/.orderTable .el-select>.el-input{ /deep/.orderTable .el-select>.el-input{
width: 30%; width: 30%;
} }
/deep/.orderTables .el-select>.el-input{
width: 35%;
}
/deep/ .course-input .red .el-input__inner { /deep/ .course-input .red .el-input__inner {
border: 1px solid red; border: 1px solid red;
} }

@ -226,7 +226,7 @@ export default {
if (this.$route.query.founder && this.$route.query.founder != 'undefined'){ if (this.$route.query.founder && this.$route.query.founder != 'undefined'){
this.queryData.founder = +this.$route.query.founder this.queryData.founder = +this.$route.query.founder
}else{ }else{
this.queryData.founder = 2 this.queryData.founder = 0
} }
this.getData(); this.getData();
}, },

Loading…
Cancel
Save