峰峰执法平台简易案件程序板块 pad端
zhangxiaoxu123
2022-10-26 ce3c9d345a27d3a86e6c096d927f3ee619b6e68f
细节
6个文件已修改
58 ■■■■■ 已修改文件
src/store/modules/user.js 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/padSunmaryProcedure/index.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/padSunmaryProcedure/padWord.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/padSunmaryProcedure/word_mange/mangeBL.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/padSunmaryProcedure/word_mange/mangeGZ.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/padSunmaryProcedure/word_mange/mangeJD.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/store/modules/user.js
@@ -30,6 +30,9 @@
const user = {
  state: {
    id: getStore({
      name: 'id'
    }),
    userInfo: getStore({
      name: 'userInfo'
    }) || {},
@@ -198,6 +201,14 @@
    }
  },
  mutations: {
    SET_ID: (state, id) => {
      state.id = id
      setStore({
        name:'id',
        content: state.id,
        type: 'session'
      })
    },
    SET_ACCESS_TOKEN: (state, access_token) => {
      state.access_token = access_token
      setStore({
src/views/padSunmaryProcedure/index.vue
@@ -36,13 +36,13 @@
          min-width="22%"
        ></el-table-column>
        <el-table-column
          prop="unitName"
          prop="createTime"
          label="提交时间"
          sortable
          min-width="18%"
        ></el-table-column>
        <el-table-column
          prop="caseSource"
          prop="hanlders"
          label="执法人"
          :show-overflow-tooltip="true"
          min-width="18%"
@@ -115,10 +115,11 @@
      this.$router.push({
        path: '/padWord',
        query: {
          id: row.id,
          //id: row.id,
          name:row.casePoint
        }
      })
        this.$store.commit('SET_ID',row.id)
    },
    //打开新增弹框
    getById(){
src/views/padSunmaryProcedure/padWord.vue
@@ -8,13 +8,13 @@
    <el-tabs type="border-card" style="margin-top: 10px!important;" v-model="activeName" @tab-click="handleClick"
             :stretch="true">
      <el-tab-pane label="调查询问笔录" name="first">
        <BiLu v-if="id" :id="id"></BiLu>
        <BiLu v-if="activeName == 'first'"></BiLu>
      </el-tab-pane>
      <el-tab-pane label="责令限期改正通知书" name="second">
        <GaiZheng v-if="id" :id="id"></GaiZheng>
        <GaiZheng v-if="activeName == 'second'"></GaiZheng>
      </el-tab-pane>
      <el-tab-pane label="处罚决定书" name="third">
        <JueDingShu v-if="id" :id="id"></JueDingShu>
        <JueDingShu v-if="activeName == 'third'"></JueDingShu>
      </el-tab-pane>
    </el-tabs>
  </div>
@@ -35,7 +35,6 @@
  },
  data() {
    return {
      id: '',
      form:{
        id:''
      },
@@ -46,8 +45,6 @@
  created() {
    if (this.$route.query) {
      this.$nextTick(() => {
        this.id = this.$route.query.id
          console.log(this.id,'id==========')
        this.name1 = this.$route.query.name
      })
    }
@@ -73,6 +70,7 @@
    },*/
    handleClick(tab, event) {
      console.log(tab, event);
      this.activeName = tab.name
    }
  }
}
src/views/padSunmaryProcedure/word_mange/mangeBL.vue
@@ -141,9 +141,9 @@
export default {
  name: "mangeBL",
  props: ['id'],
  data() {
    return {
        id:'',
      value1: [],
      form: {
        causePoint: "",
@@ -173,7 +173,8 @@
      },
    }
  },
  created() {
  mounted() {
    this.id = this.$store.state.user.id
    this.getDataList()
    window.getSignUrl =this.getSignUrl;
    window.getFingerUrl =this.getFingerUrl;
@@ -184,14 +185,11 @@
    },*/
  methods: {
    getDataList() {
      this.$nextTick(()=>{
        // console.log(this.id,'this.id')
        inquiryquestion(this.id).then(res => {
          this.form = res.data.data
          this.value1.push(res.data.data.startTime)
          this.value1.push(res.data.data.endTime)
            this.form = res.data.data
            this.value1.push(res.data.data.startTime)
            this.value1.push(res.data.data.endTime)
        })
      })
    },
    // 点击添加
src/views/padSunmaryProcedure/word_mange/mangeGZ.vue
@@ -114,9 +114,9 @@
export default {
  name: "mangeGZ",
  props:['id'],
  data(){
    return{
        id:'',
      form:{
        unitName:"",
        litigant:"",
@@ -138,7 +138,8 @@
      },
    }
  },
  created() {
  mounted() {
    this.id = this.$store.state.user.id
    this.getDataList()
  },
  methods:{
src/views/padSunmaryProcedure/word_mange/mangeJD.vue
@@ -124,9 +124,9 @@
export default {
  name: "mangeJD",
  props: ['id'],
  data() {
    return {
        id:'',
      form: {
        unitName: "",
        litigant: "",
@@ -138,7 +138,8 @@
      }
    }
  },
  created() {
  mounted() {
    this.id = this.$store.state.user.id
    this.init();
  },
  methods: {
@@ -149,9 +150,9 @@
    },
    //点击保存数据
    dataFormSubmit() {
      this.form.startTime = this.value1[0]
      this.form.endTime = this.value1[1]
      this.form.registerId = this.id
      /*this.form.startTime = this.value1[0]
      this.form.endTime = this.value1[1]*/
      //this.form.registerId = this.id
      inquiry(this.form).then(res => {
        if (res.data.code == 0) {
          this.$message.success("保存成功");