Browse Source

1、文件整理

zjz 1 year ago
parent
commit
9b9f224132

+ 9 - 9
public/Voice/qyagent-3.0.0.js

@@ -80,16 +80,16 @@ $.extend({
       if (this.m_log_enable) {
         console.info(this.dateFormatter() + ' ' + msg)
 
-        var db = this.openDB('QYLog', '日志系统', 1024 * 1024)
-        this.createTable(db, 'logs')
+        // var db = this.openDB('QYLog', '日志系统', 1024 * 1024)
+        // this.createTable(db, 'logs')
 
-        db.transaction(function(tx) {
-          var time = $.QYAgent.dateFormatter()
+        // db.transaction(function(tx) {
+        //   var time = $.QYAgent.dateFormatter()
 
-          var msgTrans = msg.replace(/"/g, '`') // 20170831 对字符串的引号进行转义
-          var strSql = 'INSERT INTO logs (addTime, log) VALUES ("' + time + '", "' + msgTrans + '")'
-          tx.executeSql(strSql)
-        })
+        //   var msgTrans = msg.replace(/"/g, '`') // 20170831 对字符串的引号进行转义
+        //   var strSql = 'INSERT INTO logs (addTime, log) VALUES ("' + time + '", "' + msgTrans + '")'
+        //   tx.executeSql(strSql)
+        // })
       }
     },
 
@@ -233,7 +233,7 @@ $.extend({
     // 心跳
     OnTimerHeart: function() {
       var p = $.QYAgent
-      
+
       p.m_Timeout_Count++
       if (p.m_Timeout_Count >= 30) {
         if (p.m_EnableHeart) {

+ 30 - 14
src/views/currentSystem/work/order/finalDecision1/result_merge_print.vue

@@ -5,10 +5,15 @@
     </div>
 
     <!-- 驳回流程 -->
-    <div style="width: 100%; display: flex; flex-direction: row; flex-wrap:wrap; justify-content:flex-start;"
-      v-if="bhjl[0]">
-      <div style="width: 100%; display: flex; flex-direction: row; flex-wrap:wrap; justify-content:flex-start;"
-        v-for="item in bhjl" :key="item.id">
+    <div
+      v-if="bhjl[0]"
+      style="width: 100%; display: flex; flex-direction: row; flex-wrap:wrap; justify-content:flex-start;"
+    >
+      <div
+        v-for="item in bhjl"
+        :key="item.id"
+        style="width: 100%; display: flex; flex-direction: row; flex-wrap:wrap; justify-content:flex-start;"
+      >
         <div style="width:100%; line-height:40px; display: flex; flex-direction: row; justify-content:flex-start; ">
           <div style="width: 100px;text-align: right;">驳回意见:</div>
           <div style="width: calc(100% - 100px); text-align: left; padding-left: 10px;">{{ item.auditNotes }}</div>
@@ -29,10 +34,15 @@
     </div>
 
     <!-- 转派 -->
-    <div style="width: 100%; display: flex; flex-direction: row; flex-wrap:wrap; justify-content:flex-start;"
-      v-if="zpjl[0]">
-      <div style="width: 100%; display: flex; flex-direction: row; flex-wrap:wrap; justify-content:flex-start;"
-        v-for="item in zpjl" :key="item.id">
+    <div
+      v-if="zpjl[0]"
+      style="width: 100%; display: flex; flex-direction: row; flex-wrap:wrap; justify-content:flex-start;"
+    >
+      <div
+        v-for="item in zpjl"
+        :key="item.id"
+        style="width: 100%; display: flex; flex-direction: row; flex-wrap:wrap; justify-content:flex-start;"
+      >
         <div style="width:100%; line-height:40px; display: flex; flex-direction: row; justify-content:flex-start; ">
           <div style="width: 100px;text-align: right;">转派意见:</div>
           <div style="width: calc(100% - 100px); text-align: left; padding-left: 10px;">{{ item.zpyj }}</div>
@@ -77,8 +87,10 @@
         </div>
       </div>
 
-      <div style="width: 100%; display: flex; flex-direction: row; flex-wrap:wrap; justify-content:flex-start;"
-        v-if="data.shrdj>1" >
+      <div
+        v-if="data.shrdj>1"
+        style="width: 100%; display: flex; flex-direction: row; flex-wrap:wrap; justify-content:flex-start;"
+      >
         <div style="display: block;height: 1px;width: 100%;margin: 24px 0; background-color: #DCDFE6; position: relative">
           <div style="left: 50%;transform: translateX(-50%) translateY(-50%); position: absolute;background-color: #FFF;padding: 0 20px; font-weight: 500;font-size: 14px;">
             二级审核
@@ -106,8 +118,10 @@
         </div>
       </div>
 
-      <div style="width: 100%; display: flex; flex-direction: row; flex-wrap:wrap; justify-content:flex-start;"
-        v-if="data.shrdj>2" >
+      <div
+        v-if="data.shrdj>2"
+        style="width: 100%; display: flex; flex-direction: row; flex-wrap:wrap; justify-content:flex-start;"
+      >
         <div style="display: block;height: 1px;width: 100%;margin: 24px 0; background-color: #DCDFE6; position: relative">
           <div style="left: 50%;transform: translateX(-50%) translateY(-50%); position: absolute;background-color: #FFF;padding: 0 20px; font-weight: 500;font-size: 14px;">
             三级审核
@@ -135,8 +149,10 @@
         </div>
       </div>
 
-      <div style="width: 100%; display: flex; flex-direction: row; flex-wrap:wrap; justify-content:flex-start;"
-        v-if="data.shrdj>2" >
+      <div
+        v-if="data.shrdj>2"
+        style="width: 100%; display: flex; flex-direction: row; flex-wrap:wrap; justify-content:flex-start;"
+      >
         <div style="display: block;height: 1px;width: 100%;margin: 24px 0; background-color: #DCDFE6; position: relative">
           <div style="left: 50%;transform: translateX(-50%) translateY(-50%); position: absolute;background-color: #FFF;padding: 0 20px; font-weight: 500;font-size: 14px;">
             四级审核

+ 0 - 205
src/views/dataBoard/smartMarketing/components/moneydata/qfyhmonth 20221110.vue

@@ -1,205 +0,0 @@
-<template>
-  <div class="qfyhmonth" v-loading="loading" element-loading-background="rgba(0, 0, 0, 0)">
-    <div class="smallTitle">{{title}}</div>
-    <div class="userchart" ref="chart"></div>
-  </div>
-</template>
-
-<script>
-import { GetQf3Data } from '@/api/dataBoard/misdata'
-import comMixins from '@/views/dataBoard/mixins/comMixins'
-
-export default {
-  name: 'qfyhmonth',
-  props:{
-
-  },
-  mixins: [comMixins],
-  data() {
-    return {
-      title:'欠费超过3个月的用户统计',
-      seriesData1:[1,2,4,5,6,2,2,9,2,11,2,5],
-      loading:true,
-    }
-  },
-  components: {
-  },
-  created(){
-    this.GetQf3DataList()
-  },
-  mounted() {
-  },
-  methods: {
-    /**
-     * @desc
-     */
-    GetQf3DataList(){
-      const that = this
-      GetQf3Data({}).then((res) => {
-        //console.log("GetQf3Data"+JSON.stringify(res))
-        if(res.Code == 200){
-         
-          const rows = res.Result.rows
-          if(rows.length>0){
-            let chartData = {
-              dataAry:[],
-              sumMoney:0,
-              seriesAry1:[],
-              seriesAry2:[],
-            }
-            rows.forEach(item => {
-              chartData.dataAry.push(item.JDCWRQ)
-              chartData.seriesAry1.push(Number(item.QF3COUNT))
-              chartData.sumMoney += item.QF3ZJE
-              chartData.seriesAry2.push(that.accDiv(item.QF3ZJE,10000).toFixed(2) )
-            });
-
-            chartData.sumMoney = that.accDiv(chartData.sumMoney,10000).toFixed(2)
-            that.drawChart(chartData)
-          }else{
-            that.drawNull(that.$refs.chart)
-          }
-          that.loading = false
-        }else{
-          //console.log("GetQf3Data:"+res.Message)
-          that.loading = false
-        }
-      }).catch((err) => {
-        //console.log("GetQf3Data:"+err)
-        that.loading = false
-      });
-    },
-
-
-    /**
-     * @description 绘制图形
-     */
-    drawChart(chartData) {
-      const chartReady = this.$echarts.init(this.$refs.chart)
-      const options = {
-        title: {
-          text: '总欠费:'+chartData.sumMoney+'万元',
-          textStyle:{
-            color:'#A4D9F9',
-            fontSize:'12'
-          }
-        },
-        tooltip: {
-          trigger: 'axis',
-          axisPointer: {           
-              type: 'shadow'        
-          },
-          // formatter: '{b0}<br />{a0}: {c0}'
-          formatter: function (datas) {
-            //console.log(JSON.stringify(datas))
-            var res = datas[0].name + '<br/>'
-            for (var i = 0, length = datas.length; i < length; i++) {
-              res += datas[i].seriesName + ':' + datas[i].value + (i==0?'个':'万元') + ' <br/>'
-            }
-            return res
-          }
-        },
-        legend: {
-          right:'0',
-          textStyle:{
-            color:'#A4D9F9'
-          }
-        },
-        grid: {
-          top:'22%',
-          left: '4%',
-          right: '2%',
-          bottom: '5%',
-          containLabel: true
-        },
-        xAxis: {
-          type: 'category',
-          data: chartData.dataAry,// ['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月'],
-          axisLabel: {
-            color: '#A4D9F9'
-          }
-        },
-        yAxis: [
-          {
-            type: 'value',
-            splitLine:{
-              lineStyle:{
-                color: "rgba(255, 255, 255, 0.24)"
-              }
-            },
-            axisLabel: {
-              // formatter: '{value} 个',
-              color: '#A4D9F9'
-            },
-          },
-          {
-            type: 'value',
-            splitLine:{
-              lineStyle:{
-                color: "rgba(255, 255, 255, 0.24)"
-              }
-            },
-            axisLabel: {
-              // formatter: '{value} 万元',
-              color: '#A4D9F9'
-            },
-          },
-        ],
-        series: [
-          {
-            name: '欠费用户',
-            type: 'bar',
-            data: chartData.seriesAry1,
-            barWidth:'36%',
-            itemStyle: {
-              color: new this.$echarts.graphic.LinearGradient(0, 0, 0, 1, [
-                { offset: 0, color: '#20AEFF' },
-                { offset: 0.5, color: '#148DF9' },
-                { offset: 1, color: '#0373F1' }
-              ])
-            },
-          },
-          {
-            name: '欠费金额',
-            type: 'line',
-            yAxisIndex: 1,
-            data: chartData.seriesAry2,
-            itemStyle: {
-              color: new this.$echarts.graphic.LinearGradient(0, 0, 0, 1, [
-                { offset: 0, color: '#20AEFF' },
-                { offset: 0.5, color: '#148DF9' },
-                { offset: 1, color: '#0373F1' }
-              ])
-            },
-          }
-        ]
-      }
-      chartReady.setOption(options)
-
-      //自定义缩放
-      window.addEventListener("resize", () => {
-        if(chartReady){
-          chartReady.resize()
-        }
-      })
-    },
-  }
-}
-</script>
-
-<style lang='scss'>
-  .qfyhmonth{
-    width: calc(100% - 16px);
-    height: calc(100% - 16px);
-    position: relative;
-    padding: 8px;
-    // border: 1px yellow solid;
-
-    .userchart{
-      padding-top: 26px;
-      width: 100%;
-      height: calc(100% - 26px);
-      // border: 1px red solid;
-    }
-  }
-</style>>

+ 0 - 162
src/views/dataBoard/smartMarketing/components/moneydata/sffschart 20221110.vue

@@ -1,162 +0,0 @@
-<template>
-  <div class="sffschart" v-loading="loading" element-loading-background="rgba(0, 0, 0, 0)">
-    <div class="smallTitle">近12月收费方式</div>
-    <div class="line" ref="chart"></div>
-  </div>
-</template>
-
-<script>
-import { GetPlacePay } from '@/api/dataBoard/misdata'
-import comMixins from '@/views/dataBoard/mixins/comMixins'
-
-export default {
-  name: 'sffschart',
-  data() {
-    return {
-      loading:true,
-      // seriesData:[1,2,4,5,6],
-    }
-  },
-  mixins: [comMixins],
-  components: {
-  },
-  created(){
-    this.GetPlacePayList()
-  },
-  mounted() {
-    
-  },
-  methods: {
-    /**
-     * @description 各个渠道缴费金额
-     */
-    GetPlacePayList(){
-      const that = this
-      GetPlacePay({}).then((res) => {
-        //console.log("GetPlacePay:"+JSON.stringify(res))
-        if(res.Code == 200){
-          let chartData = {
-            seriesAry1:[],
-          }
-          chartData.seriesAry1.push(that.accDiv(res.Result.GT,10000).toFixed(2))
-          chartData.seriesAry1.push(that.accDiv(res.Result.WX,10000).toFixed(2))
-          chartData.seriesAry1.push(that.accDiv(res.Result.GH,10000).toFixed(2))
-          chartData.seriesAry1.push(that.accDiv(res.Result.NX,10000).toFixed(2))
-          chartData.seriesAry1.push(that.accDiv(res.Result.YLSW,10000).toFixed(2))
-          chartData.seriesAry1.push(that.accDiv(res.Result.QT,10000).toFixed(2))
-          that.drawChart(chartData)
-
-          that.loading = false
-        }else{
-          //console.log("GetPlacePay:"+res.Message)
-          that.loading = false
-        }
-      }).catch((err) => {
-        //console.log("GetPlacePay:"+err)
-        that.loading = false
-      });
-    },
-
-    /**
-     * @description 绘制图形
-     */
-    drawChart(chartData) {
-      const chartReady = this.$echarts.init(this.$refs.chart)
-      const options = {
-        // title: {
-        //   text: '收费方式',
-        //   textStyle:{
-        //     color:'#22AFFF',
-        //     fontSize:'12'
-        //   }
-        // },
-        tooltip: {
-          trigger: 'axis',
-          axisPointer: {           
-              type: 'shadow'        
-          },
-          formatter: '{b0}<br />{a0}: {c0} 万元'
-        },
-        grid: {
-          top:'22%',
-          left: '4%',
-          right: '2%',
-          bottom: '5%',
-          containLabel: true
-        },
-        xAxis: {
-          type: 'category',
-          data: ['柜台','微信','工行','农信','银联商务','其它'],
-          axisLabel: {
-            color: '#A4D9F9'
-          }
-        },
-        yAxis: {
-          // name: "漏损率统计",
-          type: 'value',
-          splitLine:{
-            lineStyle:{
-              color: "rgba(255, 255, 255, 0.24)"
-            }
-          },
-          // nameTextStyle:{
-          //   color: '#A4D9F9',
-          //   fontSize: 12,
-          //   // align:'left'
-          // },
-          axisLabel: {
-            color: '#A4D9F9'
-          },
-        },
-        series: [
-          {
-            name: '欠费',
-            type: 'bar',
-            data: chartData.seriesAry1,
-            barWidth:'36%',
-            label: {
-              formatter:'{c}',
-              color: '#FFFFFF',
-              // fontFamily: "myFont",
-              show: true,
-              position: 'top',
-              valueAnimation: true
-            },
-            itemStyle: {
-              color: new this.$echarts.graphic.LinearGradient(0, 0, 0, 1, [
-                { offset: 0, color: '#02A7C0' },
-                { offset: 0.5, color: '#027C96' },
-                { offset: 1, color: '#022742' }
-              ])
-            },
-          }
-        ]
-      }
-      chartReady.setOption(options)
-
-      //自定义缩放
-      window.addEventListener("resize", () => {
-        if(chartReady){
-          chartReady.resize()
-        }
-      })
-    },
-  }
-}
-</script>
-
-<style lang="scss">
- .sffschart{
-    width: calc(100% - 16px);
-    height: calc(100% - 16px);
-    position: relative;
-    padding: 8px;
-    // border: 1px red solid;
-
-    .line{
-      width: 100%;
-      height: 100%;
-      // border: 1px red solid;
-    }
-  }
-</style>