Jelajahi Sumber

菜单增改、机构增改选择父级增加顶级,访问日志列表删除请求地址,查看图片jpeg补充

俞宝山 4 tahun lalu
induk
melakukan
e06550a278

+ 1 - 1
_web/src/views/system/file/index.vue

@ -77,7 +77,7 @@
                  <a>删除</a>
            </a-popconfirm>
            <a-divider type="vertical" v-if="(hasPerm('sysFileInfo:preview') & record.fileSuffix === 'png' || record.fileSuffix === 'jpeg' || record.fileSuffix === 'jpg'|| record.fileSuffix === 'gif'|| record.fileSuffix === 'tif' || record.fileSuffix === 'bmp' ) & hasPerm('sysFileInfo:delete')"/>
            <a v-if="(hasPerm('sysFileInfo:preview') & record.fileSuffix === 'png' || record.fileSuffix === 'jpg'|| record.fileSuffix === 'gif'|| record.fileSuffix === 'tif' || record.fileSuffix === 'bmp' )" @click="$refs.previewForm.preview(record)">预览</a>
            <a v-if="(hasPerm('sysFileInfo:preview') & record.fileSuffix === 'png' || record.fileSuffix === 'jpeg'|| record.fileSuffix === 'jpg'|| record.fileSuffix === 'gif'|| record.fileSuffix === 'tif' || record.fileSuffix === 'bmp' )" @click="$refs.previewForm.preview(record)">预览</a>
          </span>
        </s-table>

+ 0 - 4
_web/src/views/system/log/vislog/index.vue

@ -114,10 +114,6 @@
            title: '浏览器',
            dataIndex: 'browser'
          },
          {
            title: '请求地址',
            dataIndex: 'location'
          },
          {
            title: '访问时间',
            dataIndex: 'visTime'

+ 8 - 2
_web/src/views/system/menu/addForm.vue

@ -366,7 +366,6 @@
        return getAppList().then((res) => {
          if (res.success) {
            this.appData=res.data
              //this.form.getFieldDecorator('application',{initialValue:this.appData[0].code,initialName:this.appData[0].name})
          } else {
            this.$message.warning(res.message)
          }
@ -376,7 +375,14 @@
        getMenuTree({'application':value}).then((res) => {
          if (res.success) {
            this.form.resetFields(`pid`,[]);
            this.menuTreeData=res.data
            this.menuTreeData=[{
              "id": "-1",
              "parentId": "0",
              "title": "顶级",
              "value": "0",
              "pid": "0",
              "children":res.data
            }]
          } else {
            this.$message.warning(res.message)
          }

+ 8 - 1
_web/src/views/system/menu/editForm.vue

@ -405,7 +405,14 @@
        getMenuTree({'application':value}).then((res) => {
          if (res.success) {
            this.form.resetFields(`pid`,[]);
            this.menuTreeData=res.data
            this.menuTreeData=[{
              "id": "-1",
              "parentId": "0",
              "title": "顶级",
              "value": "0",
              "pid": "0",
              "children":res.data
            }]
          } else {
            this.$message.warning(res.message)
          }

+ 12 - 1
_web/src/views/system/org/addForm.vue

@ -104,8 +104,19 @@
       */
      getOrgTree(){
        getOrgTree().then((res) => {
          this.orgTree=res.data
          this.formLoading = false
          if(!res.success){
            this.orgTree=[]
            return
          }
          this.orgTree=[{
            "id": "-1",
            "parentId": "0",
            "title": "顶级",
            "value": "0",
            "pid": "0",
            "children":res.data
          }]
        })
      },

+ 12 - 1
_web/src/views/system/org/editForm.vue

@ -126,8 +126,19 @@
       */
      getOrgTree(){
        getOrgTree().then((res) => {
          this.orgTree=res.data
          this.formLoading = false
          if(!res.success){
            this.orgTree=[]
            return
          }
          this.orgTree=[{
            "id": "-1",
            "parentId": "0",
            "title": "顶级",
            "value": "0",
            "pid": "0",
            "children":res.data
          }]
        })
      },